Package net.officefloor.gef.activity
Class ActivitySectionInputItem
- java.lang.Object
-
- net.officefloor.gef.ide.editor.AbstractItem<ActivityModel,ActivityChanges,ActivitySectionModel,ActivitySectionModel.ActivitySectionEvent,ActivitySectionInputModel,ActivitySectionInputModel.ActivitySectionInputEvent>
-
- net.officefloor.gef.activity.ActivitySectionInputItem
-
public class ActivitySectionInputItem extends AbstractItem<ActivityModel,ActivityChanges,ActivitySectionModel,ActivitySectionModel.ActivitySectionEvent,ActivitySectionInputModel,ActivitySectionInputModel.ActivitySectionInputEvent>
Configuration for theActivitySectionInputModel
.- 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 ActivitySectionInputItem()
-
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(ActivitySectionModel parentModel, ActivitySectionInputModel itemModel)
ActivitySectionInputModel
prototype()
Creates the prototype for the item.javafx.scene.layout.Pane
visual(ActivitySectionInputModel model, AdaptedChildVisualFactoryContext<ActivitySectionInputModel> 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 ActivitySectionInputModel prototype()
Description copied from class:AbstractItem
Creates the prototype for the item.- Specified by:
prototype
in classAbstractItem<ActivityModel,ActivityChanges,ActivitySectionModel,ActivitySectionModel.ActivitySectionEvent,ActivitySectionInputModel,ActivitySectionInputModel.ActivitySectionInputEvent>
- Returns:
- Prototype.
-
extract
public AbstractItem.IdeExtractor extract()
Description copied from class:AbstractItem
-
loadToParent
public void loadToParent(ActivitySectionModel parentModel, ActivitySectionInputModel 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<ActivityModel,ActivityChanges,ActivitySectionModel,ActivitySectionModel.ActivitySectionEvent,ActivitySectionInputModel,ActivitySectionInputModel.ActivitySectionInputEvent>
- Parameters:
parentModel
- ParentModel
.itemModel
- ItemModel
.
-
visual
public javafx.scene.layout.Pane visual(ActivitySectionInputModel model, AdaptedChildVisualFactoryContext<ActivitySectionInputModel> context)
Description copied from class:AbstractItem
Creates the visual for theModel
.- Specified by:
visual
in classAbstractItem<ActivityModel,ActivityChanges,ActivitySectionModel,ActivitySectionModel.ActivitySectionEvent,ActivitySectionInputModel,ActivitySectionInputModel.ActivitySectionInputEvent>
- 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
.
-
-