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.tools |
This package contains JavaFX-specific
ITool implementations for different
interactions (e.g. mouse drag). |
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() |
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 |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
static <VR> void |
BehaviorUtils.addAnchorages(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.addAnchorages(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)
Switches to the relevant adaptable scopes (
AbstractBehavior.switchAdaptableScopes() ) and uses the injected
IFeedbackPartFactory to create feedback parts for the given list
of target parts. |
protected void |
AbstractBehavior.addFeedback(java.util.List<? extends IVisualPart<VR,? extends VR>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Switches to the relevant adaptable scopes (
AbstractBehavior.switchAdaptableScopes() ) and uses the injected
IFeedbackPartFactory to create feedback parts for the given list
of target parts and the given context map. |
protected void |
AbstractBehavior.addHandles(java.util.List<? extends IVisualPart<VR,? extends VR>> targets)
Switches to the relevant adaptable scopes (
AbstractBehavior.switchAdaptableScopes() ) and uses the injected
IHandlePartFactory to create handle parts for the given list of
target parts. |
protected void |
AbstractBehavior.addHandles(java.util.List<? extends IVisualPart<VR,? extends VR>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Switches to the relevant adaptable scopes (
AbstractBehavior.switchAdaptableScopes() ) and uses the injected
IHandlePartFactory to create handle parts for the given list of
target parts and the given context map. |
static <VR> void |
BehaviorUtils.removeAnchorages(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.removeAnchorages(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 |
---|---|
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.Map<java.lang.Object,java.lang.Object> contextMap) |
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) |
Constructor and Description |
---|
FXRevealOperation(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Constrcuts 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<N extends javafx.scene.Node>
Abstract base implementation for a JavaFX-specific
IFeedbackPart . |
class |
AbstractFXHandlePart<N 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 |
FXHoverFeedbackPart
The
FXHoverFeedbackPart is an AbstractFXFeedbackPart that is
parameterized by FXGeometryNode<IGeometry> . |
class |
FXRectangleSegmentHandlePart
An
AbstractFXSegmentHandlePart with a
Rectangle visual. |
class |
FXRootPart
|
class |
FXSelectionFeedbackPart
The
FXSelectionFeedbackPart is an AbstractFXFeedbackPart that
is parameterized by FXGeometryNode<IGeometry> . |
class |
FXSelectionLinkFeedbackPart
The
FXSelectionLinkFeedbackPart is an FXSelectionFeedbackPart
that uses a dotted line as its visualization. |
Modifier and Type | Method and Description |
---|---|
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
VisualOutlineGeometryProvider.getAdaptable() |
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXTransformProvider.getAdaptable() |
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
ChopBoxAnchorProvider.getAdaptable() |
static <T extends IPolicy<javafx.scene.Node>> |
FXPartUtils.getTargetPart(java.util.Collection<IViewer<javafx.scene.Node>> viewers,
javafx.scene.Node visual,
java.lang.Class<T> supportedPolicy,
boolean searchHierarchy)
Returns the first
IVisualPart in the given list of viewers, for
which both of the following properties hold:
Supports the specified policy (which may be null ). |
Modifier and Type | Method and Description |
---|---|
protected void |
FXRootPart.addChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child,
int index) |
protected void |
AbstractFXFeedbackPart.attachToAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
AbstractFXHandlePart.attachToAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected IHandlePart<javafx.scene.Node,? extends javafx.scene.Node> |
FXDefaultHandlePartFactory.createCurveSelectionHandlePart(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart,
com.google.inject.Provider<BezierCurve[]> segmentsProvider,
int segmentCount,
int segmentIndex,
double segmentParameter)
Creates an
IHandlePart for the specified segment vertex of the
IGeometry provided by the given handleGeometryProvider. |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHandlePartFactory.createCurveSelectionHandleParts(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart,
com.google.inject.Provider<BezierCurve[]> segmentsProvider,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Generate handles for the end/join points of the individual beziers.
|
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHandlePartFactory.createHoverHandleParts(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
HoverBehavior<javafx.scene.Node> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates hover handle parts for the given (hovered) target
IVisualPart . |
protected IHandlePart<javafx.scene.Node,? extends javafx.scene.Node> |
FXDefaultHandlePartFactory.createHoverSegmentHandlePart(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
com.google.inject.Provider<BezierCurve[]> hoverHandlesSegmentsInSceneProvider,
int segmentCount,
int segmentIndex,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates an
FXCircleSegmentHandlePart for the given (hovered)
target IVisualPart . |
protected IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXDefaultFeedbackPartFactory.createLinkFeedbackPart(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchored,
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String anchorageRole)
Creates a dotted feedback-line between an anchored part and its
anchorage.
|
protected IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXDefaultFeedbackPartFactory.createLinkFeedbackPart(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchored,
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String anchorageRole)
Creates a dotted feedback-line between an anchored part and its
anchorage.
|
protected IHandlePart<javafx.scene.Node,? extends javafx.scene.Node> |
FXDefaultHandlePartFactory.createSelectionSegmentHandlePart(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
com.google.inject.Provider<BezierCurve[]> segmentsProvider,
int segmentCount,
int segmentIndex,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates an
IHandlePart for the specified vertex of the
IGeometry provided by the given handleGeometryProvider. |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHandlePartFactory.createSingleSelectionHandleParts(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> target,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a single selection.
|
protected void |
AbstractFXFeedbackPart.detachFromAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
AbstractFXHandlePart.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) |
void |
VisualOutlineGeometryProvider.setAdaptable(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> adaptable) |
void |
FXTransformProvider.setAdaptable(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> adaptable) |
void |
ChopBoxAnchorProvider.setAdaptable(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> adaptable) |
Modifier and Type | Method and Description |
---|---|
protected IHandlePart<javafx.scene.Node,? extends javafx.scene.Node> |
FXDefaultHandlePartFactory.createBoundsSelectionCornerHandlePart(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap,
com.google.inject.Provider<BezierCurve[]> segmentsProvider,
int segmentIndex,
double segmentParameter)
Creates an
FXRectangleSegmentHandlePart for one corner of the
bounds of a multi selection. |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHandlePartFactory.createBoundsSelectionHandleParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
com.google.inject.Provider<? extends IGeometry> handleGeometryProvider,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a multi selection.
|
java.util.List<IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultFeedbackPartFactory.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>> |
FXDefaultHandlePartFactory.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<IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultFeedbackPartFactory.createHoverFeedbackParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
HoverBehavior<javafx.scene.Node> hoverBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates
FXHoverFeedbackPart s for the given targets. |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHandlePartFactory.createMultiSelectionHandleParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a multi selection.
|
protected java.util.List<IFeedbackPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultFeedbackPartFactory.createSelectionFeedbackParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
SelectionBehavior<javafx.scene.Node> selectionBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates
FXSelectionFeedbackPart s and
FXSelectionLinkFeedbackPart s for the targets. |
protected java.util.List<IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHandlePartFactory.createSelectionHandleParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targets,
SelectionBehavior<javafx.scene.Node> selectionBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a selection.
|
protected java.util.Collection<? extends IHandlePart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXDefaultHandlePartFactory.createTightBoundsSelectionHandleParts(java.util.List<? extends IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> targetParts,
com.google.inject.Provider<BezierCurve[]> segmentsProvider,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates
FXRectangleSegmentHandlePart s for the segments provided
by the given segments provider. |
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 . |
protected void |
AbstractFXContentPart.registerNestedVisuals(java.util.Map<javafx.scene.Node,IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> visualPartMap,
javafx.scene.Parent parent)
Registers this
AbstractFXContentPart for all visuals in the
visual hierarchy of the given Parent at the given
visualPartMap. |
protected void |
AbstractFXContentPart.unregisterNestedVisuals(java.util.Map<javafx.scene.Node,IVisualPart<javafx.scene.Node,? extends javafx.scene.Node>> visualPartMap,
javafx.scene.Parent parent)
Removes all visuals in the visual hierarchy of the given
Parent
from the given visualPartMap where this
AbstractFXContentPart is registered. |
Modifier and Type | Method and Description |
---|---|
protected IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXResizeRelocateOnHandleDragPolicy.getTargetPart()
Returns the target
IVisualPart 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 FXBendPolicy |
FXBendOnSegmentHandleDragPolicy.getBendPolicy(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
Returns the
FXBendPolicy that is installed on the given
IVisualPart . |
protected FXRotatePolicy |
FXRotateSelectedOnHandleDragPolicy.getRotatePolicy(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Returns the
FXRotatePolicy that is installed on the given
IVisualPart . |
protected FXRotatePolicy |
FXRotateSelectedOnRotatePolicy.getRotatePolicy(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Returns the
FXRotatePolicy that is installed on the given
IVisualPart . |
Modifier and Type | Method and Description |
---|---|
protected IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXPinchSpreadTool.getTargetPart(IViewer<javafx.scene.Node> viewer,
javafx.scene.Node target)
|
protected IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXRotateTool.getTargetPart(IViewer<javafx.scene.Node> viewer,
javafx.scene.Node target)
Returns the target
IVisualPart within the given IViewer
for the given target Node that received the input event. |
protected <T extends IPolicy<javafx.scene.Node>> |
FXClickDragTool.getTargetPart(IViewer<javafx.scene.Node> viewer,
javafx.scene.Node target,
java.lang.Class<T> policy)
Returns the target
IVisualPart for the given target Node
within the given IViewer that supports the given policy. |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<? extends AbstractFXOnClickPolicy> |
FXClickDragTool.getClickPolicies(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
|
protected java.util.Set<? extends AbstractFXOnDragPolicy> |
FXClickDragTool.getDragPolicies(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
|
protected java.util.Set<? extends AbstractFXOnHoverPolicy> |
FXHoverTool.getHoverPolicies(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
Returns a
Set containing all AbstractFXOnHoverPolicy s
that are installed on the given target IVisualPart . |
protected java.util.Set<? extends AbstractFXOnTypePolicy> |
FXTypeTool.getKeyPolicies(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
Returns a
Set containing all AbstractFXOnTypePolicy s that
are installed on the given target IVisualPart . |
protected java.util.Set<? extends AbstractFXOnPinchSpreadPolicy> |
FXPinchSpreadTool.getPinchSpreadPolicies(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
Returns a
Set containing all
AbstractFXOnPinchSpreadPolicy s that are installed on the given
target IVisualPart . |
protected java.util.Set<? extends AbstractFXOnRotatePolicy> |
FXRotateTool.getRotatePolicies(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
Returns a
Set containing all AbstractFXOnRotatePolicy s
that are installed on the given target IVisualPart . |
protected java.util.Set<? extends AbstractFXOnScrollPolicy> |
FXScrollTool.getScrollPolicies(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
Returns a
Set containing all AbstractFXOnScrollPolicy s
that are installed on the given target IVisualPart . |
void |
FXClickDragTool.overrideTargetForThisInteraction(javafx.event.EventTarget target,
IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> targetPart)
Registers the given
IVisualPart as the target part for all JavaFX
events which are send to the given EventTarget during the
currently active or next press-drag-release gesture. |
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 |
---|---|
void |
HoverModel.setHover(IVisualPart<VR,? extends VR> cp)
Sets the hovered
IVisualPart to the given value. |
Constructor and Description |
---|
ChangeHoverOperation(IViewer<VR> viewer,
IVisualPart<VR,? extends VR> newHovered)
Creates a new
ChangeHoverOperation to set the given
newHovered IVisualPart as the hovered part within the
given IViewer . |
ChangeHoverOperation(IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered)
Creates a new
ChangeHoverOperation to set the given
newHovered IVisualPart as the hovered part within the
given IViewer . |
ChangeHoverOperation(IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered)
Creates a new
ChangeHoverOperation to set the given
newHovered IVisualPart as the hovered part within the
given IViewer . |
ChangeHoverOperation(java.lang.String label,
IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered)
Creates a new
ChangeHoverOperation to set the given
newHovered IVisualPart as the hovered part within the
given IViewer . |
ChangeHoverOperation(java.lang.String label,
IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered)
Creates a new
ChangeHoverOperation to set the given
newHovered IVisualPart as the hovered part within the
given IViewer . |
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 |
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 |
IRootPart<VR,V extends VR>
|
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() |
IVisualPart<VR,? extends VR> |
IVisualPart.getParent()
Returns the parent of this part.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.SetMultimap<IVisualPart<VR,? extends VR>,java.lang.String> |
AbstractVisualPart.getAnchorages() |
com.google.common.collect.SetMultimap<IVisualPart<VR,? extends VR>,java.lang.String> |
IVisualPart.getAnchorages()
Returns a
SetMultimap of this part's anchorages and their
corresponding roles. |
com.google.common.collect.Multiset<IVisualPart<VR,? extends VR>> |
AbstractVisualPart.getAnchoreds() |
com.google.common.collect.Multiset<IVisualPart<VR,? extends VR>> |
IVisualPart.getAnchoreds()
Returns a
Multiset of this part's anchoreds. |
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. |
java.util.List<IVisualPart<VR,? extends VR>> |
AbstractVisualPart.getChildren() |
java.util.List<IVisualPart<VR,? extends VR>> |
IVisualPart.getChildren()
Returns a
List of this part's children. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisualPart.addAnchorage(IVisualPart<VR,? extends VR> anchorage) |
void |
IVisualPart.addAnchorage(IVisualPart<VR,? extends VR> anchorage)
Adds the given
IVisualPart to the anchorages of this
IVisualPart under the "default" role. |
void |
AbstractVisualPart.addAnchorage(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role) |
void |
IVisualPart.addAnchorage(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role)
Adds the given
IVisualPart to the anchorages of this
IVisualPart under the given role. |
void |
AbstractVisualPart.addAnchored(IVisualPart<VR,? extends VR> anchored) |
void |
IVisualPart.addAnchored(IVisualPart<VR,? extends VR> anchored)
Used by an anchored
IVisualPart to establish an
anchorage-anchored relationship with this anchorage IVisualPart . |
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 |
AbstractHandlePart.addChildVisual(IVisualPart<VR,? extends VR> child,
int index) |
protected void |
AbstractFeedbackPart.addChildVisual(IVisualPart<VR,? extends VR> child,
int 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 |
AbstractRootPart.attachToAnchorageVisual(IVisualPart<VR,? extends VR> anchorage,
java.lang.String 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.detachFromAnchorageVisual(IVisualPart<VR,? extends VR> anchorage,
java.lang.String 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.
|
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.removeAnchorage(IVisualPart<VR,? extends VR> anchorage) |
void |
IVisualPart.removeAnchorage(IVisualPart<VR,? extends VR> anchorage)
Removes the given
IVisualPart from the map of this part's
anchorages. |
void |
AbstractVisualPart.removeAnchorage(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role) |
void |
IVisualPart.removeAnchorage(IVisualPart<VR,? extends VR> anchorage,
java.lang.String role)
Removes the given
IVisualPart and role from the map of this
part's anchorages. |
void |
AbstractVisualPart.removeAnchored(IVisualPart<VR,? extends VR> anchored) |
void |
IVisualPart.removeAnchored(IVisualPart<VR,? extends VR> anchored)
Used by an anchored
IVisualPart to unestablish an
anchorage-anchored relationship with this anchorage IVisualPart . |
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 |
AbstractHandlePart.removeChildVisual(IVisualPart<VR,? extends VR> child,
int index) |
protected void |
AbstractFeedbackPart.removeChildVisual(IVisualPart<VR,? extends VR> child,
int index) |
protected void |
AbstractVisualPart.removeChildVisual(IVisualPart<VR,? extends VR> child,
int index)
Removes the child's visual from this
IVisualPart 's visual. |
void |
AbstractVisualPart.reorderChild(IVisualPart<VR,? extends VR> child,
int index)
Moves a child
IVisualPart into a lower index than it currently
occupies. |
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. |
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() |
IVisualPart<VR,? extends VR> |
AbstractPolicy.getHost() |
IVisualPart<VR,? extends VR> |
IPolicy.getHost()
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractPolicy.disableRefreshVisuals(IVisualPart<VR,? extends VR> part)
Disable that the given
IVisualPart refreshes its visual, if this
was not already the case (see
setRefreshVisual(boolean) ). |
protected void |
AbstractPolicy.enableRefreshVisuals(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 |
AbstractPolicy.setAdaptable(IVisualPart<VR,? extends VR> adaptable) |
void |
ContentPolicy.setAdaptable(IVisualPart<VR,? extends VR> adaptable) |
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.