Class NodePreferenceStyler
- java.lang.Object
-
- net.officefloor.gef.ide.preferences.AbstractPreferenceStyler
-
- net.officefloor.gef.ide.preferences.NodePreferenceStyler
-
- All Implemented Interfaces:
PreferenceStyler
public class NodePreferenceStyler extends AbstractPreferenceStyler
Styles theNode
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.gef.ide.preferences.AbstractPreferenceStyler
AbstractPreferenceStyler.PreferenceConfiguration
-
-
Field Summary
-
Fields inherited from class net.officefloor.gef.ide.preferences.AbstractPreferenceStyler
backgroundColour, envBridge, preferencesToChange
-
-
Constructor Summary
Constructors Constructor Description NodePreferenceStyler(java.lang.String preferenceId, javafx.scene.Node visual, java.lang.String defaultStyle, javafx.beans.property.Property<java.lang.String> styleUpdater, javafx.collections.ObservableMap<java.lang.String,PreferenceValue> preferencesToChange, EnvironmentBridge envBridge, javafx.scene.paint.Color backgroundColour)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractPreferenceStyler.PreferenceConfiguration
init()
Initialises.-
Methods inherited from class net.officefloor.gef.ide.preferences.AbstractPreferenceStyler
createVisual, defaultString
-
-
-
-
Constructor Detail
-
NodePreferenceStyler
public NodePreferenceStyler(java.lang.String preferenceId, javafx.scene.Node visual, java.lang.String defaultStyle, javafx.beans.property.Property<java.lang.String> styleUpdater, javafx.collections.ObservableMap<java.lang.String,PreferenceValue> preferencesToChange, EnvironmentBridge envBridge, javafx.scene.paint.Color backgroundColour)
Instantiate.- Parameters:
preferenceId
- Identifier of preference.visual
-Node
for visual structure.defaultStyle
- Default style.styleUpdater
- Style updater.preferencesToChange
- Preferences to change.envBridge
-EnvironmentBridge
.backgroundColour
- BackgroundColor
.
-
-
Method Detail
-
init
protected AbstractPreferenceStyler.PreferenceConfiguration init()
Description copied from class:AbstractPreferenceStyler
Initialises.- Specified by:
init
in classAbstractPreferenceStyler
- Returns:
AbstractPreferenceStyler.PreferenceConfiguration
to configure preference editing.
-
-