public class ContextMenuEventObject<_Source> extends BaseEventObject<_Source,ContextMenuListener<_Source>>
ContextMenuListener
interface.Modifier and Type | Class and Description |
---|---|
static class |
ContextMenuEventObject.EventType |
Constructor and Description |
---|
ContextMenuEventObject(ContextMenuEventObject.EventType eventType,
int collectionWindowID,
GUID paneID,
Menu menu,
boolean selectionMenu)
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
int |
getCollectionWindowID()
Get the ID of the collection window for the event.
|
Menu |
getMenu()
Return the menu where the event belongs to.
|
GUID |
getPaneID()
Return the ID of the pane that the context menu belongs to.
|
boolean |
isSelectionMenu()
Return whether the context menu is for selected categories.
|
java.lang.String |
toString()
Return a string representation of this event object.
|
getSource
public ContextMenuEventObject(ContextMenuEventObject.EventType eventType, int collectionWindowID, GUID paneID, Menu menu, boolean selectionMenu)
public int getCollectionWindowID()
public Menu getMenu()
public GUID getPaneID()
public boolean isSelectionMenu()
true
if the context menu belongs to the categories pane to be used for selected categories.public java.lang.String toString()
toString
in class java.util.EventObject
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.