Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Method and Description |
---|---|
void |
NodeReshapeHandler.cancelReshape(IInputModeContext inputModeContext,
RectD originalBounds) |
void |
GraphClipboard.duplicate(IInputModeContext context,
IGraph sourceGraph,
Predicate<IModelItem> filter,
IElementCopiedCallback elementDuplicated)
Duplicates the elements indicated by the filter.
|
void |
GroupingSupport.enlargeAllGroupNodes(IInputModeContext context)
Enlarges all group nodes in the graph in an interactive scenario, so that the
minimum enclosed area
is respected. |
void |
GroupingSupport.enlargeGroupNode(IInputModeContext context,
INode node,
boolean ancestors)
Enlarges the group nodes in an interactive scenario, using
IReshapeHandler implementations of the group nodes to
perform the actual resizing. |
IHandle |
NodeReshapeHandles.getHandle(IInputModeContext inputModeContext,
HandlePositions position) |
void |
NodeReshapeHandler.handleReshape(IInputModeContext inputModeContext,
RectD originalBounds,
RectD newBounds) |
void |
NodeReshapeHandler.initializeReshape(IInputModeContext inputModeContext) |
void |
GraphClipboard.paste(IInputModeContext context,
IGraph targetGraph,
Predicate<IModelItem> filter,
IElementCopiedCallback elementPasted,
Predicate<IModelItem> targetFilter)
|
void |
NodeReshapeHandler.reshapeFinished(IInputModeContext inputModeContext,
RectD originalBounds,
RectD newBounds) |
Modifier and Type | Method and Description |
---|---|
boolean |
TemplatePortStyleRenderer.isHit(IInputModeContext context,
PointD location) |
boolean |
TemplateNodeStyleRenderer.isHit(IInputModeContext context,
PointD location)
Tries to use the
outline shape to perform the hit test analysis,
otherwise reverts to default (rectangular) behavior. |
boolean |
TemplateLabelStyleRenderer.isHit(IInputModeContext context,
PointD location) |
boolean |
TableNodeStyleRenderer.isHit(IInputModeContext context,
PointD location) |
boolean |
ShinyPlateNodeStyleRenderer.isHit(IInputModeContext context,
PointD location) |
boolean |
ShapeNodeStyleRenderer.isHit(IInputModeContext context,
PointD location) |
boolean |
PathBasedEdgeStyleRenderer.isHit(IInputModeContext context,
PointD location)
This method is overridden for performance reasons.
|
boolean |
PanelNodeStyleRenderer.isHit(IInputModeContext context,
PointD location)
|
boolean |
MemoryImageNodeStyleRenderer.isHit(IInputModeContext context,
PointD p)
Tries to use
NormalizedOutline to perform the hit test analysis, otherwise
reverts to default (rectangular) behavior. |
boolean |
ImageNodeStyleRenderer.isHit(IInputModeContext context,
PointD location)
Tries to use
NormalizedOutline to perform the hit test analysis, otherwise
reverts to default (rectangular) behavior. |
boolean |
IconLabelStyleRenderer.isHit(IInputModeContext context,
PointD location) |
boolean |
GeneralPathNodeStyleRenderer.isHit(IInputModeContext context,
PointD location) |
boolean |
DefaultLabelStyleRenderer.isHit(IInputModeContext context,
PointD location) |
boolean |
CollapsibleNodeStyleDecoratorRenderer.isHit(IInputModeContext context,
PointD location)
Delegates to the
CollapsibleNodeStyleDecoratorRenderer.getWrappedStyle() and checks the button. |
boolean |
BevelNodeStyleRenderer.isHit(IInputModeContext context,
PointD location) |
protected boolean |
AbstractEdgeStyle.isHit(IInputModeContext context,
PointD location,
IEdge edge)
Determines whether the visual representation of the edge has been hit at the given location.
|
protected boolean |
AbstractLabelStyle.isHit(IInputModeContext context,
PointD location,
ILabel label)
Determines whether the visual representation of the label has been hit at the given location.
|
protected boolean |
AbstractNodeStyle.isHit(IInputModeContext context,
PointD location,
INode node)
Determines whether the visual representation of the node has been hit at the given location.
|
protected boolean |
AbstractPortStyle.isHit(IInputModeContext context,
PointD location,
IPort port)
Determines whether the visual representation of the port has been hit at the given location.
|
boolean |
TemplatePortStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle) |
boolean |
TemplateNodeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle)
Tries to use the
outline shape to perform the marquee intersection
analysis, otherwise reverts to default (rectangular) behavior. |
boolean |
TemplateLabelStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle) |
boolean |
TableNodeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle) |
boolean |
ShinyPlateNodeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle)
|
boolean |
ShapeNodeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle)
|
boolean |
PathBasedEdgeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle) |
boolean |
PanelNodeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle)
|
boolean |
MemoryImageNodeStyleRenderer.isInBox(IInputModeContext context,
RectD box)
Tries to use the
NormalizedOutline to perform the marquee intersection
analysis, otherwise reverts to default (rectangular) behavior. |
boolean |
ImageNodeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle)
Tries to use the
NormalizedOutline to perform the marquee intersection
analysis, otherwise reverts to default (rectangular) behavior. |
boolean |
IconLabelStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle) |
boolean |
GeneralPathNodeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle) |
boolean |
DefaultLabelStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle) |
boolean |
CollapsibleNodeStyleDecoratorRenderer.isInBox(IInputModeContext context,
RectD rectangle)
Delegates to the
CollapsibleNodeStyleDecoratorRenderer.getWrappedStyle() . |
boolean |
BevelNodeStyleRenderer.isInBox(IInputModeContext context,
RectD rectangle)
|
protected boolean |
AbstractEdgeStyle.isInBox(IInputModeContext context,
RectD rectangle,
IEdge edge)
Determines whether the visualization for the specified edge is included in the marquee selection.
|
protected boolean |
AbstractLabelStyle.isInBox(IInputModeContext context,
RectD rectangle,
ILabel label)
Determines whether the visualization for the specified label is included in the marquee selection.
|
protected boolean |
AbstractNodeStyle.isInBox(IInputModeContext context,
RectD rectangle,
INode node)
Determines whether the visualization for the specified node is included in the marquee selection.
|
protected boolean |
AbstractPortStyle.isInBox(IInputModeContext context,
RectD rectangle,
IPort port)
Determines whether the visualization for the specified port is included in the marquee selection.
|
Modifier and Type | Method and Description |
---|---|
protected IInputModeContext |
CanvasControl.createInputModeContext()
Factory method for the
InputModeContext property. |
IInputModeContext |
CanvasControl.getInputModeContext()
Gets the InputModeContext property.
|
Modifier and Type | Method and Description |
---|---|
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(IInputModeContext context,
PointD location)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter using a specific
ICanvasContext
as the argument to the IHitTestable.isHit(IInputModeContext, PointD) method. |
IEnumerable<IModelItem> |
GraphModelManager.hitElementsAt(IInputModeContext context,
PointD location,
ICanvasObjectGroup root)
Enumerates hits on the canvas at a given world coordinate position for a given context.
|
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(IInputModeContext context,
PointD location,
ICanvasObjectGroup root)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter using a specific
ICanvasContext
as the argument to the IHitTestable.isHit(IInputModeContext, PointD) method. |
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(IInputModeContext context,
PointD location,
ICanvasObjectGroup root,
Predicate<ICanvasObject> filter)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter using a specific
ICanvasContext
as the argument to the IHitTestable.isHit(IInputModeContext, PointD) method. |
boolean |
DefaultPortCandidateDescriptor.isHit(IInputModeContext context,
PointD location) |
boolean |
DefaultPortCandidateDescriptor.isInBox(IInputModeContext context,
RectD rectangle) |
void |
CanvasControl.setInputModeContext(IInputModeContext value)
Sets the InputModeContext property.
|
<T extends IModelItem> |
GraphModelManager.typedHitElementsAt(Class<T> modelItemType,
IInputModeContext context,
PointD location,
ICanvasObjectGroup root)
Enumerates hits on the canvas at a given world coordinate position in a given context.
|
Modifier and Type | Field and Description |
---|---|
static IInputModeContext |
IInputModeContext.EMPTY
An empty context where both the inputmode and the canvas is
null . |
Modifier and Type | Method and Description |
---|---|
static IInputModeContext |
IInputModeContext.create(CanvasControl canvas)
Factory method that creates an
IInputModeContext that uses the provided values. |
static IInputModeContext |
IInputModeContext.create(CanvasControl canvas,
IInputMode parent)
Factory method that creates an
IInputModeContext that uses the provided values. |
static IInputModeContext |
IInputModeContext.create(CanvasControl canvas,
IInputMode parent,
ILookup lookup)
Factory method that creates an
IInputModeContext that uses the provided values. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent)
Factory method that creates an
IInputModeContext that uses the provided parent mode and lookup decoration. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
IContextLookup lookupCallback)
Factory method that creates an
IInputModeContext that uses the provided parent mode and lookup decoration. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
IInputModeContext parentContext,
IContextLookup lookupCallback)
Factory method that creates an
IInputModeContext that uses the provided parent mode, parent context, and lookup
decoration. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
IInputModeContext parentContext,
ILookup lookup)
Factory method that creates an
IInputModeContext that uses the provided parent mode, parent context, and lookup
decoration. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
ILookup lookup)
Factory method that creates an
IInputModeContext that uses the provided parent mode and lookup decoration. |
protected IInputModeContext |
MultiplexingInputMode.createChildInputModeContext()
Yields an
IInputModeContext for the child modes of this mode. |
protected IInputModeContext |
AbstractInputMode.createChildInputModeContext()
Creates an implementation of
IInputModeContext that is specific to this mode. |
protected IInputModeContext |
CreateEdgeInputMode.createEdgeCreationInputModeContext()
Creates an
IInputModeContext for use with the port candidates queries for the upcoming edge creation operation
and the actual edge creation. |
protected IInputModeContext |
HandleInputMode.createHandleInputModeContext()
Creates an
IInputModeContext for use with the IHandle interface for the upcoming drag operation. |
protected IInputModeContext |
MouseHoverInputMode.createHoverInputModeContext()
Creates an
IInputModeContext for use with the QueryToolTip event
for the upcoming text query operation. |
protected IInputModeContext |
CreateBendInputMode.createInputModeContext()
Creates an
IInputModeContext for use with the upcoming IBendCreator.createBend(IInputModeContext, IGraph, IEdge, PointD)
call in CreateBendInputMode.createBend(IEdge, PointD) . |
protected IInputModeContext |
AbstractContextMenuInputMode.createPopulateMenuContext()
Creates an
IInputModeContext for use with the PopulateMenu call
in the upcoming query. |
protected IInputModeContext |
MoveInputMode.createPositionHandlerInputModeContext()
Creates an
IInputModeContext for use with the IPositionHandler interface for the upcoming drag
operation. |
IInputModeContext |
InputModeEventArgs.getContext()
Gets the context for the current event.
|
protected IInputModeContext |
SnapContext.getCurrentInputModeContext()
Gets the current input mode context.
|
protected IInputModeContext |
OrthogonalEdgeEditingContext.getCurrentInputModeContext()
Gets the current input mode context that is in effect for the current edit.
|
IInputModeContext |
WaitInputMode.getInputModeContext() |
IInputModeContext |
TextEditorInputMode.getInputModeContext() |
IInputModeContext |
TapInputMode.getInputModeContext() |
IInputModeContext |
ResizeStripeInputMode.getInputModeContext() |
protected IInputModeContext |
ReparentStripePositionHandler.getInputModeContext()
The current
IInputModeContext . |
protected IInputModeContext |
PortRelocationHandle.getInputModeContext()
Gets the context to operate on.
|
IInputModeContext |
NavigationInputMode.getInputModeContext() |
IInputModeContext |
MultiplexingInputMode.getInputModeContext() |
IInputModeContext |
MoveViewportInputMode.getInputModeContext() |
IInputModeContext |
MoveInputMode.getInputModeContext() |
IInputModeContext |
MouseHoverInputMode.getInputModeContext() |
IInputModeContext |
MarqueeSelectionInputMode.getInputModeContext() |
IInputModeContext |
KeyboardInputMode.getInputModeContext() |
IInputModeContext |
ItemHoverInputMode.getInputModeContext() |
IInputModeContext |
IInputMode.getInputModeContext()
Returns the context instance this mode is currently installed in or
null if this instance is not installed. |
IInputModeContext |
HandleInputMode.getInputModeContext() |
IInputModeContext |
FocusGuardInputMode.getInputModeContext() |
IInputModeContext |
DropInputMode.getInputModeContext() |
IInputModeContext |
CreateEdgeInputMode.getInputModeContext() |
IInputModeContext |
CreateBendInputMode.getInputModeContext() |
IInputModeContext |
ClickInputMode.getInputModeContext() |
IInputModeContext |
AbstractInputMode.getInputModeContext()
Returns the context instance this mode is currently installed in or
null if this instance is not installed. |
IInputModeContext |
AbstractContextMenuInputMode.getInputModeContext() |
IInputModeContext |
SnapContext.wrapContext(IInputModeContext context)
Helper method that wraps the given
context so that a ILookup.lookup(Class) query
on the wrapped context for the SnapContext type yields this instance. |
IInputModeContext |
LabelSnapContext.wrapContext(IInputModeContext context) |
IInputModeContext |
GraphSnapContext.wrapContext(IInputModeContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
LabelSnapContextHelper.addEdgePathSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Adds snap lines to the
snapContext that are parallel to the path segments of the owner edge at particular
distances. |
protected void |
LabelSnapContextHelper.addEdgePathSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label,
double distance)
Adds snap lines to the
snapContext that are parallel to the path segments of the owner edge at the given
distance. |
protected void |
LabelSnapContextHelper.addInitialLocationSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Adds two snap line for the initial center location of the label, one in the direction of the up vector, the other
orthogonal to that direction.
|
protected void |
LabelSnapContextHelper.addNodeShapeSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Adds snap lines to the
snapContext that are parallel to the owner node's border at particular distances. |
void |
LabelSnapContextHelper.addSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Called during
initialization of a label
dragging to add snap lines to which the label can potentially snap to the snapContext . |
void |
ILabelSnapContextHelper.addSnapLines(LabelSnapContext snapContext,
IInputModeContext inputModeContext,
ILabel label)
Called during
initialization of a label
dragging to add snap lines to which the label can potentially snap to the
snapContext . |
protected void |
ReparentStripeHandler.adjustSize(IInputModeContext context,
IStripe stripe,
IStripe newParent,
StripeReparentPolicy reparentPosition,
int index,
double originalStripeSize,
double originalParentSize)
Adjust the size of the source or the target stripe.
|
void |
ReshapeHandlerHandle.cancelDrag(IInputModeContext context,
PointD originalLocation)
Delegates the cancel request to the
IReshapeHandler . |
void |
ReparentStripePositionHandler.cancelDrag(IInputModeContext context,
PointD originalLocation) |
void |
RectangleHandle.cancelDrag(IInputModeContext context,
PointD originalLocation)
Delegates the original values to
RectangleHandle.set(double, double) . |
void |
PortRelocationHandle.cancelDrag(IInputModeContext context,
PointD originalLocation) |
void |
PortLocationModelParameterHandle.cancelDrag(IInputModeContext context,
PointD originalLocation) |
void |
LabelPositionHandler.cancelDrag(IInputModeContext context,
PointD originalLocation) |
void |
IDragHandler.cancelDrag(IInputModeContext context,
PointD originalLocation)
Called by clients to indicate that the dragging has been canceled by the user.
|
void |
ConstrainedDragHandler.cancelDrag(IInputModeContext context,
PointD originalLocation)
Cancels the move operation and calls
ConstrainedDragHandler.onCanceled(IInputModeContext, PointD) . |
void |
TableReshapeHandler.cancelReshape(IInputModeContext context,
RectD originalBounds) |
void |
IReshapeHandler.cancelReshape(IInputModeContext context,
RectD originalBounds)
Called by clients to indicate that the reshaping has been canceled by the user.
|
void |
ConstrainedReshapeHandler.cancelReshape(IInputModeContext context,
RectD originalBounds)
Cancels the move operation and calls
ConstrainedReshapeHandler.onCanceled(IInputModeContext, RectD) . |
protected boolean |
OrthogonalEdgeHelper.canRemoveBend(IInputModeContext context,
IBend bend)
Returns whether the given bend can be removed.
|
void |
OrthogonalEdgeHelper.cleanUpEdge(IInputModeContext context,
IGraph graph,
IEdge edge)
Callback method that is invoked after the provided edge has been edited orthogonally.
|
void |
IOrthogonalEdgeHelper.cleanUpEdge(IInputModeContext context,
IGraph graph,
IEdge edge)
Callback method that is invoked after the provided edge has been edited orthogonally.
|
protected boolean |
GraphEditorInputMode.clickCreateNode(IInputModeContext context,
PointD location)
Creates a node on click.
|
void |
ITextEditorInputModeConfigurationHandler.configure(IInputModeContext context,
TextEditorInputMode mode,
ILabel label)
Callback for configuring a
TextEditorInputMode for editing a provided label instance. |
protected abstract RectD |
ConstrainedReshapeHandler.constrainNewBounds(IInputModeContext context,
RectD originalBounds,
RectD newBounds)
Callback that needs to implement the constraints for the new bounds.
|
protected abstract PointD |
ConstrainedDragHandler.constrainNewLocation(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Callback that needs to implement the constraints for the new location.
|
boolean |
IContainsBendTester.contains(IInputModeContext context,
IBend bend)
Determines whether the provided
bend is deemed to lie within the shape this test is implemented for. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
IInputModeContext parentContext,
IContextLookup lookupCallback)
Factory method that creates an
IInputModeContext that uses the provided parent mode, parent context, and lookup
decoration. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
IInputModeContext parentContext,
ILookup lookup)
Factory method that creates an
IInputModeContext that uses the provided parent mode, parent context, and lookup
decoration. |
int |
IBendCreator.createBend(IInputModeContext context,
IGraph graph,
IEdge edge,
PointD location)
Creates a bend at the given graph for the given edge at the position supplied.
|
int |
DefaultBendCreator.createBend(IInputModeContext context,
IGraph graph,
IEdge edge,
PointD location) |
protected ICanvasObjectDescriptor |
LabelPositionHandler.createCandidateDescriptor(IInputModeContext context,
boolean highlight)
Creates an
ICanvasObjectDescriptor to display the given candidate position. |
IEdge |
IEdgeCreationCallback.createEdge(IInputModeContext context,
IGraph graph,
IPortCandidate sourcePortCandidate,
IPortCandidate targetPortCandidate,
IEdge templateEdge)
The delegate method that is used by
CreateEdgeInputMode to create edges between
instances of IPort . |
protected InputModeEventArgs |
MultiplexingInputMode.createInputModeEventArgs(IInputModeContext context)
Helper method that yields a suitably configured
InputModeEventArgs for this input mode. |
protected InputModeEventArgs |
AbstractInputMode.createInputModeEventArgs(IInputModeContext context)
Helper method that yields a suitably configured
InputModeEventArgs for this input mode. |
protected IPort |
AbstractPortCandidateProvider.createInstance(IInputModeContext context,
DefaultPortCandidate candidate)
Callback method used by the ports created using the factory methods
AbstractPortCandidateProvider.createCandidate(IPortOwner, IPortLocationModelParameter, boolean) . |
protected IPort |
DefaultPortCandidate.createInstance(IInputModeContext context,
IGraph graph,
IPortLocationModelParameter locationParameter,
IPortStyle style,
Object tag)
Actually creates the
IPort instance. |
T |
IDropCreationCallback.createItem(IInputModeContext context,
IGraph graph,
T draggedItem,
IModelItem dropTarget,
PointD dropLocation)
Callback for creating a copy of the dragged item in graph at the specified location.
|
protected INode |
NodeDropInputMode.createNode(IInputModeContext context,
IGraph graph,
INode node,
IModelItem dropTarget,
RectD layout)
Creates the node in the graph after it's been dropped.
|
INode |
INodeCreationCallback.createNode(IInputModeContext context,
IGraph graph,
PointD location,
INode parent)
A callback that is used by
GraphEditorInputMode for the creation of nodes. |
IPort |
IPortCandidate.createPort(IInputModeContext context)
If the client decides to use this port candidate, this method will serve as a factory to create the instance.
|
IPort |
DefaultPortCandidate.createPort(IInputModeContext context)
This implementation will throw a
UnsupportedOperationException if the validity is
PortCandidateValidity.DYNAMIC . |
protected ICanvasObject |
ReparentStripePositionHandler.createSourceGhostVisualization(IInputModeContext context)
Create a visualization for the source region of the reparent gesture.
|
protected IStripe |
StripeDropInputMode.createStripe(IInputModeContext context,
IStripe newParent)
Create a new stripe as the result of a drag and drop gesture.
|
protected ICanvasObject |
ReparentStripePositionHandler.createTargetGhostVisualization(IInputModeContext context,
IStripe stripe)
Create a visualization for the target region of the reparent gesture.
|
protected StripeReparentPolicy |
ReparentStripePositionHandler.determineGesture(IInputModeContext context,
IPoint location,
IStripe sourceStripe,
StripeSubregion targetSubregion,
RectD targetBounds)
Determine the reparent gesture that would result from the given parameters.
|
void |
ReshapeHandlerHandle.dragFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Delegates the finish request to the
IReshapeHandler . |
void |
ReparentStripePositionHandler.dragFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation) |
void |
RectangleHandle.dragFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
This implementation does nothing.
|
void |
PortRelocationHandle.dragFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation) |
void |
PortLocationModelParameterHandle.dragFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation) |
void |
LabelPositionHandler.dragFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation) |
void |
IDragHandler.dragFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Called by clients to indicate that the repositioning has just been finished.
|
void |
ConstrainedDragHandler.dragFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Handles the finish operation and invokes
ConstrainedDragHandler.onFinished(IInputModeContext, PointD, PointD) . |
IEnumerable<T> |
IHitTester.enumerateHits(IInputModeContext context,
PointD location)
Yields an enumerable that enumerates the hits for a given world coordinate.
|
IEnumerable<StripeSubregion> |
StripeHitTester.enumerateHits(IInputModeContext context,
PointD location,
INode node)
Return a collection of hits at
location . |
protected IVisualTemplate |
DefaultStripeInputVisualizationHelper.findTemplate(IInputModeContext context,
StripeVisualizationType type)
Provide a
IVisualTemplate that is used to visualize type . |
HandlePositions |
IReshapeHandleProvider.getAvailableHandles(IInputModeContext context)
Returns a bitwise combination of all of the
HandlePositions this interface can provide an implementation for. |
HandlePositions |
AbstractReshapeHandleProvider.getAvailableHandles(IInputModeContext context)
Returns the
HandlePositions property. |
Iterable<IBend> |
IBendSelectionTester.getBendsInBox(IInputModeContext context,
RectD rectangle)
Returns the bends within the given rectangle.
|
protected IPortCandidate |
PortRelocationHandle.getClosestCandidate(IInputModeContext context,
PointD location,
Iterable<IPortCandidate> candidates)
Finds the closest candidate from the given set of candidates.
|
protected IGraph |
PortRelocationHandle.getGraph(IInputModeContext context)
Gets the graph to use from the context.
|
protected IGraph |
PortLocationModelParameterHandle.getGraph(IInputModeContext context)
Gets the graph to use for
setting the parameter
from the context. |
IHandle |
RectangleReshapeHandleProvider.getHandle(IInputModeContext context,
HandlePositions position)
Provides a
IHandle that uses the rectangle instance to perform the actual reshaping. |
IHandle |
IReshapeHandleProvider.getHandle(IInputModeContext context,
HandlePositions position)
Returns an implementation of an
IHandle for the given position, that can be used to reshape an object. |
abstract IHandle |
AbstractReshapeHandleProvider.getHandle(IInputModeContext context,
HandlePositions position)
Provides a
IHandle that uses the rectangle and reshapeable instance bound to this instance to perform the actual
reshaping. |
IHandle |
PortRelocationHandleProvider.getHandle(IInputModeContext context,
IEdge edge,
boolean sourceHandle) |
IHandle |
IEdgePortHandleProvider.getHandle(IInputModeContext context,
IEdge edge,
boolean sourceHandle)
Gets an
IHandle implementation for one end of the provided edge . |
Iterable<IHandle> |
PortsHandleProvider.getHandles(IInputModeContext context)
Returns a collection of zero or more
IHandle implementations that are associated with the ports of this
context. |
Iterable<IHandle> |
PortRelocationHandleProvider.getHandles(IInputModeContext context) |
Iterable<IHandle> |
IHandleProvider.getHandles(IInputModeContext context)
Returns a collection of zero or more
IHandle implementations that are associated with this instance. |
IBend |
IBendSelectionTester.getHitBend(IInputModeContext context,
PointD location)
Returns the bend at the given world coordinate position.
|
protected ILabel |
MoveLabelInputMode.getHitLabel(IInputModeContext context,
PointD location)
Looks for a label that has been hit at the specified position.
|
IPort |
IPortSelectionTester.getHitPort(IInputModeContext context,
PointD location)
Returns the port at the given world coordinate position or
null if there is no such port. |
protected ILabelModelParameter |
EditLabelHelper.getLabelParameter(IInputModeContext context,
ILabelOwner owner)
Determines the label model parameter to use for the label, depending on the
owner . |
protected ILabelStyle |
EditLabelHelper.getLabelStyle(IInputModeContext context,
ILabelOwner owner)
Determines the style to use for the label, depending on the
owner . |
protected IPort |
PortRelocationHandle.getPort(IInputModeContext context,
IPortCandidate portCandidate,
PointD suggestedLocation)
Callback used during
PortRelocationHandle.dragFinished(IInputModeContext, PointD, PointD) to actually get the new port from the
chosen candidate. |
protected IPortCandidate |
AbstractPortCandidateProvider.getPortCandidateAt(IInputModeContext context,
DefaultPortCandidate candidate,
PointD suggestedLocation)
Callback method used by the ports created using the factory methods
AbstractPortCandidateProvider.createCandidate(IPortOwner, IPortLocationModelParameter, boolean) . |
IPortCandidate |
IPortCandidate.getPortCandidateAt(IInputModeContext context,
PointD location)
Returns a candidate that is derived from this instance that best fits the provided
location . |
IPortCandidate |
DefaultPortCandidate.getPortCandidateAt(IInputModeContext context,
PointD location)
Returns a candidate that is derived from this instance that best fits the provided
location . |
protected abstract Iterable<IPortCandidate> |
AbstractPortCandidateProvider.getPortCandidates(IInputModeContext context)
Creates an enumeration of possibly port candidates.
|
protected Iterable<IPortCandidate> |
PortRelocationHandle.getPortCandidates(IInputModeContext context,
IEdge edge,
boolean sourcePort)
Gets the possible candidates for the given edge.
|
IEnumerable<IPort> |
IPortSelectionTester.getPortsInBox(IInputModeContext context,
RectD rectangle)
Returns the ports for the given marquee rectangle.
|
protected SizeD |
EditLabelHelper.getPreferredSize(IInputModeContext context,
ILabel label)
Gets the preferred size for the label.
|
SegmentOrientation |
OrthogonalEdgeHelper.getSegmentOrientation(IInputModeContext context,
IEdge edge,
int segmentIndex)
Gets the orientation of the given segment by looking at the geometry of the segment.
|
SegmentOrientation |
IOrthogonalEdgeHelper.getSegmentOrientation(IInputModeContext context,
IEdge edge,
int segmentIndex)
Gets the declared orientation of the given segment at the provided edge.
|
Iterable<IPortCandidate> |
IPortCandidateProvider.getSourcePortCandidates(IInputModeContext context)
Returns all source port candidates that belong to the context of this provider.
|
Iterable<IPortCandidate> |
IEdgeReconnectionPortCandidateProvider.getSourcePortCandidates(IInputModeContext context)
Returns all source port candidates that may be used for the edge.
|
Iterable<IPortCandidate> |
AbstractPortCandidateProvider.getSourcePortCandidates(IInputModeContext context)
Convenience implementation that simply delegates to
AbstractPortCandidateProvider.getPortCandidates(IInputModeContext) . |
Iterable<IPortCandidate> |
IPortCandidateProvider.getSourcePortCandidates(IInputModeContext context,
IPortCandidate target)
Returns all port candidates that apply for the provided opposite port candidate.
|
Iterable<IPortCandidate> |
AbstractPortCandidateProvider.getSourcePortCandidates(IInputModeContext context,
IPortCandidate target)
Convenience implementation that simply delegates to
AbstractPortCandidateProvider.getPortCandidates(IInputModeContext) . |
Iterable<IPortCandidate> |
IPortCandidateProvider.getTargetPortCandidates(IInputModeContext context)
Returns all target port candidates that belong to the context of this provider.
|
Iterable<IPortCandidate> |
IEdgeReconnectionPortCandidateProvider.getTargetPortCandidates(IInputModeContext context)
Returns all source port candidates that may be used for the edge.
|
Iterable<IPortCandidate> |
AbstractPortCandidateProvider.getTargetPortCandidates(IInputModeContext context)
Convenience implementation that simply delegates to
AbstractPortCandidateProvider.getPortCandidates(IInputModeContext) . |
Iterable<IPortCandidate> |
IPortCandidateProvider.getTargetPortCandidates(IInputModeContext context,
IPortCandidate source)
Returns all port candidates that apply for the provided opposite port candidate.
|
Iterable<IPortCandidate> |
AbstractPortCandidateProvider.getTargetPortCandidates(IInputModeContext context,
IPortCandidate source)
Convenience implementation that simply delegates to
AbstractPortCandidateProvider.getPortCandidates(IInputModeContext) . |
IVisualCreator |
IStripeInputVisualizationHelper.getVisualCreator(IInputModeContext context,
INode tableNode,
StripeVisualizationType type)
Return an
IVisualCreator that is used to visualize the input operation specified by type . |
IVisualCreator |
DefaultStripeInputVisualizationHelper.getVisualCreator(IInputModeContext context,
INode tableNode,
StripeVisualizationType type)
Return an
IVisualCreator that is used to visualize the input operation specified by type . |
void |
ReshapeHandlerHandle.handleMove(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Delegates the move request to the
IReshapeHandler.handleReshape(IInputModeContext, RectD, RectD) method. |
void |
ReparentStripePositionHandler.handleMove(IInputModeContext context,
PointD originalLocation,
PointD newLocation) |
void |
RectangleHandle.handleMove(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Delegates to
RectangleHandle.set(double, double) . |
void |
PortRelocationHandle.handleMove(IInputModeContext context,
PointD originalLocation,
PointD newLocation) |
void |
PortLocationModelParameterHandle.handleMove(IInputModeContext context,
PointD originalLocation,
PointD newLocation) |
void |
LabelPositionHandler.handleMove(IInputModeContext context,
PointD originalLocation,
PointD newLocation) |
void |
IDragHandler.handleMove(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Called by clients to indicate that the element has been dragged and its position should be updated.
|
void |
ConstrainedDragHandler.handleMove(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Handles the move operation and subsequently calls
ConstrainedDragHandler.onMoved(IInputModeContext, PointD, PointD) . |
void |
TableReshapeHandler.handleReshape(IInputModeContext context,
RectD originalBounds,
RectD newBounds) |
void |
IReshapeHandler.handleReshape(IInputModeContext context,
RectD originalBounds,
RectD newBounds)
Called by clients to indicate that the element has been dragged and its position should be updated.
|
void |
ConstrainedReshapeHandler.handleReshape(IInputModeContext context,
RectD originalBounds,
RectD newBounds)
Handles the reshape operation and subsequently calls
ConstrainedReshapeHandler.onReshaped(IInputModeContext, RectD, RectD) . |
protected void |
PortRelocationHandle.hideOriginalEdge(IInputModeContext context,
IEdge edge)
Hides the original edge that during the drag operation.
|
void |
ReshapeHandlerHandle.initializeDrag(IInputModeContext context)
This implementation does nothing.
|
void |
ReparentStripePositionHandler.initializeDrag(IInputModeContext context) |
void |
RectangleHandle.initializeDrag(IInputModeContext context)
This implementation does nothing.
|
void |
PortRelocationHandle.initializeDrag(IInputModeContext context) |
void |
PortLocationModelParameterHandle.initializeDrag(IInputModeContext context) |
void |
OrthogonalEdgeEditingContext.initializeDrag(IInputModeContext context)
Called by client code when a drag is started about to be started.
|
void |
LabelPositionHandler.initializeDrag(IInputModeContext context) |
void |
IDragHandler.initializeDrag(IInputModeContext context)
Called by clients to indicate that the element is going to be dragged.
|
void |
ConstrainedDragHandler.initializeDrag(IInputModeContext context)
Initializes the drag operation and subsequently calls
ConstrainedDragHandler.onInitialized(IInputModeContext, PointD) . |
void |
SnapContext.initializeDrag(IInputModeContext context,
PointD originalLocation)
Called by
IInputMode implementations when an interactive drag is started. |
void |
LabelSnapContext.initializeDrag(IInputModeContext context,
PointD originalLocation) |
void |
GraphSnapContext.initializeDrag(IInputModeContext context,
PointD originalLocation)
Called by
IInputMode implementations when an interactive drag is started. |
void |
TableReshapeHandler.initializeReshape(IInputModeContext context) |
void |
IReshapeHandler.initializeReshape(IInputModeContext context)
Called by clients to indicate that the element is going to be reshaped.
|
void |
ConstrainedReshapeHandler.initializeReshape(IInputModeContext context)
Initializes the reshape operation and subsequently calls
ConstrainedReshapeHandler.onInitialized(IInputModeContext, RectD) . |
void |
WaitInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
TextEditorInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
TapInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
TableEditorInputMode.install(IInputModeContext context,
ConcurrencyController controller) |
void |
ResizeStripeInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
OverviewInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
NavigationInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
MultiplexingInputMode.install(IInputModeContext context,
ConcurrencyController controller) |
void |
MoveViewportInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
MoveInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
MouseHoverInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
MarqueeSelectionInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
KeyboardInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
ItemHoverInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
IInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
HandleInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs the visual representation of the handles into the canvas into the
InputModeGroup . |
void |
GraphEditorInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the provided context.
|
void |
FocusGuardInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
DropInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given canvas.
|
void |
CreateEdgeInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
CreateBendInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
ClickInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into the given context that is provided by the canvas.
|
void |
AbstractInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode into a
CanvasControl using the provided IInputModeContext . |
void |
AbstractContextMenuInputMode.install(IInputModeContext context,
ConcurrencyController controller)
Installs this mode in the canvas.
|
boolean |
IHitTestableHandler.isHit(IInputModeContext context,
PointD location)
A delegate version of the
IHitTestable interface. |
boolean |
IHitTestable.isHit(IInputModeContext context,
PointD location)
Determines if something has been hit at the given coordinates in the world coordinate system.
|
boolean |
IMarqueeTestable.isInBox(IInputModeContext context,
RectD rectangle)
This callback returns
true if the corresponding item is considered to intersect the given rectangular box. |
boolean |
OrthogonalEdgeEditingContext.isOrthogonallyEditedEdge(IInputModeContext context,
IEdge edge)
Callback that can be used by
IDragHandler s and the like to determines whether the given edge is orthogonally
edited edge in the specified input mode context. |
protected boolean |
PortRelocationHandle.isPortCandidateResolutionEnabled(IInputModeContext context)
Determines whether
port candidate resolution is
enabled for the current gesture. |
boolean |
ReparentNodeHandler.isReparentGesture(IInputModeContext context,
INode node) |
boolean |
IReparentNodeHandler.isReparentGesture(IInputModeContext context,
INode node)
Determines whether the current gesture that can be determined through the context is a reparent gesture.
|
protected boolean |
MoveLabelInputMode.isValidLabelHit(IInputModeContext context,
PointD location)
Determines whether or not a valid label has been hit at the specified position.
|
boolean |
ReparentNodeHandler.isValidParent(IInputModeContext context,
INode node,
INode newParent) |
boolean |
IReparentNodeHandler.isValidParent(IInputModeContext context,
INode node,
INode newParent)
Determines whether the provided node may be reparented to a
newParent . |
boolean |
ReparentStripeHandler.isValidParent(IInputModeContext context,
IStripe stripe,
IStripe newParent,
int index,
StripeReparentPolicy reparentPosition)
Checks the constraints imposed by
MaxRowLevel or MaxColumnLevel
for a valid gesture. |
boolean |
IReparentStripeHandler.isValidParent(IInputModeContext context,
IStripe stripe,
IStripe newParent,
int index,
StripeReparentPolicy reparentPosition)
Determines whether the provided node may be reparented to a
newParent . |
protected void |
ConstrainedDragHandler.onCanceled(IInputModeContext context,
PointD originalLocation)
Called when the
ConstrainedDragHandler.cancelDrag(IInputModeContext, PointD) method has been called. |
protected void |
ConstrainedReshapeHandler.onCanceled(IInputModeContext context,
RectD originalBounds)
Called when the
ConstrainedReshapeHandler.cancelReshape(IInputModeContext, RectD) method has been called. |
protected void |
ConstrainedDragHandler.onFinished(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Called when the
ConstrainedDragHandler.dragFinished(IInputModeContext, PointD, PointD) method has been called. |
protected void |
ConstrainedReshapeHandler.onFinished(IInputModeContext context,
RectD originalBounds,
RectD newBounds)
Called when the
ConstrainedReshapeHandler.reshapeFinished(IInputModeContext, RectD, RectD) method has been called. |
protected void |
ConstrainedDragHandler.onInitialized(IInputModeContext context,
PointD originalLocation)
Called when the
ConstrainedDragHandler.initializeDrag(IInputModeContext) method has been called. |
protected void |
ConstrainedReshapeHandler.onInitialized(IInputModeContext context,
RectD originalBounds)
Called when the
ConstrainedReshapeHandler.initializeReshape(IInputModeContext) method has been called. |
protected void |
ConstrainedDragHandler.onMoved(IInputModeContext context,
PointD originalLocation,
PointD newLocation)
Called when the
ConstrainedDragHandler.handleMove(IInputModeContext, PointD, PointD) operation has been performed. |
protected void |
ConstrainedReshapeHandler.onReshaped(IInputModeContext context,
RectD originalBounds,
RectD newBounds)
Called when the
ConstrainedReshapeHandler.handleReshape(IInputModeContext, RectD, RectD) operation has been performed. |
void |
ReparentNodeHandler.reparent(IInputModeContext context,
INode node,
INode newParent) |
void |
IReparentNodeHandler.reparent(IInputModeContext context,
INode node,
INode newParent)
Performs the actual reparenting after the reparent gesture has been finalized.
|
void |
ReparentStripeHandler.reparent(IInputModeContext context,
IStripe stripe,
IStripe newParent,
int index,
StripeReparentPolicy reparentPosition)
Performs the actual reparenting after the reparent gesture has been finalized.
|
void |
IReparentStripeHandler.reparent(IInputModeContext context,
IStripe movedStripe,
IStripe newParent,
int index,
StripeReparentPolicy reparentPosition)
Performs the actual reparenting after the reparent gesture has been finalized.
|
void |
TableReshapeHandler.reshapeFinished(IInputModeContext context,
RectD originalBounds,
RectD newBounds) |
void |
IReshapeHandler.reshapeFinished(IInputModeContext context,
RectD originalBounds,
RectD newBounds)
Called by clients to indicate that the reshaping has just been finished.
|
void |
ConstrainedReshapeHandler.reshapeFinished(IInputModeContext context,
RectD originalBounds,
RectD newBounds)
Handles the finish operation and invokes
ConstrainedReshapeHandler.onFinished(IInputModeContext, RectD, RectD) . |
protected IPortCandidate |
PortRelocationHandle.resolveCandidate(IInputModeContext context,
IPortCandidate portCandidate,
PointD location)
Tries to
resolve a dynamic port candidate for the
given location. |
protected void |
PortRelocationHandle.setInputModeContext(IInputModeContext value)
Sets the context to operate on.
|
protected void |
PortRelocationHandle.setPort(IInputModeContext context,
IEdge edge,
boolean setSourcePort,
IPortCandidate portCandidate,
PointD suggestedLocation)
Callback that is triggered by
PortRelocationHandle.dragFinished(IInputModeContext, PointD, PointD) to actually change the port. |
protected void |
PortRelocationHandle.setPorts(IInputModeContext context,
IEdge edge,
IPort sourcePort,
IPort targetPort)
Finally sets the ports for the edge to the new values.
|
boolean |
OrthogonalEdgeHelper.shouldEditOrthogonally(IInputModeContext context,
IEdge edge)
Determines whether the provided edge should be edited orthogonally in the specified input mode context.
|
boolean |
IOrthogonalEdgeHelper.shouldEditOrthogonally(IInputModeContext context,
IEdge edge)
Determines whether the provided edge should be edited orthogonally in the specified input mode context.
|
protected boolean |
MoveLabelInputMode.shouldMove(IInputModeContext context,
ILabel label)
Determines whether or not a label is allowed to be moved.
|
boolean |
OrthogonalEdgeHelper.shouldMoveEndImplicitly(IInputModeContext context,
IEdge edge,
boolean sourceEnd)
Determines whether this end of the provided edge can be moved in the input mode context.
|
boolean |
IOrthogonalEdgeHelper.shouldMoveEndImplicitly(IInputModeContext context,
IEdge edge,
boolean sourceEnd)
Determines whether this end of the provided edge can be moved in the input mode context.
|
boolean |
ReparentNodeHandler.shouldReparent(IInputModeContext context,
INode node) |
boolean |
IReparentNodeHandler.shouldReparent(IInputModeContext context,
INode node)
Determines whether the user may detach the given node from its current parent in order to reparent it.
|
boolean |
ReparentStripeHandler.shouldReparent(IInputModeContext context,
IStripe stripe)
Determines whether the user may detach the given stripe from its current parent in order to reparent it.
|
boolean |
IReparentStripeHandler.shouldReparent(IInputModeContext context,
IStripe stripe)
Determines whether the user may detach the given stripe from its current parent in order to reparent it.
|
void |
GraphEditorInputMode.snapToGrid(IInputModeContext context,
INode node)
Snaps the node to the grid using the
IGridConstraintProvider for INode s queried from the given context. |
boolean |
IGridConstraintProvider.snapToGrid(IInputModeContext context,
T item,
IMutablePoint location,
SnapPolicy xSnapPolicy,
SnapPolicy ySnapPolicy)
Performs the actual snapping to grid coordinates.
|
boolean |
GridConstraintProvider.snapToGrid(IInputModeContext context,
T item,
IMutablePoint location,
SnapPolicy xSnapPolicy,
SnapPolicy ySnapPolicy) |
void |
WaitInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
TextEditorInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
TapInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
TableEditorInputMode.uninstall(IInputModeContext context) |
void |
ResizeStripeInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
OverviewInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
NavigationInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
MultiplexingInputMode.uninstall(IInputModeContext context) |
void |
MoveViewportInputMode.uninstall(IInputModeContext context) |
void |
MoveInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
MouseHoverInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
MarqueeSelectionInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
KeyboardInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
ItemHoverInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
IInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
HandleInputMode.uninstall(IInputModeContext context)
Removes the
ICanvasObject that displays the handles from the canvas. |
void |
GraphEditorInputMode.uninstall(IInputModeContext context) |
void |
FocusGuardInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
DropInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the canvas.
|
void |
CreateEdgeInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
CreateBendInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
ClickInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the given context.
|
void |
AbstractInputMode.uninstall(IInputModeContext context)
Uninstalls this mode from the canvas.
|
void |
AbstractContextMenuInputMode.uninstall(IInputModeContext context)
Removes the menu from the context and replaces it with the old instance.
|
protected ICanvasObject |
ReparentStripePositionHandler.updateSourceVisualization(IInputModeContext context,
ICanvasObject targetVisualization,
IStripe targetStripe,
StripeReparentPolicy reparentPosition)
Modifies the source visualization itself.
|
protected ICanvasObject |
ReparentStripePositionHandler.updateTargetVisualization(IInputModeContext context,
ICanvasObject targetVisualization,
IStripe targetStripe,
StripeReparentPolicy reparentPosition,
RectD targetBounds)
Modifies the target visualization itself.
|
protected boolean |
LabelPositionHandler.useParameterFinder(IInputModeContext context)
Determines whether to use a
ILabelModelParameterFinder to find the best candidate. |
IInputModeContext |
SnapContext.wrapContext(IInputModeContext context)
Helper method that wraps the given
context so that a ILookup.lookup(Class) query
on the wrapped context for the SnapContext type yields this instance. |
IInputModeContext |
LabelSnapContext.wrapContext(IInputModeContext context) |
IInputModeContext |
GraphSnapContext.wrapContext(IInputModeContext context) |
Constructor and Description |
---|
ClickEventArgs(IInputModeContext context,
PointD location,
ModifierKeys modifiers,
MouseButtons mouseButtons,
int clickCount)
Initializes a new instance of the
ClickEventArgs class. |
CollectGraphSnapLinesEventArgs(IInputModeContext context,
Collection<OrthogonalSnapLine> fixedNodeSnapLines,
Collection<OrthogonalSnapLine> fixedSegmentSnapLines,
Collection<OrthogonalSnapLine> fixedPortSnapLines,
Collection<OrthogonalSnapLine> additionalSnapLines)
Initializes a new instance of the
CollectGraphSnapLinesEventArgs class. |
CollectLabelSnapLineEventArgs(IInputModeContext context,
Collection<SnapLine> snapLines)
Creates a new instance of this class.
|
CollectSnapResultsEventArgs(IInputModeContext context,
PointD originalLocation,
PointD newLocation,
double snapDistance,
Collection<SnapResult> snapResults)
Creates a new instance of the event arguments using the provided values for initialization.
|
InputModeEventArgs(IInputModeContext context)
Initializes a new instance of the
InputModeEventArgs class. |
LabelEditingEventArgs(IInputModeContext context,
ILabelOwner owner,
ILabel label)
Initializes a new instance of the
LabelEditingEventArgs class with the given context, owner, and label. |
LabelTextValidatingEventArgs(IInputModeContext context,
ILabel label,
String newText)
Initializes a new instance of the
LabelTextValidatingEventArgs class. |
PopulateItemContextMenuEventArgs(IInputModeContext context,
PointD queryLocation,
Object menu,
EventSource eventSource,
TModelItem item)
Initializes a new instance of the
PopulateItemContextMenuEventArgs class. |
PopulateMenuEventArgs(IInputModeContext context,
PointD queryLocation,
Object menu,
EventSource eventSource)
Initializes a new instance of the
PopulateMenuEventArgs class. |
QueryItemToolTipEventArgs(IInputModeContext context,
PointD queryLocation,
TModelItem item)
Initializes a new instance of the
QueryItemToolTipEventArgs class. |
QueryPositionHandlerEventArgs(IInputModeContext context,
PointD queryLocation)
Instantiates a new
QueryPositionHandlerEventArgs . |
SelectionEventArgs(IInputModeContext context,
ISelectionModel<T> selection)
Creates a new instance.
|
TapEventArgs(IInputModeContext context,
PointD location)
Initializes a new instance of the
TapEventArgs class. |
TextEventArgs(IInputModeContext context,
String text)
Creates a new instance.
|
ToolTipQueryEventArgs(IInputModeContext context,
PointD queryLocation)
Initializes a new instance of the
ToolTipQueryEventArgs class. |