Class TLcdEditableAPP6AObject.TextModifier

java.lang.Object
com.luciad.symbology.app6a.model.TLcdEditableAPP6AObject.TextModifier
Enclosing class:
TLcdEditableAPP6AObject

public static class TLcdEditableAPP6AObject.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

    • getName

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

      public String 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

      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

      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

      public int getLength()
      Returns the maximum amount of characters in the modifier value for text modifiers. 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

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

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

      public String toString()
      Overrides:
      toString in class Object