Package | Description |
---|---|
org.eclipse.gef4.mvc.behaviors |
This package contains the
IBehavior
and AbstractBehavior definitions. |
org.eclipse.gef4.mvc.fx.behaviors |
This package contains JavaFX/MVC.FX-specific
IBehavior implementations. |
org.eclipse.gef4.mvc.fx.operations |
This package contains all
IUndoableOperation
implementations contributed by MVC.FX. |
org.eclipse.gef4.mvc.fx.parts |
This package contains all JavaFX-specific
IContentPart ,
IVisualPart ,
IFeedbackPart , and
IHandlePart implementations and related
classes. |
org.eclipse.gef4.mvc.fx.policies |
This package contains all
IPolicy
implementations contributed by MVC.FX. |
org.eclipse.gef4.mvc.fx.viewer | |
org.eclipse.gef4.mvc.models |
This package contains all viewer models, i.e. the data constituting a viewer
state.
|
org.eclipse.gef4.mvc.operations |
This package contains implementations of
IUndoableOperation which can be
used to manipulate the default models, especially content creation and
removal. |
org.eclipse.gef4.mvc.parts |
This package contains all abstractions related to controllers (aka parts) in
a model-view-controller architecture.
|
org.eclipse.gef4.mvc.policies |
This package contains the
IPolicy (and
AbstractPolicy ) abstraction and
concrete implementations for the manipulation of the
ContentModel :
ContentPolicy ,
CreationPolicy , and
DeletionPolicy . |
org.eclipse.gef4.mvc.viewer |
This package contains the
IViewer
abstraction and the related
AbstractViewer realization. |
Modifier and Type | Method and Description |
---|---|
IVisualPart<VR,? extends VR> |
AbstractBehavior.getAdaptable()
Gets the value of the property adaptable.
|
IVisualPart<VR,? extends VR> |
IBehavior.getHost()
Returns the host
IVisualPart of this IBehavior , i.e. the
part where this behavior is registered as an adapter. |
IVisualPart<VR,? extends VR> |
AbstractBehavior.getHost() |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<VR,? extends VR>> |
AbstractBehavior.adaptableProperty() |
Modifier and Type | Method and Description |
---|---|
protected void |
HoverBehavior.onHoverChange(IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered)
Called when the
HoverModel changes, i.e. a part is unhovered or
hovered. |
protected void |
HoverBehavior.onHoverChange(IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered)
Called when the
HoverModel changes, i.e. a part is unhovered or
hovered. |
void |
AbstractBehavior.setAdaptable(IVisualPart<VR,? extends VR> adaptable)
Sets the value of the property adaptable.
|
protected IHandlePart<VR,? extends VR> |
AbstractBehavior.updateHandles(IVisualPart<VR,? extends VR> target,
java.util.List<? extends IHandlePart<VR,? extends VR>> handles,
java.util.Comparator<IHandlePart<VR,? extends VR>> interactedWithComparator,
IHandlePart<VR,? extends VR> interactedWith)
Updates the handle parts for the given target.
|
Modifier and Type | Method and Description |
---|---|
static <VR> void |
BehaviorUtils.addAnchoreds(IRootPart<VR,? extends VR> root,
java.util.List<? extends IVisualPart<VR,? extends VR>> anchorages,
java.util.List<? extends IVisualPart<VR,? extends VR>> anchoreds)
Adds the given list of anchoreds as children to the given
IRootPart . |
static <VR> void |
BehaviorUtils.addAnchoreds(IRootPart<VR,? extends VR> root,
java.util.List<? extends IVisualPart<VR,? extends VR>> anchorages,
java.util.List<? extends IVisualPart<VR,? extends VR>> anchoreds)
Adds the given list of anchoreds as children to the given
IRootPart . |
protected void |
AbstractBehavior.addFeedback(java.util.List<? extends IVisualPart<VR,? extends VR>> targets,
java.util.List<? extends IFeedbackPart<VR,? extends VR>> feedback)
Adds the given
IFeedbackPart s to the root part of the
AbstractBehavior.getHost() . |
protected void |
AbstractBehavior.addHandles(java.util.List<? extends IVisualPart<VR,? extends VR>> targets,
java.util.List<? extends IHandlePart<VR,? extends VR>> handles)
Adds the given
IHandlePart s to the root part of the
AbstractBehavior.getHost() . |
static <VR> void |
BehaviorUtils.removeAnchoreds(IRootPart<VR,? extends VR> root,
java.util.List<? extends IVisualPart<VR,? extends VR>> anchorages,
java.util.List<? extends IVisualPart<VR,? extends VR>> anchoreds)
Removes the given list of anchoreds as children from the given
IRootPart . |
static <VR> void |
BehaviorUtils.removeAnchoreds(IRootPart<VR,? extends VR> root,
java.util.List<? extends IVisualPart<VR,? extends VR>> anchorages,
java.util.List<? extends IVisualPart<VR,? extends VR>> anchoreds)
Removes the given list of anchoreds as children from the given
IRootPart . |
protected void |
AbstractBehavior.removeFeedback(java.util.List<? extends IVisualPart<VR,? extends VR>> targets)
Removes the feedback parts previously created for the given target parts.
|
protected void |
AbstractBehavior.removeHandles(java.util.List<? extends IVisualPart<VR,? extends VR>> targets)
Removes the handle parts previously created for the given target parts.
|
Modifier and Type | Method and Description |
---|---|
IVisualPart<javafx.scene.Node,Connection> |
FXConnectionClickableAreaBehavior.getHost() |
Modifier and Type | Method and Description |
---|---|
static boolean |
FXHoverBehavior.isContained(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> rootParts,
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Searches for the specified part in the given list of root parts.
|
protected boolean |
FXHoverBehavior.isHostOrHoverHandlePart(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Returns
true if the given IVisualPart is either the
host or a handle part controlled by this behavior (
AbstractBehavior.getHandleParts() ). |
protected void |
FXHoverBehavior.onHoverChange(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> oldHovered,
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> newHovered) |
protected void |
FXHoverBehavior.onHoverChange(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> oldHovered,
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> newHovered) |
Modifier and Type | Method and Description |
---|---|
protected void |
FXHoverBehavior.addFeedback(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
java.util.List<? extends IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node>> feedback) |
static boolean |
FXHoverBehavior.isContained(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> rootParts,
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Searches for the specified part in the given list of root parts.
|
protected void |
FXHoverBehavior.removeFeedback(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets) |
protected void |
FXHoverBehavior.removeHandles(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets) |
Modifier and Type | Method and Description |
---|---|
void |
FXRevealOperation.setPart(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Sets the part that is to be revealed.
|
Constructor and Description |
---|
FXRevealOperation(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Constructs a new
FXRevealOperation that will reveal the given
IVisualPart upon execution. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFXContentPart<V extends javafx.scene.Node>
The
AbstractFXContentPart is an IContentPart implementation
that binds the VR type parameter (visual root type) to Node . |
class |
AbstractFXFeedbackPart<V extends javafx.scene.Node>
Abstract base implementation for a JavaFX-specific
IFeedbackPart . |
class |
AbstractFXHandlePart<V extends javafx.scene.Node>
Abstract base implementation for a JavaFX-specific
IHandlePart . |
class |
AbstractFXRootPart<N extends javafx.scene.Node>
Abstract base implementation for a JavaFX-specific
IRootPart . |
class |
AbstractFXSegmentHandlePart<N extends javafx.scene.Node>
An
AbstractFXSegmentHandlePart is bound to a segment of a poly-bezier
handle geometry, represented by an array of BezierCurve s. |
class |
FXCircleSegmentHandlePart
The
FXCircleSegmentHandlePart is an
AbstractFXSegmentHandlePart that uses Circle for the
visualization. |
class |
FXFocusFeedbackPart
The
FXFocusFeedbackPart visualizes focus feedback. |
class |
FXHoverFeedbackPart
The
FXHoverFeedbackPart is an AbstractFXFeedbackPart that is
parameterized by GeometryNode<IGeometry> . |
class |
FXRectangleSegmentHandlePart
An
AbstractFXSegmentHandlePart with a rectangular
Rectangle visual. |
class |
FXRootPart
|
class |
FXSelectionFeedbackPart
The
FXSelectionFeedbackPart is an AbstractFXFeedbackPart that
is parameterized by GeometryNode<IGeometry> . |
class |
FXSelectionLinkFeedbackPart
The
FXSelectionLinkFeedbackPart is an FXSelectionFeedbackPart
that uses a dotted line as its visualization. |
class |
FXSquareSegmentHandlePart
An
AbstractFXSegmentHandlePart with a quadratic
Rectangle visual. |
Modifier and Type | Method and Description |
---|---|
static IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXPartUtils.retrieveVisualPart(IViewer<javafx.scene.Node> viewer,
javafx.scene.Node target)
Returns the first
IVisualPart in the visual hierarchy of the
given Node . |
Modifier and Type | Method and Description |
---|---|
protected void |
FXRootPart.addChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child,
int index) |
protected void |
AbstractFXHandlePart.attachToAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
AbstractFXFeedbackPart.attachToAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHoverHandlePartFactory.createHoverHandlePartsForCurve(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
com.google.inject.Provider<BezierCurve[]> segmentsProvider)
Creates hover handle parts for a handle geometry that is an
ICurve . |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHoverHandlePartFactory.createHoverHandlePartsForPolygonalOutline(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
com.google.inject.Provider<BezierCurve[]> segmentsProvider)
|
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHoverHandlePartFactory.createHoverHandlePartsForRectangularOutline(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
com.google.inject.Provider<BezierCurve[]> segmentsProvider)
Creates hover handle parts for a handle geometry that is a
Rectangle . |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultSelectionHandlePartFactory.createSingleSelectionHandleParts(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a single selection.
|
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForCurve(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
com.google.inject.Provider<BezierCurve[]> segmentsProvider)
Creates handle parts for a single selection of which the handle geometry
is an
ICurve . |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForPolygonalOutline(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
com.google.inject.Provider<BezierCurve[]> segmentsProvider)
|
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForRectangularOutline(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
com.google.inject.Provider<BezierCurve[]> segmentsProvider)
Creates handle parts for a single selection of which the handle geometry
is a
Rectangle . |
protected void |
AbstractFXHandlePart.detachFromAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
AbstractFXFeedbackPart.detachFromAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
FXRootPart.removeChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child,
int index) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultSelectionFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHoverFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultFocusFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultSelectionHandlePartFactory.createHandleParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHoverHandlePartFactory.createHandleParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap) |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultSelectionHandlePartFactory.createMultiSelectionHandleParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
IBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a multi selection.
|
static Rectangle |
FXPartUtils.getUnionedVisualBoundsInScene(java.util.Collection<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> parts)
Returns the unioned visual bounds of the given
IVisualPart s in
the coordinate system of the Scene . |
Modifier and Type | Method and Description |
---|---|
protected IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXResizeTranslateFirstAnchorageOnHandleDragPolicy.determineTargetPart()
Returns the target
IVisualPart for this policy. |
IVisualPart<javafx.scene.Node,Connection> |
FXBendConnectionPolicy.getHost() |
IVisualPart<javafx.scene.Node,Connection> |
FXBendOnSegmentDragPolicy.getHost() |
IVisualPart<javafx.scene.Node,Connection> |
FXTransformConnectionPolicy.getHost() |
IVisualPart<javafx.scene.Node,Connection> |
FXResizeConnectionPolicy.getHost() |
protected IVisualPart<javafx.scene.Node,? extends Connection> |
FXBendFirstAnchorageOnSegmentHandleDragPolicy.getTargetPart()
Returns the target
IVisualPart for this policy. |
protected IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXResizeTranslateFirstAnchorageOnHandleDragPolicy.getTargetPart()
Returns the target part of this policy.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXNormalizeConnectedOnDragPolicy.determineTargetParts()
Determines the target parts for this policy.
|
Modifier and Type | Method and Description |
---|---|
protected Angle |
FXRotateSelectedOnHandleDragPolicy.computeRotationAngleCW(javafx.scene.input.MouseEvent e,
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Computes the clock-wise rotation angle based on the initial mouse
position and the actual mouse position.
|
protected FXBendConnectionPolicy |
FXBendFirstAnchorageOnSegmentHandleDragPolicy.getBendPolicy(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
Returns the
FXBendConnectionPolicy that is installed on the given
IVisualPart . |
protected FXTransformPolicy |
FXRotateSelectedOnRotatePolicy.getTransformPolicy(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Returns the
FXTransformPolicy that is installed on the given
IVisualPart . |
protected FXTransformPolicy |
FXRotateSelectedOnHandleDragPolicy.getTransformPolicy(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Returns the
FXTransformPolicy that is installed on the given
IVisualPart . |
protected void |
FXResizeTranslateFirstAnchorageOnHandleDragPolicy.setTargetPart(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> determinedTargetPart)
Sets the target part (i.e. the part that is resized and translated) of
this policy to the given value.
|
Modifier and Type | Method and Description |
---|---|
void |
FXViewer.reveal(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> visualPart) |
Modifier and Type | Method and Description |
---|---|
IVisualPart<VR,? extends VR> |
HoverModel.getHover()
Returns the currently hovered
IContentPart or null
if no visual part is hovered. |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<IVisualPart<VR,? extends VR>> |
HoverModel.hoverProperty()
Returns an object property representing the current hover part.
|
Modifier and Type | Method and Description |
---|---|
void |
HoverModel.setHover(IVisualPart<VR,? extends VR> cp)
Sets the hovered
IVisualPart to the given value. |
Constructor and Description |
---|
SetRefreshVisualOperation(IVisualPart<VR,? extends VR> 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<VR,V extends VR>
An
IContentPart that supports content related bend, i.e. manipulation
of control points. |
interface |
IContentPart<VR,V extends VR>
An
IVisualPart that visualizes an underlying content element. |
interface |
IFeedbackPart<VR,V extends VR>
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<VR,V extends VR>
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<VR,V extends VR>
An
IContentPart that supports content related resize. |
interface |
IRootPart<VR,V extends VR>
|
interface |
ITransformableContentPart<VR,V extends VR>
An
IContentPart that supports content related transformations. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContentPart<VR,V extends VR>
The abstract base implementation of
IContentPart , intended to be
sub-classed by clients to create their own custom IContentPart . |
class |
AbstractFeedbackPart<VR,V extends VR>
The abstract base implementation of
IFeedbackPart , intended to be
sub-classed by clients to create their own custom IFeedbackPart . |
class |
AbstractHandlePart<VR,V extends VR>
The abstract base implementation of
IHandlePart , intended to be
sub-classed by clients to create their own custom IHandlePart . |
class |
AbstractRootPart<VR,V extends VR>
|
class |
AbstractVisualPart<VR,V extends VR>
The
AbstractVisualPart is an abstract implementation of the
IVisualPart interface. |
Modifier and Type | Method and Description |
---|---|
static <T extends IVisualPart<VR,? extends VR>,VR> |
PartUtils.filterParts(java.util.Collection<? extends IVisualPart<VR,? extends VR>> parts,
java.lang.Class<T> type)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
Modifier and Type | Method and Description |
---|---|
IVisualPart<VR,? extends VR> |
AbstractVisualPart.getParent()
Gets the value of the property parent.
|
IVisualPart<VR,? extends VR> |
IVisualPart.getParent()
Returns the parent of this part.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlySetMultimapProperty<IVisualPart<VR,? extends VR>,java.lang.String> |
AbstractVisualPart.anchoragesUnmodifiableProperty() |
ReadOnlySetMultimapProperty<IVisualPart<VR,? extends VR>,java.lang.String> |
IVisualPart.anchoragesUnmodifiableProperty()
Returns a read-only set-multimap property containing this part's
anchorages and their corresponding roles.
|
ReadOnlyMultisetProperty<IVisualPart<VR,? extends VR>> |
AbstractVisualPart.anchoredsUnmodifiableProperty() |
ReadOnlyMultisetProperty<IVisualPart<VR,? extends VR>> |
IVisualPart.anchoredsUnmodifiableProperty()
Returns an unmodifiable read-only multiset property representing the
anchoreds of this
IVisualPart . |
javafx.beans.property.ReadOnlyListProperty<IVisualPart<VR,? extends VR>> |
AbstractVisualPart.childrenProperty() |
javafx.beans.property.ReadOnlyListProperty<IVisualPart<VR,? extends VR>> |
IVisualPart.childrenProperty()
Returns a read-only property containing the children of this
IVisualPart . |
ObservableSetMultimap<IVisualPart<VR,? extends VR>,java.lang.String> |
AbstractVisualPart.getAnchoragesUnmodifiable()
Gets the value of the property anchoragesUnmodifiable.
|
ObservableSetMultimap<IVisualPart<VR,? extends VR>,java.lang.String> |
IVisualPart.getAnchoragesUnmodifiable()
Returns an unmodifiable
ObservableSetMultimap of this part's
anchorages and their corresponding roles. |
static <VR> java.util.List<IVisualPart<VR,? extends VR>> |
PartUtils.getAnchoreds(java.util.Collection<? extends IVisualPart<VR,? extends VR>> anchorages)
Collects the anchoreds of all given
IVisualPart s. |
static <VR> java.util.Set<IVisualPart<VR,? extends VR>> |
PartUtils.getAnchoreds(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role)
Collects the anchoreds of the given
IVisualPart which are
registered under the specified role. |
ObservableMultiset<IVisualPart<VR,? extends VR>> |
AbstractVisualPart.getAnchoredsUnmodifiable()
Gets the value of the property anchoredsUnmodifiable.
|
ObservableMultiset<IVisualPart<VR,? extends VR>> |
IVisualPart.getAnchoredsUnmodifiable()
Returns an unmodifiable
ObservableMultiset of this part's
anchoreds. |
javafx.collections.ObservableList<IVisualPart<VR,? extends VR>> |
AbstractVisualPart.getChildrenUnmodifiable() |
javafx.collections.ObservableList<IVisualPart<VR,? extends VR>> |
IVisualPart.getChildrenUnmodifiable()
Returns an unmodifiable
ObservableList of this part's children. |
javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<VR,? extends VR>> |
AbstractVisualPart.parentProperty() |
javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<VR,? extends VR>> |
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<VR,? extends VR> child) |
void |
IVisualPart.addChild(IVisualPart<VR,? extends VR> child)
Adds the given child to the list of this part's children.
|
void |
AbstractVisualPart.addChild(IVisualPart<VR,? extends VR> child,
int index) |
void |
IVisualPart.addChild(IVisualPart<VR,? extends VR> child,
int index)
Adds the given child to the list of this part's children at the specified
index.
|
protected void |
AbstractVisualPart.addChildVisual(IVisualPart<VR,? extends VR> child,
int index)
Performs the addition of the child's visual to this
IVisualPart 's visual. |
protected void |
AbstractHandlePart.addChildVisual(IVisualPart<VR,? extends VR> child,
int index) |
protected void |
AbstractFeedbackPart.addChildVisual(IVisualPart<VR,? extends VR> child,
int index) |
void |
AbstractVisualPart.attachAnchored(IVisualPart<VR,? extends VR> anchored) |
void |
IVisualPart.attachAnchored(IVisualPart<VR,? extends VR> anchored)
Used by an anchored
IVisualPart to establish an
anchorage-anchored relationship with this anchorage IVisualPart . |
void |
AbstractVisualPart.attachToAnchorage(IVisualPart<VR,? extends VR> anchorage) |
void |
IVisualPart.attachToAnchorage(IVisualPart<VR,? extends VR> anchorage)
Attaches the given
IVisualPart to the given anchorage under the
"default" role. |
void |
AbstractVisualPart.attachToAnchorage(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role) |
void |
IVisualPart.attachToAnchorage(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role)
Attaches the given
IVisualPart to the given anchorage under the
given role. |
protected void |
AbstractVisualPart.attachToAnchorageVisual(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role)
Attaches this part's visual to the visual of the given anchorage.
|
protected void |
AbstractRootPart.attachToAnchorageVisual(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role) |
void |
AbstractVisualPart.detachAnchored(IVisualPart<VR,? extends VR> anchored) |
void |
IVisualPart.detachAnchored(IVisualPart<VR,? extends VR> anchored)
Used by an anchored
IVisualPart to unestablish an
anchorage-anchored relationship with this anchorage IVisualPart . |
void |
AbstractVisualPart.detachFromAnchorage(IVisualPart<VR,? extends VR> anchorage) |
void |
IVisualPart.detachFromAnchorage(IVisualPart<VR,? extends VR> anchorage)
Detaches this
IVisualPart from the given anchorage
IVisualPart under the 'default' role. |
void |
AbstractVisualPart.detachFromAnchorage(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role) |
void |
IVisualPart.detachFromAnchorage(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role)
Detaches this
IVisualPart from the given anchorage
IVisualPart under the given role. |
protected void |
AbstractVisualPart.detachFromAnchorageVisual(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role)
Detaches this part's visual from the visual of the given anchorage.
|
protected void |
AbstractRootPart.detachFromAnchorageVisual(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role) |
protected IViewer<VR> |
AbstractVisualPart.determineViewer(IVisualPart<VR,? extends VR> parent,
com.google.common.collect.Multiset<IVisualPart<VR,? extends VR>> anchoreds)
Determines the viewer reference via the given parent or any of the given
anchoreds.
|
static <VR> java.util.Set<IVisualPart<VR,? extends VR>> |
PartUtils.getAnchoreds(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role)
Collects the anchoreds of the given
IVisualPart which are
registered under the specified role. |
void |
AbstractVisualPart.removeChild(IVisualPart<VR,? extends VR> child) |
void |
IVisualPart.removeChild(IVisualPart<VR,? extends VR> child)
Removes the given
IVisualPart from the list of this part's
children. |
protected void |
AbstractVisualPart.removeChildVisual(IVisualPart<VR,? extends VR> child,
int index)
Removes the child's visual from this
IVisualPart 's visual. |
protected void |
AbstractHandlePart.removeChildVisual(IVisualPart<VR,? extends VR> child,
int index) |
protected void |
AbstractFeedbackPart.removeChildVisual(IVisualPart<VR,? extends VR> child,
int index) |
void |
AbstractVisualPart.reorderChild(IVisualPart<VR,? extends VR> child,
int index) |
void |
IVisualPart.reorderChild(IVisualPart<VR,? extends VR> 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<VR,? extends VR> newParent)
Sets the parent
IVisualPart . |
void |
IVisualPart.setParent(IVisualPart<VR,? extends VR> 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<VR,? extends VR>> children) |
void |
IVisualPart.addChildren(java.util.List<? extends IVisualPart<VR,? extends VR>> children)
Adds the given children to the list of this part's children.
|
void |
AbstractVisualPart.addChildren(java.util.List<? extends IVisualPart<VR,? extends VR>> children,
int index) |
void |
IVisualPart.addChildren(java.util.List<? extends IVisualPart<VR,? extends VR>> children,
int index)
Adds the given children to the list of this part's children at the
specified index.
|
java.util.List<IFeedbackPart<VR,? extends VR>> |
IFeedbackPartFactory.createFeedbackParts(java.util.List<? extends IVisualPart<VR,? extends VR>> targets,
IBehavior<VR> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specific
IFeedbackPart s for the given targets. |
java.util.List<IHandlePart<VR,? extends VR>> |
IHandlePartFactory.createHandleParts(java.util.List<? extends IVisualPart<VR,? extends VR>> targets,
IBehavior<VR> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specific
IHandlePart s for the given targets. |
protected IViewer<VR> |
AbstractVisualPart.determineViewer(IVisualPart<VR,? extends VR> parent,
com.google.common.collect.Multiset<IVisualPart<VR,? extends VR>> anchoreds)
Determines the viewer reference via the given parent or any of the given
anchoreds.
|
static <T extends IVisualPart<VR,? extends VR>,VR> |
PartUtils.filterParts(java.util.Collection<? extends IVisualPart<VR,? extends VR>> parts,
java.lang.Class<T> type)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static <VR> java.util.List<IVisualPart<VR,? extends VR>> |
PartUtils.getAnchoreds(java.util.Collection<? extends IVisualPart<VR,? extends VR>> anchorages)
Collects the anchoreds of all given
IVisualPart s. |
void |
AbstractVisualPart.removeChildren(java.util.List<? extends IVisualPart<VR,? extends VR>> children) |
void |
IVisualPart.removeChildren(java.util.List<? extends IVisualPart<VR,? extends VR>> children)
Removes the given
IVisualPart s from the list of this part's
children. |
Modifier and Type | Method and Description |
---|---|
IVisualPart<VR,? extends VR> |
AbstractPolicy.getAdaptable()
Gets the value of the property adaptable.
|
IVisualPart<VR,? extends VR> |
IPolicy.getHost()
|
IVisualPart<VR,? extends VR> |
AbstractPolicy.getHost() |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<VR,? extends VR>> |
AbstractPolicy.adaptableProperty() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractInteractionPolicy.restoreRefreshVisuals(IVisualPart<VR,? extends VR> part)
Restores that the given
IVisualPart refreshes its visual if this
was the case prior to disabling the refresh of visuals. |
void |
ContentPolicy.setAdaptable(IVisualPart<VR,? extends VR> adaptable) |
void |
AbstractPolicy.setAdaptable(IVisualPart<VR,? extends VR> adaptable)
Sets the value of the property adaptable.
|
protected void |
AbstractInteractionPolicy.storeAndDisableRefreshVisuals(IVisualPart<VR,? extends VR> part)
Disable that the given
IVisualPart refreshes its visual, if this
was not already the case (see
setRefreshVisual(boolean) ). |
Modifier and Type | Method and Description |
---|---|
java.util.Map<VR,IVisualPart<VR,? extends VR>> |
IViewer.getVisualPartMap()
Returns the
Map for registering IVisualPart s by their
visual. |
java.util.Map<VR,IVisualPart<VR,? extends VR>> |
AbstractViewer.getVisualPartMap() |
Modifier and Type | Method and Description |
---|---|
void |
IViewer.reveal(IVisualPart<VR,? extends VR> visualPart)
Ensure that the visual of the given
IVisualPart is visible in
this viewer. |
Copyright (c) 2014 itemis AG and others. All rights reserved.