Class ModelPreferenceStyler<M extends Model>
- java.lang.Object
-
- net.officefloor.gef.ide.preferences.AbstractPreferenceStyler
-
- net.officefloor.gef.ide.preferences.ModelPreferenceStyler<M>
-
- All Implemented Interfaces:
PreferenceStyler
public class ModelPreferenceStyler<M extends Model> extends AbstractPreferenceStyler
Style for theModel
preferences.- 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 ModelPreferenceStyler(AbstractItem<?,?,?,?,M,?> item, boolean isParent, 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
-
ModelPreferenceStyler
public ModelPreferenceStyler(AbstractItem<?,?,?,?,M,?> item, boolean isParent, javafx.collections.ObservableMap<java.lang.String,PreferenceValue> preferencesToChange, EnvironmentBridge envBridge, javafx.scene.paint.Color backgroundColour)
Instantiate.- Parameters:
item
-AbstractItem
.isParent
- Indicates ifAdaptedParent
.preferencesToChange
- Loaded with the preference changes.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.
-
-