Package org.eclipse.graphiti.util
Interface IColorConstant
- All Known Implementing Classes:
ColorConstant
public interface IColorConstant
The Interface IColorConstant.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IColorConstantThe "black" color.static final IColorConstantThe "blue" color.static final IColorConstantThe foreground selection color of a connection.static final IColorConstantThe "cyan" color.static final IColorConstantThe "dark blue" color.static final IColorConstantThe "dark gray" color.static final IColorConstantThe "dark green" color.static final IColorConstantThe "dark orange" color.static final IColorConstantThe "gray" color.static final IColorConstantThe "green" color.static final IColorConstantThe handle background color.static final IColorConstantThe handle foreground color.static final IColorConstantThe "light blue" color.static final IColorConstantThe "light gray" color.static final IColorConstantThe "light green" color.static final IColorConstantThe "light light gray" color.static final IColorConstantThe "light orange" color.static final IColorConstantThe "orange" color.static final IColorConstantThe "red" color.static final IColorConstantThe foreground selection color of a shape.static final IColorConstantThe "white" color.static final IColorConstantThe "yellow" color. -
Method Summary
-
Field Details
-
WHITE
The "white" color. -
LIGHT_LIGHT_GRAY
The "light light gray" color. -
LIGHT_GRAY
The "light gray" color. -
GRAY
The "gray" color. -
DARK_GRAY
The "dark gray" color. -
BLACK
The "black" color. -
RED
The "red" color. -
LIGHT_ORANGE
The "light orange" color. -
ORANGE
The "orange" color. -
DARK_ORANGE
The "dark orange" color. -
YELLOW
The "yellow" color. -
GREEN
The "green" color. -
LIGHT_GREEN
The "light green" color. -
DARK_GREEN
The "dark green" color. -
CYAN
The "cyan" color. -
LIGHT_BLUE
The "light blue" color. -
BLUE
The "blue" color. -
DARK_BLUE
The "dark blue" color. -
HANDLE_FG
The handle foreground color. -
HANDLE_BG
The handle background color. -
SHAPE_SELECTION_FG
The foreground selection color of a shape. -
CONNECTION_SELECTION_FG
The foreground selection color of a connection.
-
-
Method Details
-
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
-