info.magnolia.ui.workbench.event
Class ItemShortcutKeyEvent
java.lang.Object
info.magnolia.ui.workbench.event.ItemShortcutKeyEvent
- All Implemented Interfaces:
- info.magnolia.event.Event<ItemShortcutKeyEvent.Handler>
public class ItemShortcutKeyEvent
- extends Object
- implements info.magnolia.event.Event<ItemShortcutKeyEvent.Handler>
This event is fired when a registered key shortcut is pressed while an item is selected (i.e. a row in the data grid within the workbench representing
either a Node
or a Property
).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemShortcutKeyEvent
public ItemShortcutKeyEvent(String workspace,
JcrItemAdapter item,
int keyCode,
int... modifierKeys)
getWorkspace
public String getWorkspace()
getItem
public JcrItemAdapter getItem()
getItemId
public String getItemId()
getKeyCode
public int getKeyCode()
getModifierKeys
public int[] getModifierKeys()
dispatch
public void dispatch(ItemShortcutKeyEvent.Handler handler)
- Specified by:
dispatch
in interface info.magnolia.event.Event<ItemShortcutKeyEvent.Handler>
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.