Class ClassBuilderImpl<M>
- java.lang.Object
-
- net.officefloor.gef.configurer.internal.AbstractBuilder<M,java.lang.String,ClassBuilderImpl.ClassValueInput,ClassBuilder<M>>
-
- net.officefloor.gef.configurer.internal.inputs.ClassBuilderImpl<M>
-
- All Implemented Interfaces:
Builder<M,java.lang.String,ClassBuilder<M>>
,ClassBuilder<M>
,ColumnRenderer<M,java.lang.String>
,ValueRendererFactory<M,ClassBuilderImpl.ClassValueInput>
public class ClassBuilderImpl<M> extends AbstractBuilder<M,java.lang.String,ClassBuilderImpl.ClassValueInput,ClassBuilder<M>> implements ClassBuilder<M>
ClassBuilder
implementation.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClassBuilderImpl.ClassValueInput
Class
ValueInput
.
-
Constructor Summary
Constructors Constructor Description ClassBuilderImpl(java.lang.String label, EnvironmentBridge envBridge)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javafx.scene.Node
createErrorFeedback(ClassBuilderImpl.ClassValueInput valueInput, javafx.beans.property.Property<java.lang.Throwable> errorProperty)
Creates the error feedbackNode
.protected ClassBuilderImpl.ClassValueInput
createInput(ValueInputContext<M,java.lang.String> context)
Creates the inputValueInput
for theObservableValue
.ClassBuilder<M>
superType(java.lang.Class<?> superType)
Super type of the requiredClass
.-
Methods inherited from class net.officefloor.gef.configurer.internal.AbstractBuilder
configureTableColumn, createCellProperty, createCellRenderer, createLabel, createTableColumn, createValueRenderer, getError, getLabel, init, isEditable, setValue, validate
-
-
-
-
Constructor Detail
-
ClassBuilderImpl
public ClassBuilderImpl(java.lang.String label, EnvironmentBridge envBridge)
Instantiate.- Parameters:
label
- Label.envBridge
-EnvironmentBridge
.
-
-
Method Detail
-
superType
public ClassBuilder<M> superType(java.lang.Class<?> superType)
Description copied from interface:ClassBuilder
Super type of the requiredClass
.- Specified by:
superType
in interfaceClassBuilder<M>
- Parameters:
superType
- Super type of theClass
.- Returns:
this
.
-
createInput
protected ClassBuilderImpl.ClassValueInput createInput(ValueInputContext<M,java.lang.String> context)
Description copied from class:AbstractBuilder
Creates the inputValueInput
for theObservableValue
.- Specified by:
createInput
in classAbstractBuilder<M,java.lang.String,ClassBuilderImpl.ClassValueInput,ClassBuilder<M>>
- Parameters:
context
-ValueInputContext
.- Returns:
ValueInput
to configure theObservableValue
.
-
createErrorFeedback
protected javafx.scene.Node createErrorFeedback(ClassBuilderImpl.ClassValueInput valueInput, javafx.beans.property.Property<java.lang.Throwable> errorProperty)
Description copied from class:AbstractBuilder
Creates the error feedbackNode
.- Overrides:
createErrorFeedback
in classAbstractBuilder<M,java.lang.String,ClassBuilderImpl.ClassValueInput,ClassBuilder<M>>
- Parameters:
valueInput
-ValueInput
.errorProperty
- ErrorProperty
.- Returns:
- Error feedback
Node
.
-
-