Skip to main content

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 empty
  • defaultColor -
  • 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: