Package pamViewFX.symbol
Class StandardSymbolModifierPane.ColorChooserPane
java.lang.Object
pamViewFX.symbol.StandardSymbolModifierPane.SymbolChooserControls
pamViewFX.symbol.StandardSymbolModifierPane.ColorChooserPane
- Enclosing class:
StandardSymbolModifierPane
public class StandardSymbolModifierPane.ColorChooserPane
extends StandardSymbolModifierPane.SymbolChooserControls
The colour chooser pane allows users to select a colour for a symbol.
- Author:
- Jamie Macaulay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the default opacity for the colour picker.javafx.scene.control.ColorPickervoidgetSymbolData(SymbolData symbolData) javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> The object property for extra settings.voidsetDefaultOpacity(double opacity) Set the default opacity for the colour picker.voidsetSymbolColourPicker(PamColorPicker symbolFillColourPicker) voidsetSymbolData(SymbolData symbolData) Methods inherited from class pamViewFX.symbol.StandardSymbolModifierPane.SymbolChooserControls
getModFlag, getName, getSelectModBox, getSettingsPane, setModFlag, setName, setSelectModBox, setSettingsPane
-
Constructor Details
-
ColorChooserPane
-
-
Method Details
-
setDefaultOpacity
public void setDefaultOpacity(double opacity) Set the default opacity for the colour picker. When a new colour is selected, then the opacity will default to the set value.- Parameters:
opacity- - the default opacity to set. Default is 1.
-
getDefaultOpacity
public double getDefaultOpacity()Get the default opacity for the colour picker. When a new colour is selected, then the opacity will default to the set value.- Returns:
- opacity - the default opacity of the colour picker.
-
getSymbolColourPicker
public javafx.scene.control.ColorPicker getSymbolColourPicker() -
setSymbolColourPicker
-
getValueProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> getValueProperty()Description copied from class:StandardSymbolModifierPane.SymbolChooserControlsThe object property for extra settings. Can be used to notify if additional symbol settings have changed. Can be null.- Overrides:
getValuePropertyin classStandardSymbolModifierPane.SymbolChooserControls- Returns:
- the object property.
-
getSymbolData
- Overrides:
getSymbolDatain classStandardSymbolModifierPane.SymbolChooserControls
-
setSymbolData
- Overrides:
setSymbolDatain classStandardSymbolModifierPane.SymbolChooserControls
-