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.Node
createVisual(AdaptedChildVisualFactoryContext<M> context)
Creates the visualNode
.java.util.List<ChildrenGroup<M,?>>
getChildrenGroups()
Obtains theChildrenGroup
instances.javafx.beans.property.Property<java.lang.String>
getEditLabel()
Obtains theStringProperty
to edit the label.javafx.beans.property.ReadOnlyProperty<java.lang.String>
getLabel()
Obtains theReadOnlyStringProperty
for 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 theReadOnlyStringProperty
for the label.- Returns:
StringProperty
for the label. May benull
if no label.
-
getEditLabel
javafx.beans.property.Property<java.lang.String> getEditLabel()
Obtains theStringProperty
to edit the label.- Returns:
StringProperty
to edit the label. May benull
if label not editable.
-
getChildrenGroups
java.util.List<ChildrenGroup<M,?>> getChildrenGroups()
Obtains theChildrenGroup
instances.- Returns:
ChildrenGroup
instances.
-
createVisual
javafx.scene.Node createVisual(AdaptedChildVisualFactoryContext<M> context)
Creates the visualNode
.- Parameters:
context
-AdaptedChildVisualFactoryContext
.- Returns:
- Visual
Node
.
-
-