|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PopupMenu
Represents a popup menu with a number of items and separators. It is not
currently possible to just create a popup menu and show it; see
TextView.MenuHandler
for one use.
Method Summary | |
---|---|
void |
addItem(java.lang.String name,
java.lang.Runnable action)
Adds an item to the menu. |
void |
addSeparator()
Adds a separator to the menu. |
Method Detail |
---|
void addItem(java.lang.String name, java.lang.Runnable action)
name
- Name of itemaction
- Runnable that happens if the item is clickedvoid addSeparator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |