AnyLogic
Expand
Font size

Interface ColorConstants

All Known Implementing Classes:
UtilitiesColor

@AnyLogicInternalAPI
public interface ColorConstants

Field Summary

Modifier and TypeFieldDescription
static final ColoraliceBlue 
static final ColorANTIQUE_WHITE 
static final ColorantiqueWhite 
static final Coloraqua 
static final ColorAQUA 
static final Coloraquamarine 
static final ColorAQUAMARINE 
static final Colorazure 
static final ColorAZURE 
static final Colorbeige 
static final ColorBEIGE 
static final Colorbisque 
static final ColorBISQUE 
static final Colorblack 
static final ColorBLACK 
static final ColorBLANCHED_ALMOND 
static final ColorblanchedAlmond 
static final Colorblue 
static final ColorBLUE 
static final ColorBLUE_VIOLET 
static final ColorblueViolet 
static final Colorbrown 
static final ColorBROWN 
static final ColorBURLY_WOOD 
static final ColorburlyWood 
static final ColorCADET_BLUE 
static final ColorcadetBlue 
static final Colorchartreuse 
static final ColorCHARTREUSE 
static final Colorchocolate 
static final ColorCHOCOLATE 
static final ColorCONTROL_DEFAULT 
static final ColorcontrolDefault
This symbolic name is used to identify the default color when setting colors of controls (ShapeButton, ShapeCheckBox etc.)
This constant may only be used in constructors, setters and getters of those controls.
static final Colorcoral 
static final ColorCORAL 
static final ColorCORNFLOWER_BLUE 
static final ColorcornflowerBlue 
static final Colorcornsilk 
static final ColorCORNSILK 
static final Colorcrimson 
static final ColorCRIMSON 
static final Colorcyan 
static final ColorCYAN 
static final ColorDARK_BLUE 
static final ColorDARK_CYAN 
static final ColorDARK_GOLDENROD 
static final ColorDARK_GRAY 
static final ColorDARK_GREEN 
static final ColorDARK_KHAKI 
static final ColorDARK_MAGENTA 
static final ColorDARK_OLIVE_GREEN 
static final ColorDARK_ORANGE 
static final ColorDARK_ORCHID 
static final ColorDARK_RED 
static final ColorDARK_SALMON 
static final ColorDARK_SEA_GREEN 
static final ColorDARK_SLATE_BLUE 
static final ColorDARK_SLATE_GRAY 
static final ColorDARK_TURQUOISE 
static final ColorDARK_VIOLET 
static final ColordarkBlue 
static final ColordarkCyan 
static final ColordarkGoldenRod 
static final ColordarkGray 
static final ColordarkGreen 
static final ColordarkKhaki 
static final ColordarkMagenta 
static final ColordarkOliveGreen 
static final ColordarkOrange 
static final ColordarkOrchid 
static final ColordarkRed 
static final ColordarkSalmon 
static final ColordarkSeaGreen 
static final ColordarkSlateBlue 
static final ColordarkSlateGray 
static final ColordarkTurquoise 
static final ColordarkViolet 
static final ColorDEEP_PINK 
static final ColorDEEP_SKY_BLUE 
static final ColordeepPink 
static final ColordeepSkyBlue 
static final ColordefaultElevatorWallsColor 
static final ColordefaultGisFillColor 
static final ColordefaultGisLineColor 
static final ColorDIM_GRAY 
static final ColordimGray 
static final ColorDODGER_BLUE 
static final ColordodgerBlue 
static final Colorfeldspar 
static final ColorFELDSPAR 
static final ColorFIRE_BRICK 
static final ColorfireBrick 
static final ColorFLORAL_WHITE 
static final ColorfloralWhite 
static final ColorFOREST_GREEN 
static final ColorforestGreen 
static final Colorfuchsia 
static final ColorFUCHSIA 
static final Colorgainsboro 
static final ColorGAINSBORO 
static final ColorGHOST_WHITE 
static final ColorghostWhite 
static final Colorgold 
static final ColorGOLD 
static final ColorGOLDEN_ROD 
static final ColorgoldenRod 
static final Colorgray 
static final ColorGRAY 
static final Colorgreen 
static final ColorGREEN 
static final ColorGREEN_YELLOW 
static final ColorgreenYellow 
static final ColorHONEY_DEW 
static final ColorhoneyDew 
static final ColorHOT_PINK 
static final ColorhotPink 
static final ColorINDIAN_RED 
static final ColorindianRed 
static final Colorindigo 
static final ColorINDIGO 
static final Colorivory 
static final ColorIVORY 
static final Colorkhaki 
static final ColorKHAKI 
static final Colorlavender 
static final ColorLAVENDER 
static final ColorLAVENDER_BLUSH 
static final ColorlavenderBlush 
static final ColorLAWN_GREEN 
static final ColorlawnGreen 
static final ColorLEMON_CHIFFON 
static final ColorlemonChiffon 
static final ColorLIGHT_BLUE 
static final ColorLIGHT_CORAL 
static final ColorLIGHT_CYAN 
static final ColorLIGHT_GOLDEN_ROD_YELLOW 
static final ColorLIGHT_GREEN 
static final ColorLIGHT_GREY 
static final ColorLIGHT_PINK 
static final ColorLIGHT_SALMON 
static final ColorLIGHT_SEA_GREEN 
static final ColorLIGHT_SKY_BLUE 
static final ColorLIGHT_SLATE_BLUE 
static final ColorLIGHT_SLATE_GRAY 
static final ColorLIGHT_STEEL_BLUE 
static final ColorLIGHT_YELLOW 
static final ColorlightBlue 
static final ColorlightCoral 
static final ColorlightCyan 
static final ColorlightGoldenRodYellow 
static final ColorlightGreen 
static final ColorlightGrey 
static final ColorlightPink 
static final ColorlightSalmon 
static final ColorlightSeaGreen 
static final ColorlightSkyBlue 
static final ColorlightSlateBlue 
static final ColorlightSlateGray 
static final ColorlightSteelBlue 
static final ColorlightYellow 
static final Colorlime 
static final ColorLIME 
static final ColorLIME_GREEN 
static final ColorlimeGreen 
static final Colorlinen 
static final ColorLINEN 
static final Colormagenta 
static final ColorMAGENTA 
static final ColormarkupDefaultBulkConveyorBelt 
static final ColormarkupDefaultConveyorSpurFillColor 
static final ColormarkupDefaultConveyorSpurLineColor 
static final ColormarkupDefaultLiftFillColor 
static final ColormarkupDefaultLiftLineColor 
static final ColormarkupDefaultMaterialHandling 
static final ColormarkupDefaultNetwork 
static final ColormarkupDefaultPedestrian 
static final ColormarkupDefaultPedestrianReverse 
static final ColormarkupDefaultPipe 
static final ColormarkupDefaultPointOnTrack 
static final ColormarkupDefaultStorageTank 
static final ColormarkupDefaultSwitch 
static final ColormarkupDefaultSwitchPath 
static final ColormarkupDefaultSwitchSelection
Deprecated.
will be removed in next releases, use markupDefaultSwitchPath instead
static final ColormarkupDefaultTrack 
static final ColormarkupDefaultWall 
static final Colormaroon 
static final ColorMAROON 
static final intMAX_COLORS
The number of (different) standard colors.
static final ColorMEDIUM_AQUA_MARINE 
static final ColorMEDIUM_BLUE 
static final ColorMEDIUM_ORCHID 
static final ColorMEDIUM_PURPLE 
static final ColorMEDIUM_SEAGREEN 
static final ColorMEDIUM_SLATEBLUE 
static final ColorMEDIUM_SPRINGGREEN 
static final ColorMEDIUM_TURQUOISE 
static final ColorMEDIUM_VIOLETRED 
static final ColormediumAquaMarine 
static final ColormediumBlue 
static final ColormediumOrchid 
static final ColormediumPurple 
static final ColormediumSeaGreen 
static final ColormediumSlateBlue 
static final ColormediumSpringGreen 
static final ColormediumTurquoise 
static final ColormediumVioletRed 
static final ColorMIDNIGHT_BLUE 
static final ColormidnightBlue 
static final ColorMINT_CREAM 
static final ColormintCream 
static final ColorMISTY_ROSE 
static final ColormistyRose 
static final Colormoccasin 
static final ColorMOCCASIN 
static final ColorNAVAJO_WHITE 
static final ColornavajoWhite 
static final Colornavy 
static final ColorNAVY 
static final ColorOLD_LACE 
static final ColoroldLace 
static final Colorolive 
static final ColorOLIVE 
static final ColorOLIVE_DRAB 
static final ColoroliveDrab 
static final Colororange 
static final ColorORANGE 
static final ColorORANGE_RED 
static final ColororangeRed 
static final Colororchid 
static final ColorORCHID 
static final ColorPALE_GOLDEN_ROD 
static final ColorPALE_GREEN 
static final ColorPALE_TURQUOISE 
static final ColorPALE_VIOLET_RED 
static final ColorpaleGoldenRod 
static final ColorpaleGreen 
static final ColorpaleTurquoise 
static final ColorpaleVioletRed 
static final ColorPAPAYA_WHIP 
static final ColorpapayaWhip 
static final ColorPEACH_PUFF 
static final ColorpeachPuff 
static final Colorperu 
static final ColorPERU 
static final Colorpink 
static final ColorPINK 
static final Colorplum 
static final ColorPLUM 
static final ColorPOWDER_BLUE 
static final ColorpowderBlue 
static final Colorpurple 
static final ColorPURPLE 
static final Colorred 
static final ColorRED 
static final ColorROSY_BROWN 
static final ColorrosyBrown 
static final ColorROYAL_BLUE 
static final ColorroyalBlue 
static final ColorSADDLE_BROWN 
static final ColorsaddleBrown 
static final Colorsalmon 
static final ColorSALMON 
static final ColorSANDY_BROWN 
static final ColorsandyBrown 
static final ColorSEA_GREEN 
static final ColorSEA_SHELL 
static final ColorseaGreen 
static final ColorseaShell 
static final Colorsienna 
static final ColorSIENNA 
static final Colorsilver 
static final ColorSILVER 
static final ColorSKY_BLUE 
static final ColorskyBlue 
static final ColorSLATE_BLUE 
static final ColorSLATE_GRAY 
static final ColorslateBlue 
static final ColorslateGray 
static final Colorsnow 
static final ColorSNOW 
static final ColorSPRING_GREEN 
static final ColorspringGreen 
static final ColorSTEEL_BLUE 
static final ColorsteelBlue 
static final Colortan 
static final ColorTAN 
static final ColorteaGreen 
static final Colorteal 
static final ColorTEAL 
static final Colorthistle 
static final ColorTHISTLE 
static final Colortomato 
static final ColorTOMATO 
static final Colortransparent 
static final ColorTRANSPARENT 
static final Colorturquoise 
static final ColorTURQUOISE 
static final ColoruranianBlue 
static final Colorviolet 
static final ColorVIOLET 
static final ColorVIOLET_RED 
static final ColorvioletRed 
static final Colorwheat 
static final ColorWHEAT 
static final Colorwhite 
static final ColorWHITE 
static final ColorWHITE_SMOKE 
static final ColorwhiteSmoke 
static final Coloryellow 
static final ColorYELLOW 
static final ColorYELLOW_GREEN 
static final ColoryellowGreen 

Method Summary

Modifier and TypeMethodDescription
static StringintColorConstantToString(int intc)
Checks if the int argument equals to any of the pre-defined Color constants and if yes returns the name of the constant, otherwise returns null.
static IntegerstringColorConstantToInt(String colorConstant) 

Field Details

MAX_COLORS

static final int MAX_COLORS
The number of (different) standard colors.
See Also:
Constant Field Values

antiqueWhite

static final Color antiqueWhite

ANTIQUE_WHITE

@AnyLogicLegacyAPI
static final Color ANTIQUE_WHITE

aqua

static final Color aqua

AQUA

@AnyLogicLegacyAPI
static final Color AQUA

aquamarine

static final Color aquamarine

AQUAMARINE

@AnyLogicLegacyAPI
static final Color AQUAMARINE

azure

static final Color azure

AZURE

@AnyLogicLegacyAPI
static final Color AZURE

beige

static final Color beige

BEIGE

@AnyLogicLegacyAPI
static final Color BEIGE

bisque

static final Color bisque

BISQUE

@AnyLogicLegacyAPI
static final Color BISQUE

black

static final Color black

BLACK

@AnyLogicLegacyAPI
static final Color BLACK

blanchedAlmond

static final Color blanchedAlmond

BLANCHED_ALMOND

@AnyLogicLegacyAPI
static final Color BLANCHED_ALMOND

blue

static final Color blue

BLUE

@AnyLogicLegacyAPI
static final Color BLUE

blueViolet

static final Color blueViolet

BLUE_VIOLET

@AnyLogicLegacyAPI
static final Color BLUE_VIOLET

brown

static final Color brown

BROWN

@AnyLogicLegacyAPI
static final Color BROWN

burlyWood

static final Color burlyWood

BURLY_WOOD

@AnyLogicLegacyAPI
static final Color BURLY_WOOD

cadetBlue

static final Color cadetBlue

CADET_BLUE

@AnyLogicLegacyAPI
static final Color CADET_BLUE

chartreuse

static final Color chartreuse

CHARTREUSE

@AnyLogicLegacyAPI
static final Color CHARTREUSE

chocolate

static final Color chocolate

CHOCOLATE

@AnyLogicLegacyAPI
static final Color CHOCOLATE

coral

static final Color coral

CORAL

@AnyLogicLegacyAPI
static final Color CORAL

cornflowerBlue

static final Color cornflowerBlue

CORNFLOWER_BLUE

@AnyLogicLegacyAPI
static final Color CORNFLOWER_BLUE

cornsilk

static final Color cornsilk

CORNSILK

@AnyLogicLegacyAPI
static final Color CORNSILK

crimson

static final Color crimson

CRIMSON

@AnyLogicLegacyAPI
static final Color CRIMSON

cyan

static final Color cyan

CYAN

@AnyLogicLegacyAPI
static final Color CYAN

darkBlue

static final Color darkBlue

DARK_BLUE

@AnyLogicLegacyAPI
static final Color DARK_BLUE

darkCyan

static final Color darkCyan

DARK_CYAN

@AnyLogicLegacyAPI
static final Color DARK_CYAN

darkGoldenRod

static final Color darkGoldenRod

DARK_GOLDENROD

@AnyLogicLegacyAPI
static final Color DARK_GOLDENROD

darkGray

static final Color darkGray

DARK_GRAY

@AnyLogicLegacyAPI
static final Color DARK_GRAY

darkGreen

static final Color darkGreen

DARK_GREEN

@AnyLogicLegacyAPI
static final Color DARK_GREEN

darkKhaki

static final Color darkKhaki

DARK_KHAKI

@AnyLogicLegacyAPI
static final Color DARK_KHAKI

darkMagenta

static final Color darkMagenta

DARK_MAGENTA

@AnyLogicLegacyAPI
static final Color DARK_MAGENTA

darkOliveGreen

static final Color darkOliveGreen

DARK_OLIVE_GREEN

@AnyLogicLegacyAPI
static final Color DARK_OLIVE_GREEN

darkOrange

static final Color darkOrange

DARK_ORANGE

@AnyLogicLegacyAPI
static final Color DARK_ORANGE

darkOrchid

static final Color darkOrchid

DARK_ORCHID

@AnyLogicLegacyAPI
static final Color DARK_ORCHID

darkRed

static final Color darkRed

DARK_RED

@AnyLogicLegacyAPI
static final Color DARK_RED

darkSalmon

static final Color darkSalmon

DARK_SALMON

@AnyLogicLegacyAPI
static final Color DARK_SALMON

darkSeaGreen

static final Color darkSeaGreen

DARK_SEA_GREEN

@AnyLogicLegacyAPI
static final Color DARK_SEA_GREEN

darkSlateBlue

static final Color darkSlateBlue

DARK_SLATE_BLUE

@AnyLogicLegacyAPI
static final Color DARK_SLATE_BLUE

darkSlateGray

static final Color darkSlateGray

DARK_SLATE_GRAY

@AnyLogicLegacyAPI
static final Color DARK_SLATE_GRAY

darkTurquoise

static final Color darkTurquoise

DARK_TURQUOISE

@AnyLogicLegacyAPI
static final Color DARK_TURQUOISE

darkViolet

static final Color darkViolet

DARK_VIOLET

@AnyLogicLegacyAPI
static final Color DARK_VIOLET

deepPink

static final Color deepPink

DEEP_PINK

@AnyLogicLegacyAPI
static final Color DEEP_PINK

deepSkyBlue

static final Color deepSkyBlue

DEEP_SKY_BLUE

@AnyLogicLegacyAPI
static final Color DEEP_SKY_BLUE

dimGray

static final Color dimGray

DIM_GRAY

@AnyLogicLegacyAPI
static final Color DIM_GRAY

dodgerBlue

static final Color dodgerBlue

DODGER_BLUE

@AnyLogicLegacyAPI
static final Color DODGER_BLUE

feldspar

static final Color feldspar

FELDSPAR

@AnyLogicLegacyAPI
static final Color FELDSPAR

fireBrick

static final Color fireBrick

FIRE_BRICK

@AnyLogicLegacyAPI
static final Color FIRE_BRICK

floralWhite

static final Color floralWhite

FLORAL_WHITE

@AnyLogicLegacyAPI
static final Color FLORAL_WHITE

forestGreen

static final Color forestGreen

FOREST_GREEN

@AnyLogicLegacyAPI
static final Color FOREST_GREEN

fuchsia

static final Color fuchsia

FUCHSIA

@AnyLogicLegacyAPI
static final Color FUCHSIA

gainsboro

static final Color gainsboro

GAINSBORO

@AnyLogicLegacyAPI
static final Color GAINSBORO

ghostWhite

static final Color ghostWhite

GHOST_WHITE

@AnyLogicLegacyAPI
static final Color GHOST_WHITE

gold

static final Color gold

GOLD

@AnyLogicLegacyAPI
static final Color GOLD

goldenRod

static final Color goldenRod

GOLDEN_ROD

@AnyLogicLegacyAPI
static final Color GOLDEN_ROD

gray

static final Color gray

GRAY

@AnyLogicLegacyAPI
static final Color GRAY

green

static final Color green

GREEN

@AnyLogicLegacyAPI
static final Color GREEN

greenYellow

static final Color greenYellow

GREEN_YELLOW

@AnyLogicLegacyAPI
static final Color GREEN_YELLOW

honeyDew

static final Color honeyDew

HONEY_DEW

@AnyLogicLegacyAPI
static final Color HONEY_DEW

hotPink

static final Color hotPink

HOT_PINK

@AnyLogicLegacyAPI
static final Color HOT_PINK

indianRed

static final Color indianRed

INDIAN_RED

@AnyLogicLegacyAPI
static final Color INDIAN_RED

indigo

static final Color indigo

INDIGO

@AnyLogicLegacyAPI
static final Color INDIGO

ivory

static final Color ivory

IVORY

@AnyLogicLegacyAPI
static final Color IVORY

khaki

static final Color khaki

KHAKI

@AnyLogicLegacyAPI
static final Color KHAKI

lavender

static final Color lavender

LAVENDER

@AnyLogicLegacyAPI
static final Color LAVENDER

lavenderBlush

static final Color lavenderBlush

LAVENDER_BLUSH

@AnyLogicLegacyAPI
static final Color LAVENDER_BLUSH

lawnGreen

static final Color lawnGreen

LAWN_GREEN

@AnyLogicLegacyAPI
static final Color LAWN_GREEN

lemonChiffon

static final Color lemonChiffon

LEMON_CHIFFON

@AnyLogicLegacyAPI
static final Color LEMON_CHIFFON

lightBlue

static final Color lightBlue

LIGHT_BLUE

@AnyLogicLegacyAPI
static final Color LIGHT_BLUE

lightCoral

static final Color lightCoral

LIGHT_CORAL

@AnyLogicLegacyAPI
static final Color LIGHT_CORAL

lightCyan

static final Color lightCyan

LIGHT_CYAN

@AnyLogicLegacyAPI
static final Color LIGHT_CYAN

lightGoldenRodYellow

static final Color lightGoldenRodYellow

LIGHT_GOLDEN_ROD_YELLOW

@AnyLogicLegacyAPI
static final Color LIGHT_GOLDEN_ROD_YELLOW

lightGrey

static final Color lightGrey

LIGHT_GREY

@AnyLogicLegacyAPI
static final Color LIGHT_GREY

lightGreen

static final Color lightGreen

LIGHT_GREEN

@AnyLogicLegacyAPI
static final Color LIGHT_GREEN

lightPink

static final Color lightPink

LIGHT_PINK

@AnyLogicLegacyAPI
static final Color LIGHT_PINK

lightSalmon

static final Color lightSalmon

LIGHT_SALMON

@AnyLogicLegacyAPI
static final Color LIGHT_SALMON

lightSeaGreen

static final Color lightSeaGreen

LIGHT_SEA_GREEN

@AnyLogicLegacyAPI
static final Color LIGHT_SEA_GREEN

lightSkyBlue

static final Color lightSkyBlue

LIGHT_SKY_BLUE

@AnyLogicLegacyAPI
static final Color LIGHT_SKY_BLUE

lightSlateBlue

static final Color lightSlateBlue

LIGHT_SLATE_BLUE

@AnyLogicLegacyAPI
static final Color LIGHT_SLATE_BLUE

lightSlateGray

static final Color lightSlateGray

LIGHT_SLATE_GRAY

@AnyLogicLegacyAPI
static final Color LIGHT_SLATE_GRAY

lightSteelBlue

static final Color lightSteelBlue

LIGHT_STEEL_BLUE

@AnyLogicLegacyAPI
static final Color LIGHT_STEEL_BLUE

lightYellow

static final Color lightYellow

LIGHT_YELLOW

@AnyLogicLegacyAPI
static final Color LIGHT_YELLOW

lime

static final Color lime

LIME

@AnyLogicLegacyAPI
static final Color LIME

limeGreen

static final Color limeGreen

LIME_GREEN

@AnyLogicLegacyAPI
static final Color LIME_GREEN

linen

static final Color linen

LINEN

@AnyLogicLegacyAPI
static final Color LINEN

magenta

static final Color magenta

MAGENTA

@AnyLogicLegacyAPI
static final Color MAGENTA

maroon

static final Color maroon

MAROON

@AnyLogicLegacyAPI
static final Color MAROON

mediumAquaMarine

static final Color mediumAquaMarine

MEDIUM_AQUA_MARINE

@AnyLogicLegacyAPI
static final Color MEDIUM_AQUA_MARINE

mediumBlue

static final Color mediumBlue

MEDIUM_BLUE

@AnyLogicLegacyAPI
static final Color MEDIUM_BLUE

mediumOrchid

static final Color mediumOrchid

MEDIUM_ORCHID

@AnyLogicLegacyAPI
static final Color MEDIUM_ORCHID

mediumPurple

static final Color mediumPurple

MEDIUM_PURPLE

@AnyLogicLegacyAPI
static final Color MEDIUM_PURPLE

mediumSeaGreen

static final Color mediumSeaGreen

MEDIUM_SEAGREEN

@AnyLogicLegacyAPI
static final Color MEDIUM_SEAGREEN

mediumSlateBlue

static final Color mediumSlateBlue

MEDIUM_SLATEBLUE

@AnyLogicLegacyAPI
static final Color MEDIUM_SLATEBLUE

mediumSpringGreen

static final Color mediumSpringGreen

MEDIUM_SPRINGGREEN

@AnyLogicLegacyAPI
static final Color MEDIUM_SPRINGGREEN

mediumTurquoise

static final Color mediumTurquoise

MEDIUM_TURQUOISE

@AnyLogicLegacyAPI
static final Color MEDIUM_TURQUOISE

mediumVioletRed

static final Color mediumVioletRed

MEDIUM_VIOLETRED

@AnyLogicLegacyAPI
static final Color MEDIUM_VIOLETRED

midnightBlue

static final Color midnightBlue

MIDNIGHT_BLUE

@AnyLogicLegacyAPI
static final Color MIDNIGHT_BLUE

mintCream

static final Color mintCream

MINT_CREAM

@AnyLogicLegacyAPI
static final Color MINT_CREAM

mistyRose

static final Color mistyRose

MISTY_ROSE

@AnyLogicLegacyAPI
static final Color MISTY_ROSE

moccasin

static final Color moccasin

MOCCASIN

