Class ChoiceBuilderImpl<M>
- java.lang.Object
-
- net.officefloor.gef.configurer.internal.AbstractBuilder<M,java.lang.Integer,ChoiceValueInput<M>,ChoiceBuilder<M>>
-
- net.officefloor.gef.configurer.internal.inputs.ChoiceBuilderImpl<M>
-
- All Implemented Interfaces:
Builder<M,java.lang.Integer,ChoiceBuilder<M>>,ChoiceBuilder<M>,ColumnRenderer<M,java.lang.Integer>,ValueRendererFactory<M,ChoiceValueInput<M>>
public class ChoiceBuilderImpl<M> extends AbstractBuilder<M,java.lang.Integer,ChoiceValueInput<M>,ChoiceBuilder<M>> implements ChoiceBuilder<M>
ChoiceBuilderimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ChoiceBuilderImpl(java.lang.String label, EnvironmentBridge envBridge)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationBuilder<M>choice(java.lang.String label)Configures the choice.ChoiceValueInput<M>createInput(ValueInputContext<M,java.lang.Integer> context)Creates the inputValueInputfor theObservableValue.-
Methods inherited from class net.officefloor.gef.configurer.internal.AbstractBuilder
configureTableColumn, createCellProperty, createCellRenderer, createErrorFeedback, createLabel, createTableColumn, createValueRenderer, getError, getLabel, init, isEditable, setValue, validate
-
-
-
-
Constructor Detail
-
ChoiceBuilderImpl
public ChoiceBuilderImpl(java.lang.String label, EnvironmentBridge envBridge)Instantiate.- Parameters:
label- Label.envBridge-EnvironmentBridge.
-
-
Method Detail
-
choice
public ConfigurationBuilder<M> choice(java.lang.String label)
Description copied from interface:ChoiceBuilderConfigures the choice.- Specified by:
choicein interfaceChoiceBuilder<M>- Parameters:
label- Label for the choice.- Returns:
ConfigurationBuilderto configure the choice.
-
createInput
public ChoiceValueInput<M> createInput(ValueInputContext<M,java.lang.Integer> context)
Description copied from class:AbstractBuilderCreates the inputValueInputfor theObservableValue.- Specified by:
createInputin classAbstractBuilder<M,java.lang.Integer,ChoiceValueInput<M>,ChoiceBuilder<M>>- Parameters:
context-ValueInputContext.- Returns:
ValueInputto configure theObservableValue.
-
-