public class RadialMenuEvent
extends java.lang.Object
Constructor and Description |
---|
RadialMenuEvent(RadialMenu menu,
DiagramItem item)
Initializes a new instance of the RadialMenuEvent class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCancel()
Gets a flag indicating whether showing the menu should be cancelled.
|
DiagramItem |
getItem()
Gets the diagram item for which the menu is being opened.
|
RadialMenu |
getMenu()
Gets the context menu about to be shown.
|
void |
setCancel(boolean value)
Sets a flag indicating whether showing the menu should be cancelled.
|
public RadialMenuEvent(RadialMenu menu, DiagramItem item)
menu
- A RadialMenu
instance.item
- A DiagramItem
instance.public RadialMenu getMenu()
RadialMenu
instance.public DiagramItem getItem()
DiagramItem
instance.public void setCancel(boolean value)
value
- true to cancel, or false otherwise.public boolean getCancel()