Package | Description |
---|---|
org.eclipse.gef.mvc.fx.behaviors |
This package contains JavaFX/MVC.FX-specific
IBehavior implementations. |
org.eclipse.gef.mvc.fx.models | |
org.eclipse.gef.mvc.fx.operations |
This package contains all
IUndoableOperation
implementations contributed by MVC.FX. |
org.eclipse.gef.mvc.fx.parts |
This package contains all JavaFX-specific
IContentPart ,
IVisualPart ,
IFeedbackPart , and
IHandlePart implementations and related
classes. |
org.eclipse.gef.mvc.fx.policies |
This package contains all
IPolicy
implementations contributed by MVC.FX. |
org.eclipse.gef.mvc.fx.providers | |
org.eclipse.gef.mvc.fx.viewer |
This package contains a JavaFX-specific
IViewer implementation:
InfiniteCanvasViewer . |
Modifier and Type | Method and Description |
---|---|
IVisualPart<? extends javafx.scene.Node> |
AbstractBehavior.getAdaptable()
Gets the value of the property adaptable.
|
IVisualPart<? extends javafx.scene.Node> |
AbstractBehavior.getHost() |
IVisualPart<? extends javafx.scene.Node> |
IBehavior.getHost()
Returns the host
IVisualPart of this IBehavior , i.e. the
part where this behavior is registered as an adapter. |
IVisualPart<Connection> |
ConnectionClickableAreaBehavior.getHost() |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<? extends javafx.scene.Node>> |
AbstractBehavior.adaptableProperty() |
protected java.util.Map<java.util.Set<IVisualPart<? extends javafx.scene.Node>>,java.util.List<IFeedbackPart<? extends javafx.scene.Node>>> |
AbstractBehavior.getFeedbackPerTargetSet()
Returns the map that stores the feedback parts per target part set.
|
protected java.util.Map<java.util.Set<IVisualPart<? extends javafx.scene.Node>>,java.util.List<IHandlePart<? extends javafx.scene.Node>>> |
AbstractBehavior.getHandlesPerTargetSet()
Returns the map that stores the handle parts per target part set.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBehavior.addFeedback(IVisualPart<? extends javafx.scene.Node> target)
Adds feedback for the given target part.
|
protected void |
AbstractBehavior.addHandles(IVisualPart<? extends javafx.scene.Node> target)
Adds handles for the given target part.
|
protected java.util.List<IFeedbackPart<? extends javafx.scene.Node>> |
AbstractBehavior.getFeedback(IVisualPart<? extends javafx.scene.Node> target)
Returns a list that contains all
IHandlePart s that were generated
for the given target part by this IBehavior . |
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
AbstractBehavior.getHandles(IVisualPart<? extends javafx.scene.Node> target)
Returns a list that contains all
IHandlePart s that were generated
for the given target part by this IBehavior . |
protected boolean |
AbstractBehavior.hasFeedback(IVisualPart<? extends javafx.scene.Node> target)
Returns
true if feedback was added for the given target
part, even if no feedback parts were generated for the given target part. |
protected boolean |
AbstractBehavior.hasHandles(IVisualPart<? extends javafx.scene.Node> target)
Returns
true if handles were added for the given target
part, even if no handle parts were generated for the given target part. |
protected void |
AbstractBehavior.removeFeedback(IVisualPart<? extends javafx.scene.Node> target)
Removes feedback for the given target.
|
protected void |
AbstractBehavior.removeHandles(IVisualPart<? extends javafx.scene.Node> target)
Removes handles for the given target.
|
void |
AbstractBehavior.setAdaptable(IVisualPart<? extends javafx.scene.Node> adaptable)
Sets the value of the property adaptable.
|
void |
ContentBehavior.synchronizeContentPartAnchorages(IVisualPart<? extends javafx.scene.Node> anchored,
com.google.common.collect.SetMultimap<? extends java.lang.Object,? extends java.lang.String> contentAnchorages)
Updates the host
IVisualPart 's IContentPart anchorages
(see getAnchoragesUnmodifiable() ) so that it is in
sync with the set of content anchorages that is passed in. |
void |
ContentBehavior.synchronizeContentPartChildren(IVisualPart<? extends javafx.scene.Node> parent,
java.util.List<? extends java.lang.Object> contentChildren)
Updates the host
IVisualPart 's IContentPart children (see
getChildrenUnmodifiable() ) so that it is in sync with
the set of content children that is passed in. |
IHandlePart<? extends javafx.scene.Node> |
AbstractBehavior.updateHandles(IVisualPart<? extends javafx.scene.Node> target,
java.util.Comparator<IHandlePart<? extends javafx.scene.Node>> interactedWithComparator,
IHandlePart<? extends javafx.scene.Node> interactedWith)
Updates the handles of the given target part.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBehavior.addAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds)
Adds the given anchoreds as children to the root part and anchors them to
the given target parts.
|
protected void |
AbstractBehavior.addAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds)
Adds the given anchoreds as children to the root part and anchors them to
the given target parts.
|
protected void |
FocusBehavior.addAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds) |
protected void |
FocusBehavior.addAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds) |
protected void |
AbstractBehavior.addAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds,
int insertionIndex)
Adds the given anchoreds as children to the root part and anchors them to
the given target parts.
|
protected void |
AbstractBehavior.addAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds,
int insertionIndex)
Adds the given anchoreds as children to the root part and anchors them to
the given target parts.
|
protected void |
AbstractBehavior.addFeedback(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Adds feedback for the given target parts.
|
protected void |
AbstractBehavior.addHandles(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Adds handles for the given target parts.
|
protected java.util.List<IFeedbackPart<? extends javafx.scene.Node>> |
AbstractBehavior.getFeedback(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Returns a list that contains all
IHandlePart s that were generated
for the given target parts by this IBehavior . |
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
AbstractBehavior.getHandles(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Returns a list that contains all
IHandlePart s that were generated
for the given target parts by this IBehavior . |
protected boolean |
AbstractBehavior.hasFeedback(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Returns
true if feedback was added for the given set of
target parts, even if no feedback parts were generated for the given set
of target parts. |
protected boolean |
AbstractBehavior.hasHandles(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Returns
true if handles were added for the given set of
target parts, even if no handle parts were generated for the given set of
target parts. |
protected void |
AbstractBehavior.removeAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds)
Removes the given anchoreds as children from the root part and as
anchoreds from the given target parts.
|
protected void |
AbstractBehavior.removeAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds)
Removes the given anchoreds as children from the root part and as
anchoreds from the given target parts.
|
protected void |
AbstractBehavior.removeFeedback(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Removes feedback for the given targets.
|
protected void |
AbstractBehavior.removeFeedback(java.util.Set<? extends IVisualPart<? extends javafx.scene.Node>> targetSet)
Removes feedback for the given target parts.
|
protected void |
AbstractBehavior.removeHandles(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Removes handles for the given target parts.
|
protected void |
AbstractBehavior.removeHandles(java.util.Set<? extends IVisualPart<? extends javafx.scene.Node>> targetSet)
Removes handles for the given target parts.
|
IHandlePart<? extends javafx.scene.Node> |
AbstractBehavior.updateHandles(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Comparator<IHandlePart<? extends javafx.scene.Node>> interactedWithComparator,
IHandlePart<? extends javafx.scene.Node> interactedWith)
Updates the handles of the given targets.
|
Modifier and Type | Method and Description |
---|---|
IVisualPart<? extends javafx.scene.Node> |
HoverModel.getHover()
Returns the currently hovered
IVisualPart or null if
no visual part is hovered. |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<IVisualPart<? extends javafx.scene.Node>> |
HoverModel.hoverProperty()
Returns an object property representing the current hover part.
|
Modifier and Type | Method and Description |
---|---|
void |
HoverModel.setHover(IVisualPart<? extends javafx.scene.Node> cp)
Sets the hovered
IVisualPart to the given value. |
Modifier and Type | Method and Description |
---|---|
void |
RevealOperation.setPart(IVisualPart<? extends javafx.scene.Node> part)
Sets the part that is to be revealed.
|
Constructor and Description |
---|
RevealOperation(IVisualPart<? extends javafx.scene.Node> part)
Constructs a new
RevealOperation that will reveal the given
IVisualPart upon execution. |
SetRefreshVisualOperation(IVisualPart<? extends javafx.scene.Node> part,
boolean from,
boolean to)
Creates a new
SetRefreshVisualOperation for setting the
isRefreshVisual() flag of the given
IVisualPart to the to value on execution and to the
from value on undoing. |
Modifier and Type | Interface and Description |
---|---|
interface |
IBendableContentPart<V extends javafx.scene.Node>
An
IContentPart that supports content related bend, i.e. manipulation
of control points. |
interface |
IContentPart<V extends javafx.scene.Node>
An
IVisualPart that visualizes an underlying content element. |
interface |
IFeedbackPart<V extends javafx.scene.Node>
An
IFeedbackPart is a controller that controls a visual, which is
used simply for feedback and does not correspond to anything in the
visualized model. |
interface |
IHandlePart<V extends javafx.scene.Node>
An
IHandlePart is a controller that controls a visual, which is used
simply for tool interaction and does not correspond to anything in the
visualized model. |
interface |
IResizableContentPart<V extends javafx.scene.Node>
An
IContentPart that supports content related resize. |
interface |
IRootPart<V extends javafx.scene.Node>
|
interface |
ITransformableContentPart<V extends javafx.scene.Node>
An
IContentPart that supports content related transformations. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContentPart<V extends javafx.scene.Node>
The
AbstractContentPart is an IContentPart implementation
that binds the VR type parameter (visual root type) to Node . |
class |
AbstractFeedbackPart<V extends javafx.scene.Node>
Abstract base implementation for a JavaFX-specific
IFeedbackPart . |
class |
AbstractHandlePart<V extends javafx.scene.Node>
Abstract base implementation for a JavaFX-specific
IHandlePart . |
class |
AbstractSegmentHandlePart<N extends javafx.scene.Node>
An
AbstractSegmentHandlePart is bound to a segment of a poly-bezier
handle geometry, represented by an array of BezierCurve s. |
class |
AbstractVisualPart<V extends javafx.scene.Node>
The
AbstractVisualPart is an abstract implementation of the
IVisualPart interface. |
class |
CircleSegmentHandlePart
|
class |
FocusFeedbackPart
The
FocusFeedbackPart visualizes focus feedback. |
class |
HoverFeedbackPart
|
class |
LayeredRootPart
The
LayeredRootPart is an IRootPart that manages a number of
layers for the visualization, namely, the content layer, feedback layer, and
handle layer. |
class |
RectangleSegmentHandlePart
An
AbstractSegmentHandlePart with a rectangular
Rectangle visual. |
class |
SelectionFeedbackPart
The
SelectionFeedbackPart is an AbstractFeedbackPart that is
parameterized by GeometryNode<IGeometry> . |
class |
SelectionLinkFeedbackPart
The
SelectionLinkFeedbackPart is an SelectionFeedbackPart
that uses a dotted line as its visualization. |
class |
SnappingFeedbackPart
The
SnappingFeedbackPart visualizes a
SnappingModel.SnappingLocation by drawing a red line at the
SnappingModel.SnappingLocation through the whole viewport. |
class |
SquareSegmentHandlePart
An
AbstractSegmentHandlePart with a quadratic
Rectangle visual. |
Modifier and Type | Method and Description |
---|---|
static <T extends IVisualPart<? extends javafx.scene.Node>> |
PartUtils.filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts,
java.lang.Class<T> type)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static <T extends IVisualPart<? extends javafx.scene.Node>> |
PartUtils.filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts,
java.util.function.Predicate<? super IVisualPart<? extends javafx.scene.Node>> filter)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
Modifier and Type | Method and Description |
---|---|
IVisualPart<? extends javafx.scene.Node> |
AbstractVisualPart.getParent()
Gets the value of the property parent.
|
IVisualPart<? extends javafx.scene.Node> |
IVisualPart.getParent()
Returns the parent of this part.
|
static IVisualPart<? extends javafx.scene.Node> |
PartUtils.retrieveVisualPart(IViewer viewer,
javafx.scene.Node target)
Returns the first
IVisualPart in the visual hierarchy of the
given Node . |
Modifier and Type | Method and Description |
---|---|
ReadOnlySetMultimapProperty<IVisualPart<? extends javafx.scene.Node>,java.lang.String> |
AbstractVisualPart.anchoragesUnmodifiableProperty() |
ReadOnlySetMultimapProperty<IVisualPart<? extends javafx.scene.Node>,java.lang.String> |
IVisualPart.anchoragesUnmodifiableProperty()
Returns a read-only set-multimap property containing this part's
anchorages and their corresponding roles.
|
ReadOnlyMultisetProperty<IVisualPart<? extends javafx.scene.Node>> |
AbstractVisualPart.anchoredsUnmodifiableProperty() |
ReadOnlyMultisetProperty<IVisualPart<? extends javafx.scene.Node>> |
IVisualPart.anchoredsUnmodifiableProperty()
Returns an unmodifiable read-only multiset property representing the
anchoreds of this
IVisualPart . |
javafx.beans.property.ReadOnlyListProperty<IVisualPart<? extends javafx.scene.Node>> |
AbstractVisualPart.childrenUnmodifiableProperty() |
javafx.beans.property.ReadOnlyListProperty<IVisualPart<? extends javafx.scene.Node>> |
IVisualPart.childrenUnmodifiableProperty()
Returns an unmodifiable read-only property containing the children of
this
IVisualPart . |
ObservableSetMultimap<IVisualPart<? extends javafx.scene.Node>,java.lang.String> |
AbstractVisualPart.getAnchoragesUnmodifiable()
Gets the value of the property anchoragesUnmodifiable.
|
ObservableSetMultimap<IVisualPart<? extends javafx.scene.Node>,java.lang.String> |
IVisualPart.getAnchoragesUnmodifiable()
Returns an unmodifiable
ObservableSetMultimap of this part's
anchorages and their corresponding roles. |
static java.util.List<IVisualPart<? extends javafx.scene.Node>> |
PartUtils.getAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> anchorages)
Collects the anchoreds of all given
IVisualPart s. |
static java.util.Set<IVisualPart<? extends javafx.scene.Node>> |
PartUtils.getAnchoreds(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role)
Collects the anchoreds of the given
IVisualPart which are
registered under the specified role. |
ObservableMultiset<IVisualPart<? extends javafx.scene.Node>> |
AbstractVisualPart.getAnchoredsUnmodifiable()
Gets the value of the property anchoredsUnmodifiable.
|
ObservableMultiset<IVisualPart<? extends javafx.scene.Node>> |
IVisualPart.getAnchoredsUnmodifiable()
Returns an unmodifiable
ObservableMultiset of this part's
anchoreds. |
javafx.collections.ObservableList<IVisualPart<? extends javafx.scene.Node>> |
AbstractVisualPart.getChildrenUnmodifiable()
Gets the value of the property childrenUnmodifiable.
|
javafx.collections.ObservableList<IVisualPart<? extends javafx.scene.Node>> |
IVisualPart.getChildrenUnmodifiable()
Returns an unmodifiable
ObservableList of this part's children. |
javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<? extends javafx.scene.Node>> |
AbstractVisualPart.parentProperty() |
javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<? extends javafx.scene.Node>> |
IVisualPart.parentProperty()
Returns a read-only property that refers to the parent of this
IVisualPart . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisualPart.addChild(IVisualPart<? extends javafx.scene.Node> child) |
void |
IVisualPart.addChild(IVisualPart<? extends javafx.scene.Node> child)
Adds the given child to the list of this part's children.
|
void |
AbstractVisualPart.addChild(IVisualPart<? extends javafx.scene.Node> child,
int index) |
void |
IVisualPart.addChild(IVisualPart<? extends javafx.scene.Node> child,
int index)
Adds the given child to the list of this part's children at the specified
index.
|
void |
AbstractVisualPart.attachAnchored(IVisualPart<? extends javafx.scene.Node> anchored) |
void |
IVisualPart.attachAnchored(IVisualPart<? extends javafx.scene.Node> anchored)
Used by an anchored
IVisualPart to establish an
anchorage-anchored relationship with this anchorage IVisualPart . |
void |
AbstractVisualPart.attachToAnchorage(IVisualPart<? extends javafx.scene.Node> anchorage) |
void |
IVisualPart.attachToAnchorage(IVisualPart<? extends javafx.scene.Node> anchorage)
Attaches the given
IVisualPart to the given anchorage under the
"default" role. |
void |
AbstractVisualPart.attachToAnchorage(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
void |
IVisualPart.attachToAnchorage(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role)
Attaches the given
IVisualPart to the given anchorage under the
given role. |
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForCurve(IVisualPart<? extends javafx.scene.Node> target,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
Creates hover handle parts for a handle geometry that is an
ICurve . |
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForPolygonalOutline(IVisualPart<? extends javafx.scene.Node> target,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
|
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForRectangularOutline(IVisualPart<? extends javafx.scene.Node> target,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
Creates hover handle parts for a handle geometry that is a
Rectangle . |
protected IFeedbackPart<? extends javafx.scene.Node> |
DefaultSelectionFeedbackPartFactory.createLinkFeedbackPart(IVisualPart<? extends javafx.scene.Node> anchorage,
Provider<? extends IGeometry> anchorageLinkFeedbackGeometryProvider,
IVisualPart<? extends javafx.scene.Node> anchored,
Provider<? extends IGeometry> anchoredLinkFeedbackGeometryProvider,
java.lang.String role)
Creates a feedback-line between an anchored part and its anchorage.
|
protected IFeedbackPart<? extends javafx.scene.Node> |
DefaultSelectionFeedbackPartFactory.createLinkFeedbackPart(IVisualPart<? extends javafx.scene.Node> anchorage,
Provider<? extends IGeometry> anchorageLinkFeedbackGeometryProvider,
IVisualPart<? extends javafx.scene.Node> anchored,
Provider<? extends IGeometry> anchoredLinkFeedbackGeometryProvider,
java.lang.String role)
Creates a feedback-line between an anchored part and its anchorage.
|
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultSelectionHandlePartFactory.createSingleSelectionHandleParts(IVisualPart<? extends javafx.scene.Node> target,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a single selection.
|
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForCurve(IVisualPart<? extends javafx.scene.Node> target,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
Creates handle parts for a single selection of which the handle geometry
is an
ICurve . |
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForPolygonalOutline(IVisualPart<? extends javafx.scene.Node> target,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
|
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForRectangularOutline(IVisualPart<? extends javafx.scene.Node> target,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
Creates handle parts for a single selection of which the handle geometry
is a
Rectangle . |
void |
AbstractVisualPart.detachAnchored(IVisualPart<? extends javafx.scene.Node> anchored) |
void |
IVisualPart.detachAnchored(IVisualPart<? extends javafx.scene.Node> anchored)
Used by an anchored
IVisualPart to unestablish an
anchorage-anchored relationship with this anchorage IVisualPart . |
void |
AbstractVisualPart.detachFromAnchorage(IVisualPart<? extends javafx.scene.Node> anchorage) |
void |
IVisualPart.detachFromAnchorage(IVisualPart<? extends javafx.scene.Node> anchorage)
Detaches this
IVisualPart from the given anchorage
IVisualPart under the 'default' role. |
void |
AbstractVisualPart.detachFromAnchorage(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
void |
IVisualPart.detachFromAnchorage(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role)
Detaches this
IVisualPart from the given anchorage
IVisualPart under the given role. |
protected IViewer |
AbstractVisualPart.determineViewer(IVisualPart<? extends javafx.scene.Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds)
Determines the viewer reference via the given parent or any of the given
anchoreds.
|
protected IViewer |
LayeredRootPart.determineViewer(IVisualPart<? extends javafx.scene.Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds) |
protected void |
AbstractVisualPart.doAddChildVisual(IVisualPart<? extends javafx.scene.Node> child,
int index)
Performs the addition of the child's visual to this
IVisualPart 's visual. |
protected void |
AbstractHandlePart.doAddChildVisual(IVisualPart<? extends javafx.scene.Node> child,
int index) |
protected void |
AbstractFeedbackPart.doAddChildVisual(IVisualPart<? extends javafx.scene.Node> child,
int index) |
protected void |
LayeredRootPart.doAddChildVisual(IVisualPart<? extends javafx.scene.Node> child,
int index) |
protected void |
AbstractVisualPart.doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role)
Attaches this part's visual to the visual of the given anchorage.
|
protected void |
AbstractHandlePart.doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
AbstractFeedbackPart.doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
SnappingFeedbackPart.doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
LayeredRootPart.doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
AbstractVisualPart.doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role)
Detaches this part's visual from the visual of the given anchorage.
|
protected void |
AbstractHandlePart.doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
AbstractFeedbackPart.doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
SnappingFeedbackPart.doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
LayeredRootPart.doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
AbstractVisualPart.doRemoveChildVisual(IVisualPart<? extends javafx.scene.Node> child,
int index)
Removes the child's visual from this
IVisualPart 's visual. |
protected void |
AbstractHandlePart.doRemoveChildVisual(IVisualPart<? extends javafx.scene.Node> child,
int index) |
protected void |
AbstractFeedbackPart.doRemoveChildVisual(IVisualPart<? extends javafx.scene.Node> child,
int index) |
protected void |
LayeredRootPart.doRemoveChildVisual(IVisualPart<? extends javafx.scene.Node> child,
int index) |
static java.util.Set<IVisualPart<? extends javafx.scene.Node>> |
PartUtils.getAnchoreds(IVisualPart<? extends javafx.scene.Node> anchorage,
java.lang.String role)
Collects the anchoreds of the given
IVisualPart which are
registered under the specified role. |
void |
AbstractVisualPart.removeChild(IVisualPart<? extends javafx.scene.Node> child) |
void |
IVisualPart.removeChild(IVisualPart<? extends javafx.scene.Node> child)
Removes the given
IVisualPart from the list of this part's
children. |
void |
AbstractVisualPart.reorderChild(IVisualPart<? extends javafx.scene.Node> child,
int index) |
void |
IVisualPart.reorderChild(IVisualPart<? extends javafx.scene.Node> child,
int index)
Swaps the given
IVisualPart with the part at the given index
position within this part's list of children. |
void |
AbstractVisualPart.setParent(IVisualPart<? extends javafx.scene.Node> newParent)
Sets the parent
IVisualPart . |
void |
IVisualPart.setParent(IVisualPart<? extends javafx.scene.Node> parent)
Used by a parent
IVisualPart to establish/unestablish a
parent-child relationship with this child IVisualPart . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisualPart.addChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children) |
void |
IVisualPart.addChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children)
Adds the given children to the list of this part's children.
|
void |
AbstractVisualPart.addChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children,
int index) |
void |
IVisualPart.addChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children,
int index)
Adds the given children to the list of this part's children at the
specified index.
|
java.util.List<IFeedbackPart<? extends javafx.scene.Node>> |
DefaultSelectionFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IFeedbackPart<? extends javafx.scene.Node>> |
DefaultSnappingFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IFeedbackPart<? extends javafx.scene.Node>> |
IFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specific
IFeedbackPart s for the given targets. |
java.util.List<IFeedbackPart<? extends javafx.scene.Node>> |
DefaultHoverFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IFeedbackPart<? extends javafx.scene.Node>> |
DefaultFocusFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultHoverIntentHandlePartFactory.createHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultSelectionHandlePartFactory.createHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IHandlePart<? extends javafx.scene.Node>> |
IHandlePartFactory.createHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specific
IHandlePart s for the given targets. |
protected java.util.List<IHandlePart<? extends javafx.scene.Node>> |
DefaultSelectionHandlePartFactory.createMultiSelectionHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a multi selection.
|
protected IViewer |
AbstractVisualPart.determineViewer(IVisualPart<? extends javafx.scene.Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds)
Determines the viewer reference via the given parent or any of the given
anchoreds.
|
protected IViewer |
LayeredRootPart.determineViewer(IVisualPart<? extends javafx.scene.Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds) |
static <T extends IVisualPart<? extends javafx.scene.Node>> |
PartUtils.filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts,
java.lang.Class<T> type)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static <T extends IVisualPart<? extends javafx.scene.Node>> |
PartUtils.filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts,
java.util.function.Predicate<? super IVisualPart<? extends javafx.scene.Node>> filter)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static <T extends IVisualPart<? extends javafx.scene.Node>> |
PartUtils.filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts,
java.util.function.Predicate<? super IVisualPart<? extends javafx.scene.Node>> filter)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static java.util.List<IVisualPart<? extends javafx.scene.Node>> |
PartUtils.getAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> anchorages)
Collects the anchoreds of all given
IVisualPart s. |
static Rectangle |
PartUtils.getUnionedVisualBoundsInScene(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts)
Returns the unioned visual bounds of the given
IVisualPart s in
the coordinate system of the Scene . |
void |
AbstractVisualPart.removeChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children) |
void |
IVisualPart.removeChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children)
Removes the given
IVisualPart s from the list of this part's
children. |
Modifier and Type | Method and Description |
---|---|
default IVisualPart<? extends javafx.scene.Node> |
IPolicy.getHost()
|
Modifier and Type | Method and Description |
---|---|
IContentPart<? extends javafx.scene.Node> |
CreationPolicy.create(java.lang.Object content,
IVisualPart<? extends javafx.scene.Node> parent,
int index,
com.google.common.collect.SetMultimap<IContentPart<? extends javafx.scene.Node>,java.lang.String> anchoreds,
boolean doFocus,
boolean doSelect)
Creates an
IContentPart for the given content Object and
establishes parent and anchored relationships for the newly created part. |
IContentPart<? extends javafx.scene.Node> |
CreationPolicy.create(java.lang.Object content,
IVisualPart<? extends javafx.scene.Node> parent,
com.google.common.collect.SetMultimap<IContentPart<? extends javafx.scene.Node>,java.lang.String> anchoreds)
Creates an
IContentPart for the given content Object and
establishes parent and anchored relationships for the newly created part. |
void |
ContentPolicy.setAdaptable(IVisualPart<? extends javafx.scene.Node> adaptable) |
Modifier and Type | Method and Description |
---|---|
IAnchor |
IAnchorProvider.get(IVisualPart<? extends javafx.scene.Node> anchoredPart,
java.lang.String role)
Returns an
IAnchor that should be used to provide a position for
the given anchored IVisualPart and the given role. |
IAnchor |
DefaultAnchorProvider.get(IVisualPart<? extends javafx.scene.Node> anchoredPart,
java.lang.String role) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<javafx.scene.Node,IVisualPart<? extends javafx.scene.Node>> |
InfiniteCanvasViewer.getVisualPartMap() |
java.util.Map<javafx.scene.Node,IVisualPart<? extends javafx.scene.Node>> |
IViewer.getVisualPartMap()
Returns the
Map for registering IVisualPart s by their
visual. |
javafx.beans.property.ReadOnlyMapProperty<javafx.scene.Node,IVisualPart<? extends javafx.scene.Node>> |
InfiniteCanvasViewer.visualPartMapProperty() |
javafx.beans.property.ReadOnlyMapProperty<javafx.scene.Node,IVisualPart<? extends javafx.scene.Node>> |
IViewer.visualPartMapProperty()
Returns an unmodifiable read-only map property that contains the
registered
IVisualPart s mapped to their respective visual. |
Modifier and Type | Method and Description |
---|---|
void |
InfiniteCanvasViewer.reveal(IVisualPart<? extends javafx.scene.Node> visualPart) |
void |
IViewer.reveal(IVisualPart<? extends javafx.scene.Node> visualPart)
Ensure that the visual of the given
IVisualPart is visible in
this viewer. |
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.