Class ResourceBuilderImpl<M>
- java.lang.Object
-
- net.officefloor.gef.configurer.internal.AbstractBuilder<M,java.lang.String,ResourceBuilderImpl.ResourceValueInput,ResourceBuilder<M>>
-
- net.officefloor.gef.configurer.internal.inputs.ResourceBuilderImpl<M>
-
- All Implemented Interfaces:
Builder<M,java.lang.String,ResourceBuilder<M>>
,ColumnRenderer<M,java.lang.String>
,ValueRendererFactory<M,ResourceBuilderImpl.ResourceValueInput>
,ResourceBuilder<M>
public class ResourceBuilderImpl<M> extends AbstractBuilder<M,java.lang.String,ResourceBuilderImpl.ResourceValueInput,ResourceBuilder<M>> implements ResourceBuilder<M>
ResourceBuilder
implementation.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceBuilderImpl.ResourceValueInput
ResourceValueInput
.
-
Constructor Summary
Constructors Constructor Description ResourceBuilderImpl(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(ResourceBuilderImpl.ResourceValueInput valueInput, javafx.beans.property.Property<java.lang.Throwable> errorProperty)
Creates the error feedbackNode
.protected ResourceBuilderImpl.ResourceValueInput
createInput(ValueInputContext<M,java.lang.String> context)
Creates the inputValueInput
for theObservableValue
.-
Methods inherited from class net.officefloor.gef.configurer.internal.AbstractBuilder
configureTableColumn, createCellProperty, createCellRenderer, createLabel, createTableColumn, createValueRenderer, getError, getLabel, init, isEditable, setValue, validate
-
-
-
-
Constructor Detail
-
ResourceBuilderImpl
public ResourceBuilderImpl(java.lang.String label, EnvironmentBridge envBridge)
Instantiate.- Parameters:
label
- Label.envBridge
-EnvironmentBridge
.
-
-
Method Detail
-
createInput
protected ResourceBuilderImpl.ResourceValueInput 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,ResourceBuilderImpl.ResourceValueInput,ResourceBuilder<M>>
- Parameters:
context
-ValueInputContext
.- Returns:
ValueInput
to configure theObservableValue
.
-
createErrorFeedback
protected javafx.scene.Node createErrorFeedback(ResourceBuilderImpl.ResourceValueInput 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,ResourceBuilderImpl.ResourceValueInput,ResourceBuilder<M>>
- Parameters:
valueInput
-ValueInput
.errorProperty
- ErrorProperty
.- Returns:
- Error feedback
Node
.
-
-