Enum PlatformPaintScheme

java.lang.Object
java.lang.Enum<PlatformPaintScheme>
edu.nps.moves.dis7.enumerations.PlatformPaintScheme
All Implemented Interfaces:
Serializable, Comparable<PlatformPaintScheme>, Constable

public enum PlatformPaintScheme extends Enum<PlatformPaintScheme>
This enum type is generated from XML, UID 620, marshal size 8; PlatformPaintScheme has 18 enumerations total.
See Also:
  • Enum Constant Details

    • DEFAULT

      public static final PlatformPaintScheme DEFAULT
      Default
    • SOLID_COLOR_PRIMARY

      public static final PlatformPaintScheme SOLID_COLOR_PRIMARY
      Solid Color (primary)
    • TWO_TONE_TOP_PRIMARY_BOTTOM_SECONDARY

      public static final PlatformPaintScheme TWO_TONE_TOP_PRIMARY_BOTTOM_SECONDARY
      Two Tone (Top Primary, Bottom Secondary)
    • TWO_TONE_BODY_PRIMARY_BED_SECONDARY

      public static final PlatformPaintScheme TWO_TONE_BODY_PRIMARY_BED_SECONDARY
      Two Tone (Body Primary, Bed Secondary)
    • TWO_TONE_BODY_PRIMARY_TRIM_SECONDARY

      public static final PlatformPaintScheme TWO_TONE_BODY_PRIMARY_TRIM_SECONDARY
      Two Tone (Body Primary, Trim Secondary)
    • CAMOUFLAGE_DESERT

      public static final PlatformPaintScheme CAMOUFLAGE_DESERT
      Camouflage, Desert
    • CAMOUFLAGE_JUNGLE

      public static final PlatformPaintScheme CAMOUFLAGE_JUNGLE
      Camouflage, Jungle
    • CAMOUFLAGE_SNOW

      public static final PlatformPaintScheme CAMOUFLAGE_SNOW
      Camouflage, Snow
    • CAMOUFLAGE_GRAVEL

      public static final PlatformPaintScheme CAMOUFLAGE_GRAVEL
      Camouflage, Gravel
    • CAMOUFLAGE_PAVEMENT

      public static final PlatformPaintScheme CAMOUFLAGE_PAVEMENT
      Camouflage, Pavement
    • CAMOUFLAGE_SAND

      public static final PlatformPaintScheme CAMOUFLAGE_SAND
      Camouflage, Sand
    • CAMOUFLAGE_FOREST

      public static final PlatformPaintScheme CAMOUFLAGE_FOREST
      Camouflage, Forest
    • NATURAL_WOOD

      public static final PlatformPaintScheme NATURAL_WOOD
      Natural Wood
    • CLEAR

      public static final PlatformPaintScheme CLEAR
      Clear
    • UNITED_NATIONS_UN

      public static final PlatformPaintScheme UNITED_NATIONS_UN
      United Nations (UN)
    • TAXI

      public static final PlatformPaintScheme TAXI
      Taxi
    • NEWS

      public static final PlatformPaintScheme NEWS
      News
    • JINGLE

      public static final PlatformPaintScheme JINGLE
      Jingle
  • Method Details

    • values

      public static PlatformPaintScheme[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PlatformPaintScheme valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Provide enumeration value
      Returns:
      integer value
    • getDescription

      public String getDescription()
      Provide enumeration description
      Returns:
      description
    • getEnumBitWidth

      public static int getEnumBitWidth()
      bit width for this enumeration
      Returns:
      number of bits wide
    • getEnumForValue

      public static PlatformPaintScheme getEnumForValue(int value)
      Provide enumeration for a given value
      Parameters:
      value - integer value of interest
      Returns:
      enumeration corresponding to numeric value
    • setTRACE

      public void setTRACE(boolean value)
      Set tracing on/off for this object
      Parameters:
      value - whether tracing is on or off
    • getTRACE

      public boolean getTRACE()
      Whether tracing is on or off for this object
      Returns:
      whether tracing is on or off
    • marshal

      public void marshal(DataOutputStream dos) throws IOException
      Marshal value to DataOutputStream
      Parameters:
      dos - DataOutputStream for output
      Throws:
      IOException - input-output error
      See Also:
    • marshal

      public void marshal(ByteBuffer byteBuffer) throws Exception
      Marshal value to ByteBuffer
      Parameters:
      byteBuffer - ByteBuffer for output
      Throws:
      IOException - input-output error
      Exception
      See Also:
    • unmarshalEnum

      public static PlatformPaintScheme unmarshalEnum(DataInputStream dis) throws Exception
      Unmarshal value to DataInputStream
      Parameters:
      dis - DataInputStream for input
      Returns:
      enumeration of interest
      Throws:
      Exception - unmarshalling input-output error
      See Also:
    • unmarshalEnum

      public static PlatformPaintScheme unmarshalEnum(ByteBuffer byteBuffer) throws Exception
      Unmarshal enumeration value to ByteBuffer
      Parameters:
      byteBuffer - ByteBuffer for input
      Returns:
      enumeration of interest
      Throws:
      Exception - unmarshalling input-output error
      See Also:
    • getMarshalledSize

      public int getMarshalledSize()
      Returns size of this serialized (marshalled) object in bytes
      Returns:
      serialized size in bytes
      See Also:
    • getName

      public String getName()
      Provide name
      Returns:
      name
    • toString

      public String toString()
      Provide simple identifier
      Overrides:
      toString in class Enum<PlatformPaintScheme>
      Returns:
      class name, value and name