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 Details

    • ColorChooserPane

      public ColorChooserPane(int modFlag, String name)
  • 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

      public void setSymbolColourPicker(PamColorPicker symbolFillColourPicker)
    • 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 class StandardSymbolModifierPane.SymbolChooserControls
      Returns:
      the object property.
    • getSymbolData

      public void getSymbolData(SymbolData symbolData)
      Overrides:
      getSymbolData in class StandardSymbolModifierPane.SymbolChooserControls
    • setSymbolData

      public void setSymbolData(SymbolData symbolData)
      Overrides:
      setSymbolData in class StandardSymbolModifierPane.SymbolChooserControls