Package be.gaudry.model.drawing.color
Class BrolColor
java.lang.Object
be.gaudry.model.drawing.color.BrolColor
BrolColor is a set of
Colors and ContrastedColors
available for the Broldev applications.
This may be useful when we need to use undefined colors at runtime.
Provided by the broldev.core.model project.- Since:
- 1.0 Jun 24, 2008, broldev.core.model 0.0.1-SNAPSHOT dependency
- Version:
- 1.0 Jun 24, 2008
- Author:
- Steph GAUDRY
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ColorColorfor the alternate line background into a table or a sheet.static ColorColorfor the alternate line foreground into a table or a sheet.static ColorBackgroundColorof the Broldev's GUI components (Egg)static ColorColorof the dark border of the Broldev's GUI components (Dark blue).static ColorHighlightColorof the Broldev's GUI components (Orange)static ColorColorfor the line background into a table or a sheet.static ColorColorfor the line foreground into a table or a sheet.static ColorColorfor the drop location background into a table or a sheet.static ColorColorfor the drop location foreground into a table or a sheet.static ColorColorfor the selected line background into a table or a sheet.static ColorColorfor the selected line foreground into a table or a sheet. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContrastedColorgetBrolColor(int index)Provides a way to load colors from the available set into an iteration by giving an index (0 based) to avoid loading twice the same color.static int
-
Field Details
-
DEFAULT_LINE_FORGROUND_COLOR
Colorfor the line foreground into a table or a sheet. -
DEFAULT_LINE_BACKGROUND_COLOR
Colorfor the line background into a table or a sheet. -
ALTERNATE_LINE_FORGROUND_COLOR
Colorfor the alternate line foreground into a table or a sheet. -
ALTERNATE_LINE_BACKGROUND_COLOR
Colorfor the alternate line background into a table or a sheet. -
SELECTED_LINE_FORGROUND_COLOR
Colorfor the selected line foreground into a table or a sheet. -
SELECTED_LINE_BACKGROUND_COLOR
Colorfor the selected line background into a table or a sheet. -
DROPLOCATION_FORGROUND_COLOR
Colorfor the drop location foreground into a table or a sheet. -
DROPLOCATION_BACKGROUND_COLOR
Colorfor the drop location background into a table or a sheet. -
COMPONENT_BORDER_COLOR
Colorof the dark border of the Broldev's GUI components (Dark blue). -
COMPONENT_BACKGROUND_COLOR
BackgroundColorof the Broldev's GUI components (Egg) -
COMPONENT_BORDER_HILIGHT_COLOR
HighlightColorof the Broldev's GUI components (Orange)
-
-
Method Details
-
getBrolColor
Provides a way to load colors from the available set into an iteration by giving an index (0 based) to avoid loading twice the same color. \nIf the index is higher than thecount of colors, a color is picked in a random way from the set.- Parameters:
index-- Returns:
- a
ContrastedColorto give foreground and background.
-
getColorsCount
public static int getColorsCount()- Returns:
- the count of available colors
-