Package de.gsi.chart.plugins
Class ColormapSelector
- java.lang.Object
-
- de.gsi.chart.plugins.ChartPlugin
-
- de.gsi.chart.plugins.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classColormapSelector.ColormapComboBoxstatic classColormapSelector.ColormapListCell
-
Constructor Summary
Constructors Constructor Description ColormapSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.ObjectProperty<ColorGradient>colormapProperty()ColorGradientgetColormap()javafx.collections.ObservableList<ColorGradient>getGradientsList()booleanisShowInToolbar()voidsetColormap(ColorGradient newGradient)voidsetShowInToolbar(boolean show)javafx.beans.property.BooleanPropertyshowInToolbarProperty()-
Methods inherited from class de.gsi.chart.plugins.ChartPlugin
addButtonsToToolBarProperty, chartProperty, getChart, getChartChildren, getLocationInPlotArea, isAddButtonsToToolBar, layoutChildren, registerInputEventHandler, setAddButtonsToToolBar, setChart, toDataPoint, toDisplayPoint
-
-
-
-
Method Detail
-
colormapProperty
public javafx.beans.property.ObjectProperty<ColorGradient> colormapProperty()
-
getColormap
public ColorGradient getColormap()
-
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()
-
-