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 | Class and Description |
---|---|
class |
PopulateItemContextMenuEventArgs<TModelItem>
A specialized subclass of
PopulateMenuEventArgs that carries the Item for which the context
menu should be populated. |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractContextMenuInputMode.onPopulateMenu(PopulateMenuEventArgs args)
Raises the
PopulateMenu event. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractContextMenuInputMode.addPopulateMenuListener(IEventHandler<PopulateMenuEventArgs> populateMenuEvent)
Adds the given listener for the
PopulateMenu event that occurs when the context menu is about to be shown. |
void |
AbstractContextMenuInputMode.removePopulateMenuListener(IEventHandler<PopulateMenuEventArgs> populateMenuEvent)
Removes the given listener for the
PopulateMenu event that occurs when the context menu is about to be shown. |