Class IndicatorColorScheme.ColorDescription

java.lang.Object
velox.api.layer1.messages.indicators.IndicatorColorScheme.ColorDescription
Enclosing interface:
IndicatorColorScheme

public static class IndicatorColorScheme.ColorDescription
extends java.lang.Object
  • Field Details

  • Constructor Details

    • ColorDescription

      public ColorDescription​(java.lang.Class<?> strategyClass, java.lang.String name, java.awt.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)
  • 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: