Package org.evoludo.ui
Interface ContextMenu.Listener
- All Superinterfaces:
HasContextMenuHandlers
,HasHandlers
,HasTouchCancelHandlers
,HasTouchEndHandlers
,HasTouchMoveHandlers
,HasTouchStartHandlers
- All Known Implementing Classes:
AbstractGraph
,Console.Log
,GenericPopGraph
,HistoGraph
,LineGraph
,ParaGraph
,PopGraph2D
,PopGraph3D
,S3Graph
- Enclosing class:
ContextMenu
public static interface ContextMenu.Listener
extends HasContextMenuHandlers, HasTouchStartHandlers, HasTouchEndHandlers, HasTouchMoveHandlers, HasTouchCancelHandlers
Listener interface for widgets that offer context menus. This ensures proper
placement of the context menu.
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the absolute left positioning of the widget requesting the context menu.int
Get the absolute top positioning of the widget requesting the context menu.Methods inherited from interface HasContextMenuHandlers
addContextMenuHandler
Methods inherited from interface HasHandlers
fireEvent
Methods inherited from interface HasTouchCancelHandlers
addTouchCancelHandler
Methods inherited from interface HasTouchEndHandlers
addTouchEndHandler
Methods inherited from interface HasTouchMoveHandlers
addTouchMoveHandler
Methods inherited from interface HasTouchStartHandlers
addTouchStartHandler
-
Method Details
-
getAbsoluteLeft
int getAbsoluteLeft()Get the absolute left positioning of the widget requesting the context menu.- Returns:
- the absolute left of widget
-
getAbsoluteTop
int getAbsoluteTop()Get the absolute top positioning of the widget requesting the context menu.- Returns:
- absolute top of widget
-