Package net.officefloor.gef.woof
Class WoofSectionInputItem
- java.lang.Object
-
- net.officefloor.gef.ide.editor.AbstractItem<WoofModel,WoofChanges,WoofSectionModel,WoofSectionModel.WoofSectionEvent,WoofSectionInputModel,WoofSectionInputModel.WoofSectionInputEvent>
-
- net.officefloor.gef.woof.WoofSectionInputItem
-
public class WoofSectionInputItem extends AbstractItem<WoofModel,WoofChanges,WoofSectionModel,WoofSectionModel.WoofSectionEvent,WoofSectionInputModel,WoofSectionInputModel.WoofSectionInputEvent>
Configuration for theWoofSectionInputModel
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.gef.ide.editor.AbstractItem
AbstractItem.ConfigurableContext<R extends Model,O>, AbstractItem.IdeChildrenGroup, AbstractItem.IdeConnection<C extends ConnectionModel>, AbstractItem.IdeConnectionTarget<C extends ConnectionModel,T extends Model,TE extends java.lang.Enum<TE>>, AbstractItem.IdeExtractor, AbstractItem.IdeLabeller, AbstractItem.IdeStyle, AbstractItem.PreferenceListener
-
-
Field Summary
-
Fields inherited from class net.officefloor.gef.ide.editor.AbstractItem
builder
-
-
Constructor Summary
Constructors Constructor Description WoofSectionInputItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractItem.IdeExtractor
extract()
AbstractItem.IdeLabeller
label()
Obtains theAbstractItem.IdeLabeller
for theModel
.void
loadToParent(WoofSectionModel parentModel, WoofSectionInputModel itemModel)
WoofSectionInputModel
prototype()
Creates the prototype for the item.javafx.scene.layout.Pane
visual(WoofSectionInputModel model, AdaptedChildVisualFactoryContext<WoofSectionInputModel> context)
Creates the visual for theModel
.-
Methods inherited from class net.officefloor.gef.ide.editor.AbstractItem
children, connections, createChild, furtherAdapt, getBuilder, getChildrenGroups, getConfigurableContext, getConnections, getPreferenceStyleId, init, loadStyles, style, translateFromCommaSeparatedList, translateToCommaSeparateList, translateToNameMappings, translateToPropertyList
-
-
-
-
Method Detail
-
prototype
public WoofSectionInputModel prototype()
Description copied from class:AbstractItem
Creates the prototype for the item.- Specified by:
prototype
in classAbstractItem<WoofModel,WoofChanges,WoofSectionModel,WoofSectionModel.WoofSectionEvent,WoofSectionInputModel,WoofSectionInputModel.WoofSectionInputEvent>
- Returns:
- Prototype.
-
extract
public AbstractItem.IdeExtractor extract()
Description copied from class:AbstractItem
- Specified by:
extract
in classAbstractItem<WoofModel,WoofChanges,WoofSectionModel,WoofSectionModel.WoofSectionEvent,WoofSectionInputModel,WoofSectionInputModel.WoofSectionInputEvent>
- Returns:
AbstractItem.IdeExtractor
.
-
loadToParent
public void loadToParent(WoofSectionModel parentModel, WoofSectionInputModel itemModel)
Description copied from class:AbstractItem
Loads theModel
to the parentModel
. This allows for constructing a prototype model for editing preferences of theAbstractAdaptedIdeEditor
.- Specified by:
loadToParent
in classAbstractItem<WoofModel,WoofChanges,WoofSectionModel,WoofSectionModel.WoofSectionEvent,WoofSectionInputModel,WoofSectionInputModel.WoofSectionInputEvent>
- Parameters:
parentModel
- ParentModel
.itemModel
- ItemModel
.
-
visual
public javafx.scene.layout.Pane visual(WoofSectionInputModel model, AdaptedChildVisualFactoryContext<WoofSectionInputModel> context)
Description copied from class:AbstractItem
Creates the visual for theModel
.- Specified by:
visual
in classAbstractItem<WoofModel,WoofChanges,WoofSectionModel,WoofSectionModel.WoofSectionEvent,WoofSectionInputModel,WoofSectionInputModel.WoofSectionInputEvent>
- Parameters:
model
-Model
.context
-AdaptedChildVisualFactoryContext
.- Returns:
Node
for the visual.
-
label
public AbstractItem.IdeLabeller label()
Description copied from class:AbstractItem
Obtains theAbstractItem.IdeLabeller
for theModel
.- Specified by:
label
in classAbstractItem<WoofModel,WoofChanges,WoofSectionModel,WoofSectionModel.WoofSectionEvent,WoofSectionInputModel,WoofSectionInputModel.WoofSectionInputEvent>
- Returns:
AbstractItem.IdeLabeller
.
-
-