Class IndicatorColorScheme.ColorDescription
java.lang.Object
velox.api.layer1.messages.indicators.IndicatorColorScheme.ColorDescription
- Enclosing interface:
IndicatorColorScheme
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionColorDescription(Class<?> strategyClass, String name, Color defaultColor, boolean isDisplayedInColorDialog) -
Method Summary
Modifier and TypeMethodDescriptionsetDisplayedInColorDialog(boolean displayedInColorDialog) setDisplayedInIndicatorPopup(boolean displayedInIndicatorPopup)
-
Field Details
-
defaultColor
-
name
Color name that user will see -
isDisplayedInColorDialog
public boolean isDisplayedInColorDialog -
isDisplayedInIndicatorPopup
public boolean isDisplayedInIndicatorPopup
-
-
Constructor Details
-
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)
-
-
Method Details
-
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:
-