documentationfor yFiles for HTML 3.0.0.3

Usages of IInputMode

Properties

mutexOwnerin ConcurrencyControllerGets the current owner of the input mutex or null if no mode currently owns the mutex.
inputModein IInputModeContextGets the IInputMode which this context conceptually has been created for.
inputModein InputModeContext
mutexOwnerin MultiplexingInputModeGets the IInputMode that currently owns the mutex.
inputModein CanvasComponentGets or sets the single IInputMode instance that shall be installed for this canvas.

Method Return Values

getSortedModes ()in MultiplexingInputModeReturns a list of all modes managed by this instance sorted by their priority.

Method Parameters

ConcurrencyController (IInputMode)in ConcurrencyControllerCreates an instance that can be used to install the given mode.
InputModeContext (IInputModeContext, IInputMode?)in InputModeContextCreates a new instance of a context that is nested within the parentInputModeContext.
add (IInputMode)in MultiplexingInputModeAdds the given mode.
remove (IInputMode)in MultiplexingInputModeRemoves the given mode from this compound mode.
GraphComponent (HTMLElement, )in GraphComponentCreates a new instance of the GraphComponent in the given div element.
GraphComponent ()in GraphComponentCreates a new instance of the GraphComponent.
GraphComponent (string, )in GraphComponentCreates a new instance of GraphComponent using the div element that is specified by the selector.

Implementing Types

ClickInputModeAn input mode that recognizes pointer clicks or taps.
ContextMenuInputModeAn implementation of the IInputMode interface that handles the display of a custom context menu when the user right-clicks on the CanvasComponent.
CreateBendInputModeAn IInputMode used for recognizing the gesture of creating IBends in an IGraph.
CreateEdgeInputModeAn IInputMode for interactively creating edges between nodes and edges in an IGraph displayed in a CanvasComponent or GraphComponent.
DropInputModeAn input mode which handles drag and drop related events on a CanvasComponent.
EditLabelInputModeHandles interactive editing and adding of labels.
FocusGuardInputModeAn IInputMode that can be added to a MultiplexingInputMode to suppress other modes from performing unwanted actions if the control has just become focused.
HandleInputModeAn IInputMode implementation that can handle a collection of IHandles.
InputModeBaseAbstract base class implementation of an IInputMode that can be used concurrently with other IInputMode implementations if its exclusive property is true.
ItemHoverInputModeAn input mode for use in a GraphComponent that fires events when the pointer enters or leaves the visualization of a graph item.
KeyboardInputModeAn IInputMode that recognizes simple key events and invokes a registered action.
LassoSelectionInputModeAn IInputMode implementation that provides support for lasso selections through mouse or touch gestures.
MarqueeSelectionInputModeAn IInputMode implementation that provides support for marquee selections through mouse or touch gestures.
MoveInputModeGeneric IInputMode implementation that can be used to move something in the canvas using the mouse.
MoveViewportInputModeAn IInputMode implementation that can be used to pan or zoom the viewport of a CanvasComponent via mouse, stylus, and multitouch gestures.
MultiplexingInputModeA composite IInputMode implementation that additionally can deal with exclusive instances.
NavigationInputModeAn IInputMode that can navigate an IGraph displayed in a graphComponent.
ResizeStripeInputModeSpecialized input mode that is used to resize a stripe by dragging one of its borders.
TextEditorInputModeAn IInputMode implementation that displays a textarea in the CanvasComponent to let the user edit a text.
ToolTipInputModeAn IInputMode that detects when the mouse hovers over the CanvasComponent and displays a tooltip.
WaitInputModeAn IInputMode implementation that can be used to block user interaction.