Package net.officefloor.gef.woof
Class WoofSecurityOutputItem
- java.lang.Object
-
- net.officefloor.gef.ide.editor.AbstractItem<WoofModel,WoofChanges,WoofSecurityModel,WoofSecurityModel.WoofSecurityEvent,WoofSecurityOutputModel,WoofSecurityOutputModel.WoofSecurityOutputEvent>
-
- net.officefloor.gef.woof.WoofSecurityOutputItem
-
public class WoofSecurityOutputItem extends AbstractItem<WoofModel,WoofChanges,WoofSecurityModel,WoofSecurityModel.WoofSecurityEvent,WoofSecurityOutputModel,WoofSecurityOutputModel.WoofSecurityOutputEvent>
Configuration for theWoofSecurityOutputModel
.- 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 WoofSecurityOutputItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
connections(java.util.List<AbstractItem.IdeConnectionTarget<? extends ConnectionModel,?,?>> connections)
Loads theAbstractItem.IdeConnectionTarget
instances (created fromAbstractItem.IdeConnection
instances).AbstractItem.IdeExtractor
extract()
AbstractItem.IdeLabeller
label()
Obtains theAbstractItem.IdeLabeller
for theModel
.void
loadToParent(WoofSecurityModel parentModel, WoofSecurityOutputModel itemModel)
WoofSecurityOutputModel
prototype()
Creates the prototype for the item.javafx.scene.layout.Pane
visual(WoofSecurityOutputModel model, AdaptedChildVisualFactoryContext<WoofSecurityOutputModel> context)
Creates the visual for theModel
.-
Methods inherited from class net.officefloor.gef.ide.editor.AbstractItem
children, createChild, furtherAdapt, getBuilder, getChildrenGroups, getConfigurableContext, getConnections, getPreferenceStyleId, init, loadStyles, style, translateFromCommaSeparatedList, translateToCommaSeparateList, translateToNameMappings, translateToPropertyList
-
-
-
-
Method Detail
-
prototype
public WoofSecurityOutputModel prototype()
Description copied from class:AbstractItem
Creates the prototype for the item.- Specified by:
prototype
in classAbstractItem<WoofModel,WoofChanges,WoofSecurityModel,WoofSecurityModel.WoofSecurityEvent,WoofSecurityOutputModel,WoofSecurityOutputModel.WoofSecurityOutputEvent>
- Returns:
- Prototype.
-
extract
public AbstractItem.IdeExtractor extract()
Description copied from class:AbstractItem
- Specified by:
extract
in classAbstractItem<WoofModel,WoofChanges,WoofSecurityModel,WoofSecurityModel.WoofSecurityEvent,WoofSecurityOutputModel,WoofSecurityOutputModel.WoofSecurityOutputEvent>
- Returns:
AbstractItem.IdeExtractor
.
-
loadToParent
public void loadToParent(WoofSecurityModel parentModel, WoofSecurityOutputModel 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,WoofSecurityModel,WoofSecurityModel.WoofSecurityEvent,WoofSecurityOutputModel,WoofSecurityOutputModel.WoofSecurityOutputEvent>
- Parameters:
parentModel
- ParentModel
.itemModel
- ItemModel
.
-
visual
public javafx.scene.layout.Pane visual(WoofSecurityOutputModel model, AdaptedChildVisualFactoryContext<WoofSecurityOutputModel> context)
Description copied from class:AbstractItem
Creates the visual for theModel
.- Specified by:
visual
in classAbstractItem<WoofModel,WoofChanges,WoofSecurityModel,WoofSecurityModel.WoofSecurityEvent,WoofSecurityOutputModel,WoofSecurityOutputModel.WoofSecurityOutputEvent>
- 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,WoofSecurityModel,WoofSecurityModel.WoofSecurityEvent,WoofSecurityOutputModel,WoofSecurityOutputModel.WoofSecurityOutputEvent>
- Returns:
AbstractItem.IdeLabeller
.
-
connections
protected void connections(java.util.List<AbstractItem.IdeConnectionTarget<? extends ConnectionModel,?,?>> connections)
Description copied from class:AbstractItem
Loads theAbstractItem.IdeConnectionTarget
instances (created fromAbstractItem.IdeConnection
instances).- Overrides:
connections
in classAbstractItem<WoofModel,WoofChanges,WoofSecurityModel,WoofSecurityModel.WoofSecurityEvent,WoofSecurityOutputModel,WoofSecurityOutputModel.WoofSecurityOutputEvent>
- Parameters:
connections
-AbstractItem.IdeConnection
instances.
-
-