@AnyLogicLegacyAPI
static final Color MOCCASIN

oldLace

static final Color oldLace

OLD_LACE

@AnyLogicLegacyAPI
static final Color OLD_LACE

olive

static final Color olive

OLIVE

@AnyLogicLegacyAPI
static final Color OLIVE

oliveDrab

static final Color oliveDrab

OLIVE_DRAB

@AnyLogicLegacyAPI
static final Color OLIVE_DRAB

orange

static final Color orange

ORANGE

@AnyLogicLegacyAPI
static final Color ORANGE

orangeRed

static final Color orangeRed

ORANGE_RED

@AnyLogicLegacyAPI
static final Color ORANGE_RED

orchid

static final Color orchid

ORCHID

@AnyLogicLegacyAPI
static final Color ORCHID

paleGoldenRod

static final Color paleGoldenRod

PALE_GOLDEN_ROD

@AnyLogicLegacyAPI
static final Color PALE_GOLDEN_ROD

paleGreen

static final Color paleGreen

PALE_GREEN

@AnyLogicLegacyAPI
static final Color PALE_GREEN

paleTurquoise

static final Color paleTurquoise

PALE_TURQUOISE

@AnyLogicLegacyAPI
static final Color PALE_TURQUOISE

paleVioletRed

static final Color paleVioletRed

PALE_VIOLET_RED

@AnyLogicLegacyAPI
static final Color PALE_VIOLET_RED

papayaWhip

static final Color papayaWhip

PAPAYA_WHIP

@AnyLogicLegacyAPI
static final Color PAPAYA_WHIP

peachPuff

static final Color peachPuff

PEACH_PUFF

@AnyLogicLegacyAPI
static final Color PEACH_PUFF

peru

static final Color peru

PERU

@AnyLogicLegacyAPI
static final Color PERU

pink

static final Color pink

PINK

@AnyLogicLegacyAPI
static final Color PINK

plum

static final Color plum

PLUM

@AnyLogicLegacyAPI
static final Color PLUM

powderBlue

static final Color powderBlue

POWDER_BLUE

@AnyLogicLegacyAPI
static final Color POWDER_BLUE

purple

static final Color purple

PURPLE

@AnyLogicLegacyAPI
static final Color PURPLE

red

static final Color red

RED

@AnyLogicLegacyAPI
static final Color RED

rosyBrown

static final Color rosyBrown

ROSY_BROWN

@AnyLogicLegacyAPI
static final Color ROSY_BROWN

royalBlue

static final Color royalBlue

ROYAL_BLUE

@AnyLogicLegacyAPI
static final Color ROYAL_BLUE

saddleBrown

static final Color saddleBrown

SADDLE_BROWN

@AnyLogicLegacyAPI
static final Color SADDLE_BROWN

salmon

static final Color salmon

SALMON

@AnyLogicLegacyAPI
static final Color SALMON

sandyBrown

static final Color sandyBrown

SANDY_BROWN

@AnyLogicLegacyAPI
static final Color SANDY_BROWN

seaGreen

static final Color seaGreen

SEA_GREEN

@AnyLogicLegacyAPI
static final Color SEA_GREEN

seaShell

static final Color seaShell

SEA_SHELL

@AnyLogicLegacyAPI
static final Color SEA_SHELL

sienna

static final Color sienna

SIENNA

@AnyLogicLegacyAPI
static final Color SIENNA

silver

static final Color silver

SILVER

@AnyLogicLegacyAPI
static final Color SILVER

skyBlue

static final Color skyBlue

SKY_BLUE

@AnyLogicLegacyAPI
static final Color SKY_BLUE

slateBlue

static final Color slateBlue

SLATE_BLUE

@AnyLogicLegacyAPI
static final Color SLATE_BLUE

slateGray

static final Color slateGray

SLATE_GRAY

@AnyLogicLegacyAPI
static final Color SLATE_GRAY

snow

static final Color snow

SNOW

@AnyLogicLegacyAPI
static final Color SNOW

springGreen

static final Color springGreen

SPRING_GREEN

@AnyLogicLegacyAPI
static final Color SPRING_GREEN

steelBlue

static final Color steelBlue

STEEL_BLUE

@AnyLogicLegacyAPI
static final Color STEEL_BLUE

