public class PopupMenuEvent extends ClientEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
PopupMenuEvent.FullscreenPopupMenuEvent
This event is fired when a user right clicks anywhere on the fullscreen map that is not an overlay or waypoint.
|
static class |
PopupMenuEvent.Layer |
static class |
PopupMenuEvent.WaypointPopupMenuEvent
This event is fired when a user right-clicks on a waypoint icon.
|
dimensiontimestamp| Constructor and Description |
|---|
PopupMenuEvent(ModPopupMenu popupMenu,
PopupMenuEvent.Layer layer,
IFullscreen fullscreen)
This event is used for adding items to the right click menu on the fullscreen map.
|
| Modifier and Type | Method and Description |
|---|---|
IFullscreen |
getFullscreen() |
PopupMenuEvent.Layer |
getLayer() |
ModPopupMenu |
getPopupMenu() |
cancel, isCancellable, isCancelledpublic PopupMenuEvent(ModPopupMenu popupMenu, PopupMenuEvent.Layer layer, IFullscreen fullscreen)
popupMenu - - The menu builder.layer - - The mapping layer which fired the event.fullscreen - - The fullscreen hook.public ModPopupMenu getPopupMenu()
public PopupMenuEvent.Layer getLayer()
public IFullscreen getFullscreen()