Package | Description |
---|---|
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 |
---|---|
static EventSource |
EventSource.fromOrdinal(int ordinal) |
EventSource |
PopulateMenuEventArgs.getEventSource()
Gets the source that triggered this event.
|
static EventSource |
EventSource.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventSource[] |
EventSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractContextMenuInputMode.onPopulateMenu(TContextMenu menu,
PointD location,
EventSource eventSource)
This will populate the context menu for the given world coordinate.
|
Constructor and Description |
---|
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. |