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
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Get the default opacity for the colour picker.javafx.scene.control.ColorPicker
void
getSymbolData
(SymbolData symbolData) javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
The object property for extra settings.void
setDefaultOpacity
(double opacity) Set the default opacity for the colour picker.void
setSymbolColourPicker
(PamColorPicker symbolFillColourPicker) void
setSymbolData
(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.SymbolChooserControls
The object property for extra settings. Can be used to notify if additional symbol settings have changed. Can be null.- Overrides:
getValueProperty
in classStandardSymbolModifierPane.SymbolChooserControls
- Returns:
- the object property.
-
getSymbolData
- Overrides:
getSymbolData
in classStandardSymbolModifierPane.SymbolChooserControls
-
setSymbolData
- Overrides:
setSymbolData
in classStandardSymbolModifierPane.SymbolChooserControls
-