ewe.ui
Class MenuState
java.lang.Object
ewe.ui.MenuState
- All Implemented Interfaces:
- EventListener, PopupController
- public class MenuState
- extends Object
- implements EventListener, PopupController
menu
public Menu menu
parent
public Frame parent
frame
public CarrierFrame frame
control
public Control control
opened
public boolean opened
outsideOfControl
public boolean outsideOfControl
autoSelectFirst
public boolean autoSelectFirst
lock
protected Lock lock
MenuState
public MenuState()
isOpen
public boolean isOpen()
showIt
protected void showIt()
doShowMenu
public void doShowMenu(Point p)
doShowMenu
public void doShowMenu(Point point,
boolean center,
Rect exclusion)
closePopup
public void closePopup(int why,
int flags)
- Description copied from interface:
PopupController
- Close the popup that you have opened.
- Specified by:
closePopup in interface PopupController
- Parameters:
why - the reason for closing. This is one of the CLOSE_FOR_xxx values.flags - any of the FLAG_xxx values ORed together.
closeMenu
public void closeMenu()
onEvent
public void onEvent(Event ev)
- Specified by:
onEvent in interface EventListener