Package | Description |
---|---|
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.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.tools |
This package contains the
ITool
abstraction and its related AbstractTool
realization. |
Modifier and Type | Interface and Description |
---|---|
interface |
IFXOnClickPolicy
An interaction policy that implements the
IFXOnClickPolicy interface
will be notified about mouse click events by the FXClickDragTool . |
interface |
IFXOnDragPolicy
An interaction policy that implements the
IFXOnDragPolicy interface
will be notified about mouse press-drag-release events by the
FXClickDragTool . |
interface |
IFXOnHoverPolicy
An interaction policy that implements the
IFXOnHoverPolicy interface
will be notified about mouse hover events by the FXHoverTool . |
interface |
IFXOnPinchSpreadPolicy
An interaction policy that implements the
IFXOnPinchSpreadPolicy
interface will be notified about touch pinch/spread events by the
FXPinchSpreadTool . |
interface |
IFXOnRotatePolicy
An interaction policy that implements the
IFXOnRotatePolicy interface
will be notified about touch rotate events by the FXRotateTool . |
interface |
IFXOnScrollPolicy
An interaction policy that implements the
IFXOnScrollPolicy interface
will be notified about scroll events (mouse wheel or touch) by the
FXScrollTool . |
interface |
IFXOnTypePolicy
An interaction policy that implements the
IFXOnTypePolicy interface
will be notified about keyboard events by the FXTypeTool . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFXInteractionPolicy
The
AbstractFXInteractionPolicy extends the
AbstractInteractionPolicy and binds its visual root parameter to
Node . |
class |
FXBendConnectionPolicy
The
FXBendConnectionPolicy can be used to manipulate the points
constituting an Connection , i.e. its start, way, and end points. |
class |
FXBendFirstAnchorageOnSegmentHandleDragPolicy
The
FXBendFirstAnchorageOnSegmentHandleDragPolicy is an
IFXOnDragPolicy that can be installed on the handle parts of an
Connection , so that the user is able to manipulate that connection by
dragging its handles. |
class |
FXBendOnSegmentDragPolicy
Uses the
FXBendConnectionPolicy of its host to move the dragged
connection segment. |
class |
FXChangeViewportPolicy
|
class |
FXDeleteSelectedOnTypePolicy
The
FXDeleteSelectedOnTypePolicy is an IFXOnTypePolicy that
performs content deletion upon the press of a key. |
class |
FXFocusAndSelectOnClickPolicy
The
FXFocusAndSelectOnClickPolicy is an IFXOnClickPolicy that
focuses and selects its host by altering the
FocusModel and the SelectionModel when the host is clicked by the mouse. |
class |
FXFocusTraversalPolicy
The
FXFocusTraversalPolicy can be used to assign focus to the next or
previous part in the focus traversal cycle. |
class |
FXHoverOnHoverPolicy
The
FXHoverOnHoverPolicy is an IFXOnHoverPolicy that hovers
its host by altering the HoverModel when the
host is hovered by the mouse. |
class |
FXMarqueeOnDragPolicy
The
FXMarqueeOnDragPolicy is an IFXOnDragPolicy that performs
marquee selection when the mouse is dragged. |
class |
FXNormalizeConnectedOnDragPolicy
Triggers a normalization of the control points of all content parts that
support
FXBendConnectionPolicy and are anchored to the host of this
policy. |
class |
FXPanOnTypePolicy
The
FXPanOnTypePolicy is an IFXOnTypePolicy that performs
viewport panning via the keyboard. |
class |
FXPanOrZoomOnScrollPolicy
The
FXPanOrZoomOnScrollPolicy is an IFXOnScrollPolicy that
pans (i.e. moves/scrolls) the viewport upon scrolling the mouse wheel. |
class |
FXResizeConnectionPolicy
The
FXResizeConnectionPolicy is a specialization of the
FXResizePolicy that performs a resize of an Connection visual
by proportionally relocating its bend points. |
class |
FXResizePolicy
|
class |
FXResizeTransformSelectedOnHandleDragPolicy
The
FXResizeTransformSelectedOnHandleDragPolicy is an
IFXOnDragPolicy that relocates and scales the whole
selection when its host (a box selection handle,
AbstractFXSegmentHandlePart ) is dragged. |
class |
FXResizeTranslateFirstAnchorageOnHandleDragPolicy
The
FXResizeTranslateFirstAnchorageOnHandleDragPolicy is an
IFXOnDragPolicy that handles the resize and relocation of its
(selected) first anchorage when an AbstractFXSegmentHandlePart of the
box selection of the first anchorage is dragged with the mouse. |
class |
FXRotateSelectedOnHandleDragPolicy
The
FXRotateSelectedOnHandleDragPolicy is an IFXOnDragPolicy
that rotates the whole selection when a selection
handle is dragged. |
class |
FXRotateSelectedOnRotatePolicy
The
FXRotateSelectedOnRotatePolicy is an IFXOnRotatePolicy
that rotates the whole selection when its
host experiences a touch rotate gesture. |
class |
FXSelectFocusedOnTypePolicy
The
FXSelectFocusedOnTypePolicy implements (de-)selecting a focused
part via the keyboard. |
class |
FXTransformConnectionPolicy
The
FXTransformConnectionPolicy is an FXTransformPolicy that
is adjusted for the relocation of an Connection . |
class |
FXTransformPolicy
The
FXTransformPolicy is a JavaFX-specific
AbstractTransformPolicy that handles the transformation of its
host . |
class |
FXTranslateSelectedOnDragPolicy
The
FXTranslateSelectedOnDragPolicy is an IFXOnDragPolicy
that relocates its host when it is dragged with the mouse. |
class |
FXTraverseFocusOnTypePolicy
The
FXTraverseFocusOnTypePolicy implements focus traversal via
keyboard input. |
class |
FXZoomOnPinchSpreadPolicy
An
IFXOnPinchSpreadPolicy that performs zooming. |
Constructor and Description |
---|
CursorSupport(IPolicy<javafx.scene.Node> hostPolicy)
Creates a new
CursorSupport that can be used to change and keep
track of the mouse cursor for the given IPolicy . |
Modifier and Type | Method and Description |
---|---|
<T extends IPolicy<javafx.scene.Node>> |
ITargetPolicyResolver.getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given target
Node that are to be notified about an input event
that was directed at the Node . |
<T extends IPolicy<javafx.scene.Node>> |
DefaultTargetPolicyResolver.getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given target
Node that are to be notified about an input event
that was directed at the Node . |
<T extends IPolicy<javafx.scene.Node>> |
ITargetPolicyResolver.getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
IViewer<javafx.scene.Node> viewer,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given
IViewer and target Node that are to be notified
about an input event that was directed at the Node . |
<T extends IPolicy<javafx.scene.Node>> |
DefaultTargetPolicyResolver.getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
IViewer<javafx.scene.Node> viewer,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given
IViewer and target Node that are to be notified
about an input event that was directed at the Node . |
Modifier and Type | Method and Description |
---|---|
java.util.Map<AdapterKey<? extends IPolicy<VR>>,IPolicy<VR>> |
AbstractVisualPart.getPolicies() |
java.util.Map<AdapterKey<? extends IPolicy<VR>>,IPolicy<VR>> |
AbstractVisualPart.getPolicies() |
java.util.Map<AdapterKey<? extends IPolicy<VR>>,IPolicy<VR>> |
IVisualPart.getPolicies()
Returns a
Map of this part's policies and their corresponding
AdapterKey s. |
java.util.Map<AdapterKey<? extends IPolicy<VR>>,IPolicy<VR>> |
IVisualPart.getPolicies()
Returns a
Map of this part's policies and their corresponding
AdapterKey s. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBendPolicy<VR>
Abstract base implementation for bend policies.
|
class |
AbstractInteractionPolicy<VR>
Abstract base implementation of
IPolicy that handles an interaction. |
class |
AbstractPolicy<VR>
Abstract base implementation of
IPolicy . |
class |
AbstractResizePolicy<VR>
Abstract base class for resize transaction policies.
|
class |
AbstractTransactionPolicy<VR>
Abstract base implementation of
IPolicy that is transactional. |
class |
AbstractTransformPolicy<VR>
The
AbstractTransformPolicy is a AbstractTransactionPolicy
that handles the transformation of its host . |
class |
ContentPolicy<VR>
A (transaction) policy to handle content changes, i.e. adding/removing of
content children as well as attaching/detaching to/from content anchorages.
|
class |
CreationPolicy<VR>
The
CreationPolicy is an AbstractTransactionPolicy that
handles the creation of content. |
class |
DeletionPolicy<VR>
The
DeletionPolicy is an AbstractTransactionPolicy that
handles the deletion of content. |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends IPolicy<VR>> |
ITool.getActivePolicies(IViewer<VR> viewer)
Returns an (unmodifiable) list containing the
interaction
policies that are currently active within this tool for the given
IViewer , i.e. the target policies of this tool that get notified
about events within the given IViewer . |
java.util.List<? extends IPolicy<VR>> |
AbstractTool.getActivePolicies(IViewer<VR> viewer) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTool.setActivePolicies(IViewer<VR> viewer,
java.util.Collection<? extends IPolicy<VR>> activePolicies)
Set the active policies of this tool to the given policies.
|
Copyright (c) 2014 itemis AG and others. All rights reserved.