Interface ILcdEditableMS2525bCoded

All Superinterfaces:
Cloneable, ILcdCloneable, ILcdMS2525bCoded
All Known Subinterfaces:
ILcdEditableMS2525bShape
All Known Implementing Classes:
TLcdEditableMS2525bObject

public interface ILcdEditableMS2525bCoded extends ILcdMS2525bCoded, ILcdCloneable
This interface represents an ILcdMS2525bCoded that can be edited.
Refer to the default implementation, TLcdEditableMS2525bObject, for convenience operations to facilitate the inspection and manipulation of MIL-STD 2525 symbols.
  • Method Details

    • setMS2525Code

      void setMS2525Code(String aCode)
      Sets the symbol code.
      Parameters:
      aCode - the symbol code.
    • putTextModifier

      void putTextModifier(String aModifierKey, String aModifierValue)
      Adds the given value of the text modifier with the given key.
      Parameters:
      aModifierKey - the key of the text modifier to add.
      aModifierValue - the value of the text modifier to add.
      Throws:
      IllegalArgumentException - if the symbol does not support the given modifier
    • clone

      Object clone()
      Description copied from interface: ILcdCloneable

      Makes Object.clone() public.

      When for example extending from java.lang.Object, it can be implemented like this:
      
       public Object clone() {
         try {
           return super.clone();
         } catch ( CloneNotSupportedException e ) {
           // Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
           throw new RuntimeException( e );
         }
       }
       
      Specified by:
      clone in interface ILcdCloneable
      See Also: