Package org.eclipse.graphiti.util
Interface IColorConstant
-
- All Known Implementing Classes:
ColorConstant
public interface IColorConstantThe Interface IColorConstant.
-
-
Field Summary
Fields Modifier and Type Field Description static IColorConstantBLACKThe "black" color.static IColorConstantBLUEThe "blue" color.static IColorConstantCONNECTION_SELECTION_FGThe foreground selection color of a connection.static IColorConstantCYANThe "cyan" color.static IColorConstantDARK_BLUEThe "dark blue" color.static IColorConstantDARK_GRAYThe "dark gray" color.static IColorConstantDARK_GREENThe "dark green" color.static IColorConstantDARK_ORANGEThe "dark orange" color.static IColorConstantGRAYThe "gray" color.static IColorConstantGREENThe "green" color.static IColorConstantHANDLE_BGThe handle background color.static IColorConstantHANDLE_FGThe handle foreground color.static IColorConstantLIGHT_BLUEThe "light blue" color.static IColorConstantLIGHT_GRAYThe "light gray" color.static IColorConstantLIGHT_GREENThe "light green" color.static IColorConstantLIGHT_LIGHT_GRAYThe "light light gray" color.static IColorConstantLIGHT_ORANGEThe "light orange" color.static IColorConstantORANGEThe "orange" color.static IColorConstantREDThe "red" color.static IColorConstantSHAPE_SELECTION_FGThe foreground selection color of a shape.static IColorConstantWHITEThe "white" color.static IColorConstantYELLOWThe "yellow" color.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBlue()Returns the amount of blue in the color, from 0 to 255.intgetGreen()Returns the amount of green in the color, from 0 to 255.intgetRed()Returns the amount of red in the color, from 0 to 255.
-
-
-
Field Detail
-
WHITE
static final IColorConstant WHITE
The "white" color.
-
LIGHT_LIGHT_GRAY
static final IColorConstant LIGHT_LIGHT_GRAY
The "light light gray" color.
-
LIGHT_GRAY
static final IColorConstant LIGHT_GRAY
The "light gray" color.
-
GRAY
static final IColorConstant GRAY
The "gray" color.
-
DARK_GRAY
static final IColorConstant DARK_GRAY
The "dark gray" color.
-
BLACK
static final IColorConstant BLACK
The "black" color.
-
RED
static final IColorConstant RED
The "red" color.
-
LIGHT_ORANGE
static final IColorConstant LIGHT_ORANGE
The "light orange" color.
-
ORANGE
static final IColorConstant ORANGE
The "orange" color.
-
DARK_ORANGE
static final IColorConstant DARK_ORANGE
The "dark orange" color.
-
YELLOW
static final IColorConstant YELLOW
The "yellow" color.
-
GREEN
static final IColorConstant GREEN
The "green" color.
-
LIGHT_GREEN
static final IColorConstant LIGHT_GREEN
The "light green" color.
-
DARK_GREEN
static final IColorConstant DARK_GREEN
The "dark green" color.
-
CYAN
static final IColorConstant CYAN
The "cyan" color.
-
LIGHT_BLUE
static final IColorConstant LIGHT_BLUE
The "light blue" color.
-
BLUE
static final IColorConstant BLUE
The "blue" color.
-
DARK_BLUE
static final IColorConstant DARK_BLUE
The "dark blue" color.
-
HANDLE_FG
static final IColorConstant HANDLE_FG
The handle foreground color.
-
HANDLE_BG
static final IColorConstant HANDLE_BG
The handle background color.
-
SHAPE_SELECTION_FG
static final IColorConstant SHAPE_SELECTION_FG
The foreground selection color of a shape.
-
CONNECTION_SELECTION_FG
static final IColorConstant CONNECTION_SELECTION_FG
The foreground selection color of a connection.
-
-
Method Detail
-
getRed
int getRed()
Returns the amount of red in the color, from 0 to 255.- Returns:
- the red component of the color
-
getGreen
int getGreen()
Returns the amount of green in the color, from 0 to 255.- Returns:
- the green component of the color
-
getBlue
int getBlue()
Returns the amount of blue in the color, from 0 to 255.- Returns:
- the blue component of the color
-
-