Class ColormapSelector


  • public class ColormapSelector
    extends ChartPlugin
    Adds a Dropdown to the toolbar to select different Colormaps. The selected Colormap can be accessed from via colormapProperty() and bound to Renderers/Axes.
    Author:
    Alexander Krimm
    • Constructor Detail

      • ColormapSelector

        public ColormapSelector()
    • Method Detail

      • colormapProperty

        public javafx.beans.property.ObjectProperty<ColorGradient> colormapProperty()
      • getGradientsList

        public javafx.collections.ObservableList<ColorGradient> getGradientsList()
      • isShowInToolbar

        public boolean isShowInToolbar()
      • setColormap

        public void setColormap​(ColorGradient newGradient)
      • setShowInToolbar

        public void setShowInToolbar​(boolean show)
      • showInToolbarProperty

        public javafx.beans.property.BooleanProperty showInToolbarProperty()