Package net.officefloor.gef.editor
Interface AdaptedChild<M extends Model>
-
- All Superinterfaces:
AdaptedConnectable<M>,AdaptedModel<M>
- All Known Subinterfaces:
AdaptedParent<M>
- All Known Implementing Classes:
AdaptedChildFactory.AdaptedChildImpl,AdaptedParentFactory.AdaptedParentImpl
public interface AdaptedChild<M extends Model> extends AdaptedConnectable<M>
AdaptedModel.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javafx.scene.NodecreateVisual(AdaptedChildVisualFactoryContext<M> context)Creates the visualNode.java.util.List<ChildrenGroup<M,?>>getChildrenGroups()Obtains theChildrenGroupinstances.javafx.beans.property.Property<java.lang.String>getEditLabel()Obtains theStringPropertyto edit the label.javafx.beans.property.ReadOnlyProperty<java.lang.String>getLabel()Obtains theReadOnlyStringPropertyfor the label.-
Methods inherited from interface net.officefloor.gef.editor.AdaptedConnectable
action, createConnection, getAdaptedConnector, getAdaptedConnectors, getConnections, getDragLatency, getErrorHandler, getPotentialConnection, getSelectOnly, getStylesheet, getStylesheetUrl
-
Methods inherited from interface net.officefloor.gef.editor.AdaptedModel
getModel, getParent
-
-
-
-
Method Detail
-
getLabel
javafx.beans.property.ReadOnlyProperty<java.lang.String> getLabel()
Obtains theReadOnlyStringPropertyfor the label.- Returns:
StringPropertyfor the label. May benullif no label.
-
getEditLabel
javafx.beans.property.Property<java.lang.String> getEditLabel()
Obtains theStringPropertyto edit the label.- Returns:
StringPropertyto edit the label. May benullif label not editable.
-
getChildrenGroups
java.util.List<ChildrenGroup<M,?>> getChildrenGroups()
Obtains theChildrenGroupinstances.- Returns:
ChildrenGroupinstances.
-
createVisual
javafx.scene.Node createVisual(AdaptedChildVisualFactoryContext<M> context)
Creates the visualNode.- Parameters:
context-AdaptedChildVisualFactoryContext.- Returns:
- Visual
Node.
-
-