Package net.officefloor.gef.configurer
Class Configurer<M>
- java.lang.Object
-
- net.officefloor.gef.configurer.internal.AbstractConfigurationBuilder<M>
-
- net.officefloor.gef.configurer.Configurer<M>
-
- All Implemented Interfaces:
ConfigurationBuilder<M>
,InputBuilder<M>
,ItemBuilder<M>
public class Configurer<M> extends AbstractConfigurationBuilder<M>
OfficeFloor
configurer that uses JavaFx.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Configurer.InitApplication
Initialise application.-
Nested classes/interfaces inherited from interface net.officefloor.gef.configurer.ConfigurationBuilder
ConfigurationBuilder.Applier<M>, ConfigurationBuilder.MessageOnlyApplyException
-
-
Field Summary
-
Fields inherited from class net.officefloor.gef.configurer.internal.AbstractConfigurationBuilder
CSS_CLASS_NARROW, CSS_CLASS_WIDE
-
-
Constructor Summary
Constructors Constructor Description Configurer(EnvironmentBridge envBridge)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
loadConfiguration(M model, javafx.beans.property.Property<javafx.scene.Node> nodeProperty)
Loads the configuration, loading the parentPane
into theProperty
.Configuration
loadConfiguration(M model, javafx.scene.layout.Pane parent)
Loads the inputPane
with the configuration.-
Methods inherited from class net.officefloor.gef.configurer.internal.AbstractConfigurationBuilder
apply, choices, clazz, close, error, flag, getValueRendererFactories, list, map, multiple, optional, properties, recursiveLoadConfiguration, resource, select, text, title, validate
-
-
-
-
Constructor Detail
-
Configurer
public Configurer(EnvironmentBridge envBridge)
Instantiate.- Parameters:
envBridge
-EnvironmentBridge
.
-
-
Method Detail
-
loadConfiguration
public Configuration loadConfiguration(M model, javafx.beans.property.Property<javafx.scene.Node> nodeProperty)
Loads the configuration, loading the parentPane
into theProperty
.- Parameters:
model
-Model
.nodeProperty
-Property
to receive the parentPane
.- Returns:
Configuration
.
-
loadConfiguration
public Configuration loadConfiguration(M model, javafx.scene.layout.Pane parent)
Loads the inputPane
with the configuration.- Overrides:
loadConfiguration
in classAbstractConfigurationBuilder<M>
- Parameters:
model
-Model
.parent
- ParentPane
to contain the configuration.- Returns:
Configuration
.
-
-