megamek.common.options
Interface IOptionInfo

All Known Subinterfaces:
IOption
All Known Implementing Classes:
Option

public interface IOptionInfo

Represents GUI data to allow the user to set the option


Method Summary
 java.lang.String getDescription()
          Return verbose description of the option suitable for context help, tip etc.
 java.lang.String getDisplayableName()
          Returns the user friendly name suitable for displaying in the options editor dialogs etc.
 java.lang.String getDisplayableNameWithValue()
          Returns the user friendly name suitable for displaying in cases where not only the Name but also it value is required (like edge).
 int getTextFieldLength()
          returns the length of the textfield (how many characters).
 boolean isLabelBeforeTextField()
          returns on which side of the text field the label is.
 

Method Detail

getDisplayableName

java.lang.String getDisplayableName()
Returns the user friendly name suitable for displaying in the options editor dialogs etc.

Returns:
displayable name

getDisplayableNameWithValue

java.lang.String getDisplayableNameWithValue()
Returns the user friendly name suitable for displaying in cases where not only the Name but also it value is required (like edge).

Returns:
displayable name

getDescription

java.lang.String getDescription()
Return verbose description of the option suitable for context help, tip etc.

Returns:
option description

getTextFieldLength

int getTextFieldLength()
returns the length of the textfield (how many characters).


isLabelBeforeTextField

boolean isLabelBeforeTextField()
returns on which side of the text field the label is.