IndicatorColorScheme.ColorDescription
Package: velox.api.layer1.messages.indicators
Type: Class
Enclosing Interface: IndicatorColorScheme
Inheritance: java.lang.Object → IndicatorColorScheme.ColorDescription
Fields​
defaultColor​
public final Color defaultColor
name​
public final String name
Color name that user will see
isDisplayedInColorDialog​
public boolean isDisplayedInColorDialog
isDisplayedInIndicatorPopup​
public boolean isDisplayedInIndicatorPopup
Constructors​
ColorDescription​
public ColorDescription(Class<?> strategyClass, String name, Color defaultColor, boolean isDisplayedInColorDialog)
Parameters:
strategyClass-name- Should consist only of a-zA-Z0-9 and spaces, and should not be emptydefaultColor-isDisplayedInColorDialog- If true, this color will be configurable via default color dialog (in indicators section), otherwise color will not be configurable there. Note that color dialog is global (non alias specific)
Methods​
setDisplayedInIndicatorPopup​
public IndicatorColorScheme.ColorDescription setDisplayedInIndicatorPopup(boolean displayedInIndicatorPopup)
Parameters:
displayedInIndicatorPopup- If true, this color will be configurable via right click menu for indicator, otherwise color will not be configurable there. Default: false
Returns:
setDisplayedInColorDialog​
public IndicatorColorScheme.ColorDescription setDisplayedInColorDialog(boolean displayedInColorDialog)
Parameters:
displayedInColorDialog- If true, this color will be configurable via default color dialog (in indicators section), otherwise color will not be configurable there. Note that color dialog is global (non alias specific)
Returns: