Package net.officefloor.gef.section
Class FunctionNamespaceItem
- java.lang.Object
 - 
- net.officefloor.gef.ide.editor.AbstractItem<R,O,R,RE,M,E>
 - 
- net.officefloor.gef.ide.editor.AbstractConfigurableItem<SectionModel,SectionModel.SectionEvent,SectionChanges,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent,FunctionNamespaceItem>
 - 
- net.officefloor.gef.section.FunctionNamespaceItem
 
 
 
 
- 
- All Implemented Interfaces:
 ConfigurableItem<FunctionNamespaceItem>
public class FunctionNamespaceItem extends AbstractConfigurableItem<SectionModel,SectionModel.SectionEvent,SectionChanges,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent,FunctionNamespaceItem>
Configuration forFunctionNamespaceModel.- Author:
 - Daniel Sagenschneider
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class net.officefloor.gef.ide.editor.AbstractConfigurableItem
AbstractConfigurableItem.ConfigurableModelContext<O,M>, AbstractConfigurableItem.IdeConfiguration<O,M extends Model,I>, AbstractConfigurableItem.IdeConfigurer, AbstractConfigurableItem.ItemActioner<O,M>, AbstractConfigurableItem.ItemConfigurer<O,M,I> 
- 
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 FunctionNamespaceItem() 
- 
Method Summary
- 
Methods inherited from class net.officefloor.gef.ide.editor.AbstractConfigurableItem
createAdaptedParent, extractIdeConfiguration, furtherAdapt 
- 
Methods inherited from class net.officefloor.gef.ide.editor.AbstractItem
connections, createChild, furtherAdapt, getBuilder, getChildrenGroups, getConfigurableContext, getConnections, getPreferenceStyleId, init, loadStyles, translateFromCommaSeparatedList, translateToCommaSeparateList, translateToNameMappings, translateToPropertyList 
 - 
 
 - 
 
- 
- 
Method Detail
- 
loadFunctionNamespaceType
public static FunctionNamespaceType loadFunctionNamespaceType(FunctionNamespaceItem item, EnvironmentBridge envBridge) throws java.lang.Exception
Loads theFunctionNamespaceTypefor theFunctionNamespaceItem.- Parameters:
 item-FunctionNamespaceItem.envBridge-EnvironmentBridge.- Returns:
 FunctionNamespaceType.- Throws:
 java.lang.Exception- If fails to load theFunctionNamespaceType.
 
- 
prototype
public FunctionNamespaceModel prototype()
Description copied from class:AbstractItemCreates the prototype for the item.- Specified by:
 prototypein classAbstractItem<SectionModel,SectionChanges,SectionModel,SectionModel.SectionEvent,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent>- Returns:
 - Prototype.
 
 
- 
extract
public AbstractItem.IdeExtractor extract()
Description copied from class:AbstractItem- Specified by:
 extractin classAbstractItem<SectionModel,SectionChanges,SectionModel,SectionModel.SectionEvent,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent>- Returns:
 AbstractItem.IdeExtractor.
 
- 
loadToParent
public void loadToParent(SectionModel parentModel, FunctionNamespaceModel itemModel)
Description copied from class:AbstractItemLoads theModelto the parentModel. This allows for constructing a prototype model for editing preferences of theAbstractAdaptedIdeEditor.- Specified by:
 loadToParentin classAbstractItem<SectionModel,SectionChanges,SectionModel,SectionModel.SectionEvent,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent>- Parameters:
 parentModel- ParentModel.itemModel- ItemModel.
 
- 
visual
public javafx.scene.layout.Pane visual(FunctionNamespaceModel model, AdaptedChildVisualFactoryContext<FunctionNamespaceModel> context)
Description copied from class:AbstractItemCreates the visual for theModel.- Specified by:
 visualin classAbstractItem<SectionModel,SectionChanges,SectionModel,SectionModel.SectionEvent,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent>- Parameters:
 model-Model.context-AdaptedChildVisualFactoryContext.- Returns:
 Nodefor the visual.
 
- 
label
public AbstractItem.IdeLabeller label()
Description copied from class:AbstractItemObtains theAbstractItem.IdeLabellerfor theModel.- Specified by:
 labelin classAbstractItem<SectionModel,SectionChanges,SectionModel,SectionModel.SectionEvent,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent>- Returns:
 AbstractItem.IdeLabeller.
 
- 
style
public java.lang.String style()
Description copied from class:AbstractItemObtains the style for the display of theModel.- Overrides:
 stylein classAbstractItem<SectionModel,SectionChanges,SectionModel,SectionModel.SectionEvent,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent>- Returns:
 - Style for the display of the 
Model. 
 
- 
item
public FunctionNamespaceItem item(FunctionNamespaceModel model)
Description copied from class:AbstractConfigurableItemCreates an item from theModel.- Specified by:
 itemin classAbstractConfigurableItem<SectionModel,SectionModel.SectionEvent,SectionChanges,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent,FunctionNamespaceItem>- Parameters:
 model-Model. May benullif create aModel.- Returns:
 - Item.
 
 
- 
configure
public AbstractConfigurableItem.IdeConfigurer configure()
Description copied from class:AbstractConfigurableItemObtains the item configuration.- Specified by:
 configurein classAbstractConfigurableItem<SectionModel,SectionModel.SectionEvent,SectionChanges,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent,FunctionNamespaceItem>- Returns:
 AbstractConfigurableItem.IdeConfigurerfor the item configuration.
 
- 
children
protected void children(java.util.List<AbstractItem.IdeChildrenGroup> children)
Description copied from class:AbstractItemLoads theAbstractItem.IdeChildrenGroupinstances.- Overrides:
 childrenin classAbstractItem<SectionModel,SectionChanges,SectionModel,SectionModel.SectionEvent,FunctionNamespaceModel,FunctionNamespaceModel.FunctionNamespaceEvent>- Parameters:
 children-AbstractItem.IdeChildrenGroupinstances.
 
 - 
 
 -