public class MenuState extends Object implements EventListener, PopupController
| Modifier and Type | Field and Description |
|---|---|
boolean |
autoSelectFirst |
Control |
control |
boolean |
fade |
CarrierFrame |
frame |
Menu |
menu |
boolean |
opened |
boolean |
outsideOfControl |
Frame |
parent |
String |
title |
CLOSE_FOR_NEW_POPUP, FLAG_NEW_POPUP_IS_MENU| Constructor and Description |
|---|
MenuState() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeMenu() |
void |
closePopup(int why,
int flags)
Close the popup that you have opened.
|
void |
doShowMenu(Point p) |
void |
doShowMenu(Point point,
boolean center,
Rect exclusion) |
boolean |
isOpen() |
void |
onEvent(Event ev) |
protected void |
showIt() |
public Menu menu
public Frame parent
public CarrierFrame frame
public Control control
public boolean opened
public boolean outsideOfControl
public boolean autoSelectFirst
public String title
public boolean fade
public boolean isOpen()
protected void showIt()
public void doShowMenu(Point p)
public void closePopup(int why,
int flags)
PopupControllerclosePopup in interface PopupControllerwhy - the reason for closing. This is one of the CLOSE_FOR_xxx values.flags - any of the FLAG_xxx values ORed together.public void closeMenu()
public void onEvent(Event ev)