Class TLcdEditableMS2525bObject.TextModifier
java.lang.Object
com.luciad.symbology.milstd2525b.model.TLcdEditableMS2525bObject.TextModifier
- Enclosing class:
TLcdEditableMS2525bObject
Encapsulates the type and constraints of a modifier, regardless of its origin
(i.e. encoded in the symbol code (SIDC) or as a separate value).
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the display name of this modifier.getDisplayName
(String aValue) Returns a friendly name for the given enumeration value.int
Returns the maximum amount of characters in the modifier value.getName()
Returns the name of the modifier.If the modifier type is enumerated (boolean or enum), this returns the possible values.getType()
Returns the type of the modifier value.int
hashCode()
toString()
-
Method Details
-
getName
Returns the name of the modifier. This is the key used in ILcdMS2525bCoded.- Returns:
- the name of the modifier
-
getDisplayName
Returns the display name of this modifier.- Returns:
- the display name of this modifier.
-
getType
Returns the type of the modifier value.- Returns:
- the type of the modifier value
-
getPossibleValues
If the modifier type is enumerated (boolean or enum), this returns the possible values.- Returns:
- the possible values for an enumerated modifier
-
getDisplayName
Returns a friendly name for the given enumeration value.- Parameters:
aValue
- one of thegetPossibleValues()
- Returns:
- a friendly display name
-
getLength
public int getLength()Returns the maximum amount of characters in the modifier value. For SIDC modifiers, this method returns the amount of characters that this modifier occupies in the SIDC String.- Returns:
- the maximum amount of characters used for a text modifier or the amount of character in the SIDC modifier.
-
equals
-
hashCode
public int hashCode() -
toString
-