tan

static final Color tan

TAN

@AnyLogicLegacyAPI
static final Color TAN

teal

static final Color teal

TEAL

@AnyLogicLegacyAPI
static final Color TEAL

thistle

static final Color thistle

THISTLE

@AnyLogicLegacyAPI
static final Color THISTLE

tomato

static final Color tomato

TOMATO

@AnyLogicLegacyAPI
static final Color TOMATO

turquoise

static final Color turquoise

TURQUOISE

@AnyLogicLegacyAPI
static final Color TURQUOISE

violet

static final Color violet

VIOLET

@AnyLogicLegacyAPI
static final Color VIOLET

violetRed

static final Color violetRed

VIOLET_RED

@AnyLogicLegacyAPI
static final Color VIOLET_RED

wheat

static final Color wheat

WHEAT

@AnyLogicLegacyAPI
static final Color WHEAT

white

static final Color white

WHITE

@AnyLogicLegacyAPI
static final Color WHITE

whiteSmoke

static final Color whiteSmoke

WHITE_SMOKE

@AnyLogicLegacyAPI
static final Color WHITE_SMOKE

yellow

static final Color yellow

YELLOW

@AnyLogicLegacyAPI
static final Color YELLOW

yellowGreen

static final Color yellowGreen

YELLOW_GREEN

@AnyLogicLegacyAPI
static final Color YELLOW_GREEN

transparent

static final Color transparent

TRANSPARENT

@AnyLogicLegacyAPI
static final Color TRANSPARENT

controlDefault

static final Color controlDefault
This symbolic name is used to identify the default color when setting colors of controls (ShapeButton, ShapeCheckBox etc.)
This constant may only be used in constructors, setters and getters of those controls. For more assistance, please refer to the API documentation of corresponding controls' methods

CONTROL_DEFAULT

@AnyLogicLegacyAPI
static final Color CONTROL_DEFAULT

markupDefaultNetwork

static final Color markupDefaultNetwork

markupDefaultWall

static final Color markupDefaultWall

markupDefaultPedestrian

static final Color markupDefaultPedestrian

markupDefaultPedestrianReverse

static final Color markupDefaultPedestrianReverse

markupDefaultTrack

static final Color markupDefaultTrack

markupDefaultPipe

static final Color markupDefaultPipe

markupDefaultStorageTank

static final Color markupDefaultStorageTank

markupDefaultBulkConveyorBelt

static final Color markupDefaultBulkConveyorBelt

markupDefaultSwitch

static final Color markupDefaultSwitch

markupDefaultSwitchPath

static final Color markupDefaultSwitchPath

markupDefaultSwitchSelection

@Deprecated
static final Color markupDefaultSwitchSelection
Deprecated.
will be removed in next releases, use markupDefaultSwitchPath instead

markupDefaultPointOnTrack

static final Color markupDefaultPointOnTrack

defaultGisLineColor

static final Color defaultGisLineColor

defaultGisFillColor

static final Color defaultGisFillColor

markupDefaultLiftLineColor

static final Color markupDefaultLiftLineColor

markupDefaultLiftFillColor

static final Color markupDefaultLiftFillColor

markupDefaultConveyorSpurFillColor

static final Color markupDefaultConveyorSpurFillColor

markupDefaultConveyorSpurLineColor

static final Color markupDefaultConveyorSpurLineColor

markupDefaultMaterialHandling

static final Color markupDefaultMaterialHandling

defaultElevatorWallsColor

static final Color defaultElevatorWallsColor

teaGreen

static final Color teaGreen

aliceBlue

static final Color aliceBlue

uranianBlue

static final Color uranianBlue

Method Details

intColorConstantToString

@AnyLogicInternalAPI
static String intColorConstantToString(int intc)
Checks if the int argument equals to any of the pre-defined Color constants and if yes returns the name of the constant, otherwise returns null. Note that the pre-defined constants are all opaque, therefore if alpha value of the given color is not 255 (0xFF), it will not be recognized as standard.
Parameters:
intc - the int representation of a color
Returns:
the name of the corresponding Color constant or null

stringColorConstantToInt

@AnyLogicInternalAPI
static Integer stringColorConstantToInt(String colorConstant)