Class IconMaskResourceDataType

All Implemented Interfaces:
BuiltInDataType, DataType, Dynamic, Resource, ExtensionPoint

public class IconMaskResourceDataType extends IconResourceDataType
  • Constructor Details

    • IconMaskResourceDataType

      public IconMaskResourceDataType()
    • IconMaskResourceDataType

      public IconMaskResourceDataType(DataTypeManager dtm)
    • IconMaskResourceDataType

      protected IconMaskResourceDataType(CategoryPath path, String name, DataTypeManager dtm)
  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: DataType
      Get a String briefly describing this DataType.
      Specified by:
      getDescription in interface DataType
      Overrides:
      getDescription in class IconResourceDataType
      Returns:
      a one-liner describing this DataType.
    • getMnemonic

      public String getMnemonic(Settings settings)
      Description copied from interface: DataType
      Get the mnemonic for this DataType.
      Specified by:
      getMnemonic in interface DataType
      Overrides:
      getMnemonic in class IconResourceDataType
      Parameters:
      settings - settings which may influence the result or null
      Returns:
      the mnemonic for this DataType.
    • clone

      public DataType clone(DataTypeManager dtm)
      Description copied from interface: DataType
      Returns an instance of this DataType using the specified DataTypeManager to allow its use of the corresponding DataOrganization while retaining its unique identity (see DataType.getUniversalID() and archive association (see DataType.getSourceArchive()) if applicable.

      This instance will be returned if this datatype's DataTypeManager matches the specified dtm. The recursion depth of a clone will stop on any datatype whose DataTypeManager matches the specified dtm and simply use the existing datatype instance.

      NOTE: In general, this method should not be used to obtain an instance to be modified. In most cases changes may be made directly to this instance if supported or to a DataType.copy(DataTypeManager) of this type.

      Specified by:
      clone in interface DataType
      Overrides:
      clone in class IconResourceDataType
      Parameters:
      dtm - the data-type manager instance whose data-organization should apply.
      Returns:
      cloned instance which may be the same as this instance