Class TLcdEditableMS2525bObject.TextModifier

java.lang.Object
com.luciad.symbology.milstd2525b.model.TLcdEditableMS2525bObject.TextModifier
Enclosing class:
TLcdEditableMS2525bObject

public static class TLcdEditableMS2525bObject.TextModifier extends Object
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 Details Link icon

    • getName Link icon

      public String getName()
      Returns the name of the modifier. This is the key used in ILcdMS2525bCoded.
      Returns:
      the name of the modifier
    • getDisplayName Link icon

      public String getDisplayName()
      Returns the display name of this modifier.
      Returns:
      the display name of this modifier.
    • getType Link icon

      Returns the type of the modifier value.
      Returns:
      the type of the modifier value
    • getPossibleValues Link icon

      public Collection<String> getPossibleValues()
      If the modifier type is enumerated (boolean or enum), this returns the possible values.
      Returns:
      the possible values for an enumerated modifier
    • getDisplayName Link icon

      public String getDisplayName(String aValue)
      Returns a friendly name for the given enumeration value.
      Parameters:
      aValue - one of the getPossibleValues()
      Returns:
      a friendly display name
    • getLength Link icon

      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 Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object