Enum Class Color

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

public enum Color extends Enum<Color>
This enum type is generated from XML, UID 463, marshal size 8; Color has 160 enumerations total. The color values 1 to 15 are defined in the HTML 3.0 specification; color values 20 to 159 are defined in the SVG 1.0 specification
See Also:
  • Enum Constant Details

    • NOT_SPECIFIED

      public static final Color NOT_SPECIFIED
      Not Specified
    • WHITE_VGA

      public static final Color WHITE_VGA
      White VGA
    • RED_VGA

      public static final Color RED_VGA
      Red VGA
    • YELLOW_VGA

      public static final Color YELLOW_VGA
      Yellow VGA
    • LIME_VGA

      public static final Color LIME_VGA
      Lime VGA
    • CYAN_VGA

      public static final Color CYAN_VGA
      Cyan VGA
    • BLUE_VGA

      public static final Color BLUE_VGA
      Blue VGA
    • MAGENTA_VGA

      public static final Color MAGENTA_VGA
      Magenta VGA
    • GREY_VGA

      public static final Color GREY_VGA
      Grey VGA
    • SILVER_VGA

      public static final Color SILVER_VGA
      Silver VGA
    • MAROON_VGA

      public static final Color MAROON_VGA
      Maroon VGA
    • OLIVE_VGA

      public static final Color OLIVE_VGA
      Olive VGA
    • GREEN_VGA

      public static final Color GREEN_VGA
      Green VGA
    • TEAL_VGA

      public static final Color TEAL_VGA
      Teal VGA
    • PURPLE_VGA

      public static final Color PURPLE_VGA
      Purple VGA
    • RESERVED

      public static final Color RESERVED
      Reserved
    • RESERVED_2

      public static final Color RESERVED_2
      Reserved
    • RESERVED_3

      public static final Color RESERVED_3
      Reserved
    • RESERVED_4

      public static final Color RESERVED_4
      Reserved
    • BLACK

      public static final Color BLACK
      Black
    • DARK_BLUE

      public static final Color DARK_BLUE
      Dark Blue
    • MEDIUM_BLUE

      public static final Color MEDIUM_BLUE
      Medium Blue
    • BLUE

      public static final Color BLUE
      Blue
    • DARK_GREEN

      public static final Color DARK_GREEN
      Dark Green
    • GREEN

      public static final Color GREEN
      Green
    • TEAL

      public static final Color TEAL
      Teal
    • IDENTIFICATION_FRIEND_OR_FOE

      public static final Color IDENTIFICATION_FRIEND_OR_FOE
      Dark Cyan
    • DEEP_SKY_BLUE

      public static final Color DEEP_SKY_BLUE
      Deep Sky Blue
    • SUPPLEMENTAL_EMISSION_ENTITY_STATE

      public static final Color SUPPLEMENTAL_EMISSION_ENTITY_STATE
      Dark Turquoise
    • MEDIUM_SPRING_GREEN

      public static final Color MEDIUM_SPRING_GREEN
      Medium Spring Green
    • LIME

      public static final Color LIME
      Lime
    • SPRING_GREEN

      public static final Color SPRING_GREEN
      Spring Green
    • CYAN

      public static final Color CYAN
      Cyan
    • MIDNIGHT_BLUE

      public static final Color MIDNIGHT_BLUE
      Midnight Blue
    • DODGER_BLUE

      public static final Color DODGER_BLUE
      Dodger Blue
    • LIGHT_SEA_GREEN

      public static final Color LIGHT_SEA_GREEN
      Light Sea Green
    • FOREST_GREEN

      public static final Color FOREST_GREEN
      Forest Green
    • SEA_GREEN

      public static final Color SEA_GREEN
      Sea Green
    • DARK_SLATE_GRAY

      public static final Color DARK_SLATE_GRAY
      Dark Slate Gray
    • LIME_GREEN

      public static final Color LIME_GREEN
      Lime Green
    • MEDIUM_SEA_GREEN

      public static final Color MEDIUM_SEA_GREEN
      Medium Sea Green
    • TURQUOISE

      public static final Color TURQUOISE
      Turquoise
    • ROYAL_BLUE

      public static final Color ROYAL_BLUE
      Royal Blue
    • STEEL_BLUE

      public static final Color STEEL_BLUE
      Steel Blue
    • TIME_SPACE_POSITION_INFORMATION

      public static final Color TIME_SPACE_POSITION_INFORMATION
      Dark Slate Blue
    • MEDIUM_TURQUOISE

      public static final Color MEDIUM_TURQUOISE
      Medium Turquoise
    • INDIGO

      public static final Color INDIGO
      Indigo
    • LIVE_ENTITY_FIRE

      public static final Color LIVE_ENTITY_FIRE
      Dark Olive Green
    • LIVE_ENTITY_DETONATION

      public static final Color LIVE_ENTITY_DETONATION
      Cadet Blue
    • CREATE_ENTITY_RELIABLE

      public static final Color CREATE_ENTITY_RELIABLE
      Cornflower Blue
    • REMOVE_ENTITY_RELIABLE

      public static final Color REMOVE_ENTITY_RELIABLE
      Medium Aquamarine
    • START_RESUME_RELIABLE

      public static final Color START_RESUME_RELIABLE
      Dim Gray
    • STOP_FREEZE_RELIABLE

      public static final Color STOP_FREEZE_RELIABLE
      Slate Blue
    • ACKNOWLEDGE_RELIABLE

      public static final Color ACKNOWLEDGE_RELIABLE
      Olive Drab
    • ACTION_REQUEST_RELIABLE

      public static final Color ACTION_REQUEST_RELIABLE
      Slate Gray
    • ACTION_RESPONSE_RELIABLE

      public static final Color ACTION_RESPONSE_RELIABLE
      Light Slate Gray
    • DATA_QUERY_RELIABLE

      public static final Color DATA_QUERY_RELIABLE
      Medium Slate Blue
    • SET_DATA_RELIABLE

      public static final Color SET_DATA_RELIABLE
      Lawn Green
    • DATA_RELIABLE

      public static final Color DATA_RELIABLE
      Chartreuse
    • EVENT_REPORT_RELIABLE

      public static final Color EVENT_REPORT_RELIABLE
      Aquamarine
    • COMMENT_RELIABLE

      public static final Color COMMENT_RELIABLE
      Maroon
    • RECORD_RELIABLE

      public static final Color RECORD_RELIABLE
      Purple
    • SET_RECORD_RELIABLE

      public static final Color SET_RECORD_RELIABLE
      Olive
    • RECORD_QUERY_RELIABLE

      public static final Color RECORD_QUERY_RELIABLE
      Gray
    • GREY

      public static final Color GREY
      Grey
    • SKY_BLUE

      public static final Color SKY_BLUE
      Sky Blue
    • LIGHT_SKY_BLUE

      public static final Color LIGHT_SKY_BLUE
      Light Sky Blue
    • BLUE_VIOLET

      public static final Color BLUE_VIOLET
      Blue Violet
    • DARK_RED

      public static final Color DARK_RED
      Dark Red
    • DARK_MAGENTA

      public static final Color DARK_MAGENTA
      Dark Magenta
    • SADDLE_BROWN

      public static final Color SADDLE_BROWN
      Saddle Brown
    • DARK_SEA_GREEN

      public static final Color DARK_SEA_GREEN
      Dark Sea Green
    • LIGHT_GREEN

      public static final Color LIGHT_GREEN
      Light Green
    • MEDIUM_PURPLE

      public static final Color MEDIUM_PURPLE
      Medium Purple
    • DARK_VIOLET

      public static final Color DARK_VIOLET
      Dark Violet
    • PALE_GREEN

      public static final Color PALE_GREEN
      Pale Green
    • DARK_ORCHID

      public static final Color DARK_ORCHID
      Dark Orchid
    • YELLOW_GREEN

      public static final Color YELLOW_GREEN
      Yellow Green
    • SIENNA

      public static final Color SIENNA
      Sienna
    • BROWN

      public static final Color BROWN
      Brown
    • DARK_GRAY

      public static final Color DARK_GRAY
      Dark Gray
    • LIGHT_BLUE

      public static final Color LIGHT_BLUE
      Light Blue
    • GREEN_YELLOW

      public static final Color GREEN_YELLOW
      Green Yellow
    • PALE_TURQUOISE

      public static final Color PALE_TURQUOISE
      Pale Turquoise
    • LIGHT_STEEL_BLUE

      public static final Color LIGHT_STEEL_BLUE
      Light Steel Blue
    • POWDER_BLUE

      public static final Color POWDER_BLUE
      Powder Blue
    • FIRE_BRICK

      public static final Color FIRE_BRICK
      Fire Brick
    • DARK_GOLDEN_ROD

      public static final Color DARK_GOLDEN_ROD
      Dark Golden Rod
    • MEDIUM_ORCHID

      public static final Color MEDIUM_ORCHID
      Medium Orchid
    • ROSY_BROWN

      public static final Color ROSY_BROWN
      Rosy Brown
    • DARK_KHAKI

      public static final Color DARK_KHAKI
      Dark Khaki
    • SILVER

      public static final Color SILVER
      Silver
    • MEDIUM_VIOLET_RED

      public static final Color MEDIUM_VIOLET_RED
      Medium Violet Red
    • INDIAN_RED

      public static final Color INDIAN_RED
      Indian Red
    • PERU

      public static final Color PERU
      Peru
    • CHOCOLATE

      public static final Color CHOCOLATE
      Chocolate
    • TAN

      public static final Color TAN
      Tan
    • LIGHT_GRAY

      public static final Color LIGHT_GRAY
      Light Gray
    • PALE_VIOLET_RED

      public static final Color PALE_VIOLET_RED
      Pale Violet Red
    • THISTLE

      public static final Color THISTLE
      Thistle
    • ORCHID

      public static final Color ORCHID
      Orchid
    • GOLDEN_ROD

      public static final Color GOLDEN_ROD
      Golden Rod
    • CRIMSON

      public static final Color CRIMSON
      Crimson
    • GAINSBORO

      public static final Color GAINSBORO
      Gainsboro
    • PLUM

      public static final Color PLUM
      Plum
    • BURLY_WOOD

      public static final Color BURLY_WOOD
      Burly Wood
    • LIGHT_CYAN

      public static final Color LIGHT_CYAN
      Light Cyan
    • LAVENDER

      public static final Color LAVENDER
      Lavender
    • DARK_SALMON

      public static final Color DARK_SALMON
      Dark Salmon
    • VIOLET

      public static final Color VIOLET
      Violet
    • PALE_GOLDEN_ROD

      public static final Color PALE_GOLDEN_ROD
      Pale Golden Rod
    • LIGHT_CORAL

      public static final Color LIGHT_CORAL
      Light Coral
    • KHAKI

      public static final Color KHAKI
      Khaki
    • ALICE_BLUE

      public static final Color ALICE_BLUE
      Alice Blue
    • HONEY_DEW

      public static final Color HONEY_DEW
      Honey Dew
    • AZURE

      public static final Color AZURE
      Azure
    • SANDY_BROWN

      public static final Color SANDY_BROWN
      Sandy Brown
    • WHEAT

      public static final Color WHEAT
      Wheat
    • BEIGE

      public static final Color BEIGE
      Beige
    • WHITE_SMOKE

      public static final Color WHITE_SMOKE
      White Smoke
    • MINT_CREAM

      public static final Color MINT_CREAM
      Mint Cream
    • GHOST_WHITE

      public static final Color GHOST_WHITE
      Ghost White
    • SALMON

      public static final Color SALMON
      Salmon
    • ANTIQUE_WHITE

      public static final Color ANTIQUE_WHITE
      Antique White
    • LINEN

      public static final Color LINEN
      Linen
    • LIGHT_GOLDEN_ROD_YELLOW

      public static final Color LIGHT_GOLDEN_ROD_YELLOW
      Light Golden Rod Yellow
    • OLD_LACE

      public static final Color OLD_LACE
      Old Lace
    • RED

      public static final Color RED
      Red
    • FUCHSIA

      public static final Color FUCHSIA
      Fuchsia
    • MAGENTA

      public static final Color MAGENTA
      Magenta
    • DEEP_PINK

      public static final Color DEEP_PINK
      Deep Pink
    • ORANGE_RED

      public static final Color ORANGE_RED
      Orange Red
    • TOMATO

      public static final Color TOMATO
      Tomato
    • HOT_PINK

      public static final Color HOT_PINK
      Hot Pink
    • CORAL

      public static final Color CORAL
      Coral
    • DARK_ORANGE

      public static final Color DARK_ORANGE
      Dark Orange
    • LIGHT_SALMON

      public static final Color LIGHT_SALMON
      Light Salmon
    • ORANGE

      public static final Color ORANGE
      Orange
    • LIGHT_PINK

      public static final Color LIGHT_PINK
      Light Pink
    • PINK

      public static final Color PINK
      Pink
    • GOLD

      public static final Color GOLD
      Gold
    • PEACH_PUFF

      public static final Color PEACH_PUFF
      Peach Puff
    • MOCCASIN

      public static final Color MOCCASIN
      Moccasin
    • BISQUE

      public static final Color BISQUE
      Bisque
    • MISTY_ROSE

      public static final Color MISTY_ROSE
      Misty Rose
    • BLANCHED_ALMOND

      public static final Color BLANCHED_ALMOND
      Blanched Almond
    • PAPAYA_WHIP

      public static final Color PAPAYA_WHIP
      Papaya Whip
    • LAVENDER_BLUSH

      public static final Color LAVENDER_BLUSH
      Lavender Blush
    • SEA_SHELL

      public static final Color SEA_SHELL
      Sea Shell
    • CORNSILK

      public static final Color CORNSILK
      Cornsilk
    • LEMON_CHIFFON

      public static final Color LEMON_CHIFFON
      Lemon Chiffon
    • FLORAL_WHITE

      public static final Color FLORAL_WHITE
      Floral White
    • SNOW

      public static final Color SNOW
      Snow
    • YELLOW

      public static final Color YELLOW
      Yellow
    • LIGHT_YELLOW

      public static final Color LIGHT_YELLOW
      Light Yellow
    • IVORY

      public static final Color IVORY
      Ivory
    • WHITE

      public static final Color WHITE
      White
  • Method Details

    • values

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

      public static Color valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 Color 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 Color 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 Color 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<Color>
      Returns:
      class name, value and name