|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object devplugin.ActionMenu
public class ActionMenu
This class represents a structure for context menus.
Constructor Summary | |
---|---|
ActionMenu(javax.swing.Action action)
Creates a new single menu entry |
|
ActionMenu(javax.swing.Action action,
javax.swing.Action[] subItems)
Deprecated. since 3.0, use ActionMenu(String, Icon, Action[]) instead |
|
ActionMenu(javax.swing.Action action,
ActionMenu[] subItems)
Deprecated. since 3.0, use ActionMenu(String, Icon, ActionMenu[]) instead |
|
ActionMenu(javax.swing.Action action,
boolean isSelected)
Creates a new single checkbox menu entry. |
|
ActionMenu(ActionMenu actionMenu)
Clone an existing ActionMenu |
|
ActionMenu(javax.swing.Action action,
java.lang.Object[] subItems)
Deprecated. since 3.0, use ActionMenu(String, Icon, Object[]) instead |
|
ActionMenu(java.lang.String menuTitle,
javax.swing.Action[] subItems)
Creates a menu item having sub menu items. |
|
ActionMenu(java.lang.String menuTitle,
ActionMenu[] subItems)
Creates a menu item having sub menu items. |
|
ActionMenu(java.lang.String menuTitle,
javax.swing.Icon menuIcon,
javax.swing.Action[] subItems)
Creates a menu item having sub menu items. |
|
ActionMenu(java.lang.String menuTitle,
javax.swing.Icon menuIcon,
ActionMenu[] subItems)
Creates a menu item having sub menu items. |
|
ActionMenu(java.lang.String menuTitle,
javax.swing.Icon menuIcon,
java.lang.Object[] subItems)
Creates a menu item having sub menu items. |
|
ActionMenu(java.lang.String menuTitle,
java.lang.Object[] subItems)
Creates a menu item having sub menu items. |
Method Summary | |
---|---|
javax.swing.Action |
getAction()
|
ActionMenu[] |
getSubItems()
|
java.lang.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(javax.swing.Action action, ActionMenu[] subItems)
ActionMenu(String, Icon, ActionMenu[])
instead
action
- subItems
- ContextMenuAction
public ActionMenu(java.lang.String menuTitle, javax.swing.Icon menuIcon, ActionMenu[] subItems)
menuTitle
- title of the sub menumenuIcon
- icon of the sub menusubItems
- sub menu itemsContextMenuAction
public ActionMenu(java.lang.String menuTitle, ActionMenu[] subItems)
menuTitle
- title of the sub menusubItems
- sub menu itemsContextMenuAction
public ActionMenu(javax.swing.Action action, javax.swing.Action[] subItems)
ActionMenu(String, Icon, Action[])
instead
action
- subItems
- public ActionMenu(java.lang.String menuTitle, javax.swing.Icon menuIcon, javax.swing.Action[] subItems)
menuTitle
- title of the sub menumenuIcon
- icon of the sub menusubItems
- public ActionMenu(java.lang.String menuTitle, javax.swing.Action[] subItems)
menuTitle
- title of the sub menusubItems
- public ActionMenu(javax.swing.Action action, java.lang.Object[] subItems)
ActionMenu(String, Icon, Object[])
instead
action
- subItems
- sub menu items, can be Actions or ActionMenus in mixed orderpublic ActionMenu(java.lang.String menuTitle, javax.swing.Icon menuIcon, java.lang.Object[] subItems)
menuTitle
- title of the sub menumenuIcon
- icon of the sub menusubItems
- sub menu items, can be Actions or ActionMenus in mixed orderpublic ActionMenu(java.lang.String menuTitle, java.lang.Object[] subItems)
menuTitle
- title of the sub menusubItems
- sub menu items, can be Actions or ActionMenus in mixed orderpublic ActionMenu(javax.swing.Action action, boolean isSelected)
action
- isSelected
- state of the check box (checked/unchecked)public ActionMenu(javax.swing.Action action)
action
- public ActionMenu(ActionMenu actionMenu)
actionMenu
- clone this ActionMenuMethod Detail |
---|
public java.lang.String getTitle()
public ActionMenu[] getSubItems()
public boolean hasSubItems()
public boolean isSelected()
public javax.swing.Action getAction()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |