|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdevplugin.ActionMenu
public class ActionMenu
This class represents a structure for context menus.
| Constructor Summary | |
|---|---|
ActionMenu(Action action)
Creates a new single menu entry |
|
ActionMenu(Action action,
Action[] subItems)
Creates a menu item having sub menu items. |
|
ActionMenu(Action action,
ActionMenu[] subItems)
Creates a menu item having sub menu items. |
|
ActionMenu(Action action,
boolean isSelected)
Creates a new single checkbox menu entry. |
|
ActionMenu(ActionMenu actionMenu)
Clone an existing ActionMenu |
|
ActionMenu(Action action,
Object[] subItems)
Creates a menu item having sub menu items. |
|
| Method Summary | |
|---|---|
Action |
getAction()
|
ActionMenu[] |
getSubItems()
|
String |
getTitle()
|
boolean |
hasSubItems()
|
boolean |
isSelected()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionMenu(Action action,
ActionMenu[] subItems)
action - subItems - ContextMenuAction
public ActionMenu(Action action,
Action[] subItems)
action - subItems -
public ActionMenu(Action action,
Object[] subItems)
action - subItems - sub menu items, can be Actions or ActionMenus in mixed order
public ActionMenu(Action action,
boolean isSelected)
action - isSelected - state of the check box (checked/unchecked)public ActionMenu(Action action)
action - public ActionMenu(ActionMenu actionMenu)
actionMenu - clone this ActionMenu| Method Detail |
|---|
public String getTitle()
public ActionMenu[] getSubItems()
public boolean hasSubItems()
public boolean isSelected()
public Action getAction()
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||