Package com.anylogic.engine.presentation
- Field Summary
- Method Summary
- Field Details
- MAX_COLORS
- antiqueWhite
- ANTIQUE_WHITE
- aqua
- AQUA
- aquamarine
- AQUAMARINE
- azure
- AZURE
- beige
- BEIGE
- bisque
- BISQUE
- black
- BLACK
- blanchedAlmond
- BLANCHED_ALMOND
- blue
- BLUE
- blueViolet
- BLUE_VIOLET
- brown
- BROWN
- burlyWood
- BURLY_WOOD
- cadetBlue
- CADET_BLUE
- chartreuse
- CHARTREUSE
- chocolate
- CHOCOLATE
- coral
- CORAL
- cornflowerBlue
- CORNFLOWER_BLUE
- cornsilk
- CORNSILK
- crimson
- CRIMSON
- cyan
- CYAN
- darkBlue
- DARK_BLUE
- darkCyan
- DARK_CYAN
- darkGoldenRod
- DARK_GOLDENROD
- darkGray
- DARK_GRAY
- darkGreen
- DARK_GREEN
- darkKhaki
- DARK_KHAKI
- darkMagenta
- DARK_MAGENTA
- darkOliveGreen
- DARK_OLIVE_GREEN
- darkOrange
- DARK_ORANGE
- darkOrchid
- DARK_ORCHID
- darkRed
- DARK_RED
- darkSalmon
- DARK_SALMON
- darkSeaGreen
- DARK_SEA_GREEN
- darkSlateBlue
- DARK_SLATE_BLUE
- darkSlateGray
- DARK_SLATE_GRAY
- darkTurquoise
- DARK_TURQUOISE
- darkViolet
- DARK_VIOLET
- deepPink
- DEEP_PINK
- deepSkyBlue
- DEEP_SKY_BLUE
- dimGray
- DIM_GRAY
- dodgerBlue
- DODGER_BLUE
- feldspar
- FELDSPAR
- fireBrick
- FIRE_BRICK
- floralWhite
- FLORAL_WHITE
- forestGreen
- FOREST_GREEN
- fuchsia
- FUCHSIA
- gainsboro
- GAINSBORO
- ghostWhite
- GHOST_WHITE
- gold
- GOLD
- goldenRod
- GOLDEN_ROD
- gray
- GRAY
- green
- GREEN
- greenYellow
- GREEN_YELLOW
- honeyDew
- HONEY_DEW
- hotPink
- HOT_PINK
- indianRed
- INDIAN_RED
- indigo
- INDIGO
- ivory
- IVORY
- khaki
- KHAKI
- lavender
- LAVENDER
- lavenderBlush
- LAVENDER_BLUSH
- lawnGreen
- LAWN_GREEN
- lemonChiffon
- LEMON_CHIFFON
- lightBlue
- LIGHT_BLUE
- lightCoral
- LIGHT_CORAL
- lightCyan
- LIGHT_CYAN
- lightGoldenRodYellow
- LIGHT_GOLDEN_ROD_YELLOW
- lightGrey
- LIGHT_GREY
- lightGreen
- LIGHT_GREEN
- lightPink
- LIGHT_PINK
- lightSalmon
- LIGHT_SALMON
- lightSeaGreen
- LIGHT_SEA_GREEN
- lightSkyBlue
- LIGHT_SKY_BLUE
- lightSlateBlue
- LIGHT_SLATE_BLUE
- lightSlateGray
- LIGHT_SLATE_GRAY
- lightSteelBlue
- LIGHT_STEEL_BLUE
- lightYellow
- LIGHT_YELLOW
- lime
- LIME
- limeGreen
- LIME_GREEN
- linen
- LINEN
- magenta
- MAGENTA
- maroon
- MAROON
- mediumAquaMarine
- MEDIUM_AQUA_MARINE
- mediumBlue
- MEDIUM_BLUE
- mediumOrchid
- MEDIUM_ORCHID
- mediumPurple
- MEDIUM_PURPLE
- mediumSeaGreen
- MEDIUM_SEAGREEN
- mediumSlateBlue
- MEDIUM_SLATEBLUE
- mediumSpringGreen
- MEDIUM_SPRINGGREEN
- mediumTurquoise
- MEDIUM_TURQUOISE
- mediumVioletRed
- MEDIUM_VIOLETRED
- midnightBlue
- MIDNIGHT_BLUE
- mintCream
- MINT_CREAM
- mistyRose
- MISTY_ROSE
- moccasin
- MOCCASIN
- navajoWhite
- NAVAJO_WHITE
- navy
- NAVY
- oldLace
- OLD_LACE
- olive
- OLIVE
- oliveDrab
- OLIVE_DRAB
- orange
- ORANGE
- orangeRed
- ORANGE_RED
- orchid
- ORCHID
- paleGoldenRod
- PALE_GOLDEN_ROD
- paleGreen
- PALE_GREEN
- paleTurquoise
- PALE_TURQUOISE
- paleVioletRed
- PALE_VIOLET_RED
- papayaWhip
- PAPAYA_WHIP
- peachPuff
- PEACH_PUFF
- peru
- PERU
- pink
- PINK
- plum
- PLUM
- powderBlue
- POWDER_BLUE
- purple
- PURPLE
- red
- RED
- rosyBrown
- ROSY_BROWN
- royalBlue
- ROYAL_BLUE
- saddleBrown
- SADDLE_BROWN
- salmon
- SALMON
- sandyBrown
- SANDY_BROWN
- seaGreen
- SEA_GREEN
- seaShell
- SEA_SHELL
- sienna
- SIENNA
- silver
- SILVER
- skyBlue
- SKY_BLUE
- slateBlue
- SLATE_BLUE
- slateGray
- SLATE_GRAY
- snow
- SNOW
- springGreen
- SPRING_GREEN
- steelBlue
- STEEL_BLUE
- tan
- TAN
- teal
- TEAL
- thistle
- THISTLE
- tomato
- TOMATO
- turquoise
- TURQUOISE
- violet
- VIOLET
- violetRed
- VIOLET_RED
- wheat
- WHEAT
- white
- WHITE
- whiteSmoke
- WHITE_SMOKE
- yellow
- YELLOW
- yellowGreen
- YELLOW_GREEN
- transparent
- TRANSPARENT
- controlDefault
- CONTROL_DEFAULT
- markupDefaultNetwork
- markupDefaultWall
- markupDefaultPedestrian
- markupDefaultPedestrianReverse
- markupDefaultTrack
- markupDefaultPipe
- markupDefaultStorageTank
- markupDefaultBulkConveyorBelt
- markupDefaultSwitch
- markupDefaultSwitchPath
- markupDefaultSwitchSelection
- markupDefaultPointOnTrack
- defaultGisLineColor
- defaultGisFillColor
- markupDefaultLiftLineColor
- markupDefaultLiftFillColor
- markupDefaultConveyorSpurFillColor
- markupDefaultConveyorSpurLineColor
- markupDefaultMaterialHandling
- defaultElevatorWallsColor
- teaGreen
- aliceBlue
- uranianBlue
- Method Details
- All Known Implementing Classes:
UtilitiesColor
@AnyLogicInternalAPI public interface ColorConstants
Modifier and Type | Method | Description |
---|---|---|
static String | intColorConstantToString |
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 Integer | stringColorConstantToInt |
static final int MAX_COLORS
The number of (different) standard colors.
- See Also:
- Constant Field Values
static final Color antiqueWhite
@AnyLogicLegacyAPI static final Color ANTIQUE_WHITE
static final Color aqua
@AnyLogicLegacyAPI static final Color AQUA
static final Color aquamarine
@AnyLogicLegacyAPI static final Color AQUAMARINE
static final Color azure
@AnyLogicLegacyAPI static final Color AZURE
static final Color beige
@AnyLogicLegacyAPI static final Color BEIGE
static final Color bisque
@AnyLogicLegacyAPI static final Color BISQUE
static final Color black
@AnyLogicLegacyAPI static final Color BLACK
static final Color blanchedAlmond
@AnyLogicLegacyAPI static final Color BLANCHED_ALMOND
static final Color blue
@AnyLogicLegacyAPI static final Color BLUE
static final Color blueViolet
@AnyLogicLegacyAPI static final Color BLUE_VIOLET
static final Color brown
@AnyLogicLegacyAPI static final Color BROWN
static final Color burlyWood
@AnyLogicLegacyAPI static final Color BURLY_WOOD
static final Color cadetBlue
@AnyLogicLegacyAPI static final Color CADET_BLUE
static final Color chartreuse
@AnyLogicLegacyAPI static final Color CHARTREUSE
static final Color chocolate
@AnyLogicLegacyAPI static final Color CHOCOLATE
static final Color coral
@AnyLogicLegacyAPI static final Color CORAL
static final Color cornflowerBlue
@AnyLogicLegacyAPI static final Color CORNFLOWER_BLUE
static final Color cornsilk
@AnyLogicLegacyAPI static final Color CORNSILK
static final Color crimson
@AnyLogicLegacyAPI static final Color CRIMSON
static final Color cyan
@AnyLogicLegacyAPI static final Color CYAN
static final Color darkBlue
@AnyLogicLegacyAPI static final Color DARK_BLUE
static final Color darkCyan
@AnyLogicLegacyAPI static final Color DARK_CYAN
static final Color darkGoldenRod
@AnyLogicLegacyAPI static final Color DARK_GOLDENROD
static final Color darkGray
@AnyLogicLegacyAPI static final Color DARK_GRAY
static final Color darkGreen
@AnyLogicLegacyAPI static final Color DARK_GREEN
static final Color darkKhaki
@AnyLogicLegacyAPI static final Color DARK_KHAKI
static final Color darkMagenta
@AnyLogicLegacyAPI static final Color DARK_MAGENTA
static final Color darkOliveGreen
@AnyLogicLegacyAPI static final Color DARK_OLIVE_GREEN
static final Color darkOrange
@AnyLogicLegacyAPI static final Color DARK_ORANGE
static final Color darkOrchid
@AnyLogicLegacyAPI static final Color DARK_ORCHID
static final Color darkRed
@AnyLogicLegacyAPI static final Color DARK_RED
static final Color darkSalmon
@AnyLogicLegacyAPI static final Color DARK_SALMON
static final Color darkSeaGreen
@AnyLogicLegacyAPI static final Color DARK_SEA_GREEN
static final Color darkSlateBlue
@AnyLogicLegacyAPI static final Color DARK_SLATE_BLUE
static final Color darkSlateGray
@AnyLogicLegacyAPI static final Color DARK_SLATE_GRAY
static final Color darkTurquoise
@AnyLogicLegacyAPI static final Color DARK_TURQUOISE
static final Color darkViolet
@AnyLogicLegacyAPI static final Color DARK_VIOLET
static final Color deepPink
@AnyLogicLegacyAPI static final Color DEEP_PINK
static final Color deepSkyBlue
@AnyLogicLegacyAPI static final Color DEEP_SKY_BLUE
static final Color dimGray
@AnyLogicLegacyAPI static final Color DIM_GRAY
static final Color dodgerBlue
@AnyLogicLegacyAPI static final Color DODGER_BLUE
static final Color feldspar
@AnyLogicLegacyAPI static final Color FELDSPAR
static final Color fireBrick
@AnyLogicLegacyAPI static final Color FIRE_BRICK
static final Color floralWhite
@AnyLogicLegacyAPI static final Color FLORAL_WHITE
static final Color forestGreen
@AnyLogicLegacyAPI static final Color FOREST_GREEN
static final Color fuchsia
@AnyLogicLegacyAPI static final Color FUCHSIA
static final Color gainsboro
@AnyLogicLegacyAPI static final Color GAINSBORO
static final Color ghostWhite
@AnyLogicLegacyAPI static final Color GHOST_WHITE
static final Color gold
@AnyLogicLegacyAPI static final Color GOLD
static final Color goldenRod
@AnyLogicLegacyAPI static final Color GOLDEN_ROD
static final Color gray
@AnyLogicLegacyAPI static final Color GRAY
static final Color green
@AnyLogicLegacyAPI static final Color GREEN
static final Color greenYellow
@AnyLogicLegacyAPI static final Color GREEN_YELLOW
static final Color honeyDew
@AnyLogicLegacyAPI static final Color HONEY_DEW
static final Color hotPink
@AnyLogicLegacyAPI static final Color HOT_PINK
static final Color indianRed
@AnyLogicLegacyAPI static final Color INDIAN_RED
static final Color indigo
@AnyLogicLegacyAPI static final Color INDIGO
static final Color ivory
@AnyLogicLegacyAPI static final Color IVORY
static final Color khaki
@AnyLogicLegacyAPI static final Color KHAKI
static final Color lavender
@AnyLogicLegacyAPI static final Color LAVENDER
static final Color lavenderBlush
@AnyLogicLegacyAPI static final Color LAVENDER_BLUSH
static final Color lawnGreen
@AnyLogicLegacyAPI static final Color LAWN_GREEN
static final Color lemonChiffon
@AnyLogicLegacyAPI static final Color LEMON_CHIFFON
static final Color lightBlue
@AnyLogicLegacyAPI static final Color LIGHT_BLUE
static final Color lightCoral
@AnyLogicLegacyAPI static final Color LIGHT_CORAL
static final Color lightCyan
@AnyLogicLegacyAPI static final Color LIGHT_CYAN
static final Color lightGoldenRodYellow
@AnyLogicLegacyAPI static final Color LIGHT_GOLDEN_ROD_YELLOW
static final Color lightGrey
@AnyLogicLegacyAPI static final Color LIGHT_GREY
static final Color lightGreen
@AnyLogicLegacyAPI static final Color LIGHT_GREEN
static final Color lightPink
@AnyLogicLegacyAPI static final Color LIGHT_PINK
static final Color lightSalmon
@AnyLogicLegacyAPI static final Color LIGHT_SALMON
static final Color lightSeaGreen
@AnyLogicLegacyAPI static final Color LIGHT_SEA_GREEN
static final Color lightSkyBlue
@AnyLogicLegacyAPI static final Color LIGHT_SKY_BLUE
static final Color lightSlateBlue
@AnyLogicLegacyAPI static final Color LIGHT_SLATE_BLUE
static final Color lightSlateGray
@AnyLogicLegacyAPI static final Color LIGHT_SLATE_GRAY
static final Color lightSteelBlue
@AnyLogicLegacyAPI static final Color LIGHT_STEEL_BLUE
static final Color lightYellow
@AnyLogicLegacyAPI static final Color LIGHT_YELLOW
static final Color lime
@AnyLogicLegacyAPI static final Color LIME
static final Color limeGreen
@AnyLogicLegacyAPI static final Color LIME_GREEN
static final Color linen
@AnyLogicLegacyAPI static final Color LINEN
static final Color magenta
@AnyLogicLegacyAPI static final Color MAGENTA
static final Color maroon
@AnyLogicLegacyAPI static final Color MAROON
static final Color mediumAquaMarine
@AnyLogicLegacyAPI static final Color MEDIUM_AQUA_MARINE
static final Color mediumBlue
@AnyLogicLegacyAPI static final Color MEDIUM_BLUE
static final Color mediumOrchid
@AnyLogicLegacyAPI static final Color MEDIUM_ORCHID
static final Color mediumPurple
@AnyLogicLegacyAPI static final Color MEDIUM_PURPLE
static final Color mediumSeaGreen
@AnyLogicLegacyAPI static final Color MEDIUM_SEAGREEN
static final Color mediumSlateBlue
@AnyLogicLegacyAPI static final Color MEDIUM_SLATEBLUE
static final Color mediumSpringGreen
@AnyLogicLegacyAPI static final Color MEDIUM_SPRINGGREEN
static final Color mediumTurquoise
@AnyLogicLegacyAPI static final Color MEDIUM_TURQUOISE
static final Color mediumVioletRed
@AnyLogicLegacyAPI static final Color MEDIUM_VIOLETRED
static final Color midnightBlue
@AnyLogicLegacyAPI static final Color MIDNIGHT_BLUE
static final Color mintCream
@AnyLogicLegacyAPI static final Color MINT_CREAM
static final Color mistyRose
@AnyLogicLegacyAPI static final Color MISTY_ROSE
static final Color moccasin
@AnyLogicLegacyAPI static final Color MOCCASIN
@AnyLogicLegacyAPI static final Color NAVAJO_WHITE
@AnyLogicLegacyAPI static final Color NAVY
static final Color oldLace
@AnyLogicLegacyAPI static final Color OLD_LACE
static final Color olive
@AnyLogicLegacyAPI static final Color OLIVE
static final Color oliveDrab
@AnyLogicLegacyAPI static final Color OLIVE_DRAB
static final Color orange
@AnyLogicLegacyAPI static final Color ORANGE
static final Color orangeRed
@AnyLogicLegacyAPI static final Color ORANGE_RED
static final Color orchid
@AnyLogicLegacyAPI static final Color ORCHID
static final Color paleGoldenRod
@AnyLogicLegacyAPI static final Color PALE_GOLDEN_ROD
static final Color paleGreen
@AnyLogicLegacyAPI static final Color PALE_GREEN
static final Color paleTurquoise
@AnyLogicLegacyAPI static final Color PALE_TURQUOISE
static final Color paleVioletRed
@AnyLogicLegacyAPI static final Color PALE_VIOLET_RED
static final Color papayaWhip
@AnyLogicLegacyAPI static final Color PAPAYA_WHIP
static final Color peachPuff
@AnyLogicLegacyAPI static final Color PEACH_PUFF
static final Color peru
@AnyLogicLegacyAPI static final Color PERU
static final Color pink
@AnyLogicLegacyAPI static final Color PINK
static final Color plum
@AnyLogicLegacyAPI static final Color PLUM
static final Color powderBlue
@AnyLogicLegacyAPI static final Color POWDER_BLUE
static final Color purple
@AnyLogicLegacyAPI static final Color PURPLE
static final Color red
@AnyLogicLegacyAPI static final Color RED
static final Color rosyBrown
@AnyLogicLegacyAPI static final Color ROSY_BROWN
static final Color royalBlue
@AnyLogicLegacyAPI static final Color ROYAL_BLUE
static final Color saddleBrown
@AnyLogicLegacyAPI static final Color SADDLE_BROWN
static final Color salmon
@AnyLogicLegacyAPI static final Color SALMON
static final Color sandyBrown
@AnyLogicLegacyAPI static final Color SANDY_BROWN
static final Color seaGreen
@AnyLogicLegacyAPI static final Color SEA_GREEN
static final Color seaShell
@AnyLogicLegacyAPI static final Color SEA_SHELL
static final Color sienna
@AnyLogicLegacyAPI static final Color SIENNA
static final Color silver
@AnyLogicLegacyAPI static final Color SILVER
static final Color skyBlue
@AnyLogicLegacyAPI static final Color SKY_BLUE
static final Color slateBlue
@AnyLogicLegacyAPI static final Color SLATE_BLUE
static final Color slateGray
@AnyLogicLegacyAPI static final Color SLATE_GRAY
static final Color snow
@AnyLogicLegacyAPI static final Color SNOW
static final Color springGreen
@AnyLogicLegacyAPI static final Color SPRING_GREEN
static final Color steelBlue
@AnyLogicLegacyAPI static final Color STEEL_BLUE
static final Color tan
@AnyLogicLegacyAPI static final Color TAN
static final Color teal
@AnyLogicLegacyAPI static final Color TEAL
static final Color thistle
@AnyLogicLegacyAPI static final Color THISTLE
static final Color tomato
@AnyLogicLegacyAPI static final Color TOMATO
static final Color turquoise
@AnyLogicLegacyAPI static final Color TURQUOISE
static final Color violet
@AnyLogicLegacyAPI static final Color VIOLET
static final Color violetRed
@AnyLogicLegacyAPI static final Color VIOLET_RED
static final Color wheat
@AnyLogicLegacyAPI static final Color WHEAT
static final Color white
@AnyLogicLegacyAPI static final Color WHITE
static final Color whiteSmoke
@AnyLogicLegacyAPI static final Color WHITE_SMOKE
static final Color yellow
@AnyLogicLegacyAPI static final Color YELLOW
static final Color yellowGreen
@AnyLogicLegacyAPI static final Color YELLOW_GREEN
static final Color transparent
@AnyLogicLegacyAPI static final Color TRANSPARENT
static final Color controlDefault
This symbolic name is used to identify the default color when setting
colors of controls (
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
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
@AnyLogicLegacyAPI static final Color CONTROL_DEFAULT
static final Color markupDefaultNetwork
static final Color markupDefaultWall
static final Color markupDefaultPedestrian
static final Color markupDefaultPedestrianReverse
static final Color markupDefaultTrack
static final Color markupDefaultPipe
static final Color markupDefaultStorageTank
static final Color markupDefaultBulkConveyorBelt
static final Color markupDefaultSwitch
static final Color markupDefaultSwitchPath
@Deprecated static final Color markupDefaultSwitchSelection
Deprecated.
will be removed in next releases, use
markupDefaultSwitchPath
insteadstatic final Color markupDefaultPointOnTrack
static final Color defaultGisLineColor
static final Color defaultGisFillColor
static final Color markupDefaultLiftLineColor
static final Color markupDefaultLiftFillColor
static final Color markupDefaultConveyorSpurFillColor
static final Color markupDefaultConveyorSpurLineColor
static final Color markupDefaultMaterialHandling
static final Color defaultElevatorWallsColor
static final Color teaGreen
static final Color aliceBlue
static final Color uranianBlue
@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
@AnyLogicInternalAPI static Integer stringColorConstantToInt(String colorConstant)
markupDefaultSwitchPath
instead