Package | Description |
---|---|
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 |
---|---|
IInputMode |
CanvasControl.getInputMode()
Specifies the single
IInputMode instance that shall be installed for this canvas. |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<IInputMode> |
CanvasControl.inputModeProperty()
The property for the
the single input mode instance that is installed in this canvas . |
Modifier and Type | Method and Description |
---|---|
void |
CanvasControl.setInputMode(IInputMode value)
Sets the single
IInputMode instance that shall be installed for this canvas. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContextMenuInputMode<TContextMenu>
An implementation of the
IInputMode interface that will display a ContextMenu when the user right clicks
on the CanvasControl . |
class |
AbstractInputMode
Abstract base class implementation of an
IInputMode that can be used concurrently with other IInputMode
implementations if its Exclusive property is true . |
class |
ClickInputMode
An input mode that recognizes simple mouse clicks.
|
class |
ContextMenuInputMode
The default implementation of
AbstractContextMenuInputMode interface that will
display a ContextMenu when the user right clicks on the com.yworks.yfiles.canvas.CanvasControl or presses the menu key. |
class |
CreateBendInputMode
|
class |
CreateEdgeInputMode
An
IInputMode for interacticely creating edges between nodes and edges in an IGraph displayed in a CanvasControl
or GraphControl . |
class |
DropInputMode
This is an input mode handling drag and drop related events on a
CanvasControl . |
class |
FocusGuardInputMode
An
IInputMode that can be added to a MultiplexingInputMode to suppress other modes from doing unwanted
things if the control has just become focused. |
class |
GraphEditorInputMode
|
class |
GraphViewerInputMode
|
class |
HandleInputMode
An
IInputMode implementation that can handle a collection of IHandle s. |
class |
ItemDropInputMode<T extends IModelItem>
A
DropInputMode providing a preview of the dragged item. |
class |
ItemHoverInputMode
An input mode for use in a
GraphControl that fires events when the mouse enters or leaves
the visualization of a graph item . |
class |
KeyboardInputMode
An
IInputMode that recognizes simple key events and invokes a registered handler. |
class |
MarqueeSelectionInputMode
An
IInputMode implementation that can handle marquee selections performed by the user with a mouse. |
class |
MouseHoverInputMode
An
IInputMode that detects when the mouse hovers over the CanvasControl . |
class |
MoveInputMode
Generic
IInputMode implementation that can be used to move something in the canvas using the mouse. |
class |
MoveLabelInputMode
|
class |
MoveViewportInputMode
An
IInputMode implementation that can be used to grab and drag the viewport of the control it is installed in. |
class |
MultiplexingInputMode
A composite
IInputMode implementation that additionally can deal with Exclusive
instances. |
class |
NavigationInputMode
|
class |
NodeDropInputMode
An
ItemDropInputMode specialized to drag'n'drop INode s. |
class |
OverviewInputMode
An
IInputMode that can be used for an overview CanvasControl . |
class |
ReparentStripeInputMode
Specialized input mode that is used to reparent a stripe inside an
ITable structure. |
class |
ResizeStripeInputMode
Specialized input mode that is used to resize a stripe by dragging one of its borders.
|
class |
StripeDropInputMode
An
ItemDropInputMode specialized to drag 'n' drop IStripe s. |
class |
TableEditorInputMode
Input mode that can be used to interactively edit a table.
|
class |
TapInputMode
An input mode that recognizes simple touch taps.
|
class |
TextEditorInputMode
A simple
IInputMode that displays a TextArea instance in the CanvasControl to let the user edit
a text. |
class |
WaitInputMode
An
IInputMode implementation that can be used to block user interaction. |
Modifier and Type | Method and Description |
---|---|
IInputMode |
MultiplexingInputMode.getMutexOwner()
Gets the
IInputMode that currently owns the mutex. |
IInputMode |
ConcurrencyController.getMutexOwner()
Gets the current owner of the input mutex or
null if no mode currently owns the mutex. |
IInputMode |
IInputModeContext.getParentInputMode()
Yields the
IInputMode which issued the context object. |
Modifier and Type | Method and Description |
---|---|
List<IInputMode> |
MultiplexingInputMode.getSortedModes()
Returns a list of all modes managed by this instance in sorted order.
|
Modifier and Type | Method and Description |
---|---|
void |
MultiplexingInputMode.add(IInputMode mode)
Adds the given
mode . |
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. |
void |
MultiplexingInputMode.remove(IInputMode mode)
Removes the given mode from this compound mode.
|
Constructor and Description |
---|
ConcurrencyController(IInputMode mode)
Creates an instance that can be used to
install(com.yworks.yfiles.view.input.IInputModeContext, ConcurrencyController)
the given mode . |