public class MenuActionItem extends MenuItem
| Modifier and Type | Class and Description |
|---|---|
static class |
MenuActionItem.Type
Указывает тип представления action
|
MenuItem.PropertyChangedEvent| Modifier and Type | Field and Description |
|---|---|
protected Action |
action |
menuListener, propertiesListeners| Constructor and Description |
|---|
MenuActionItem()
Конструктор по умолчанию
|
MenuActionItem(Action action)
Конструктор
|
MenuActionItem(MenuContainer parent,
Action action)
Конструктор
|
| Modifier and Type | Method and Description |
|---|---|
Action |
getAction()
Указывает действие связанное с меню
|
MenuActionItem.Type |
getType()
Указывает тип представления
|
void |
setAction(Action action)
Указывает действие связанное с меню
|
void |
setType(MenuActionItem.Type type)
Указывает тип представления
|
actionsOf, actionsOf, addChild, addChild, addMenuListener, addPropertyChangeListener, clearChildren, clearChildren, filteredActionsOf, filteredActionsOf, findById, findMenuItemById, fireMenuEvent, firePropertyChanged, getId, getParent, getPath, getPropertyChangeListeners, iterable, menuIdPredicate, pathof, removeChild, removeChild, removeMenuListener, removePropertyChangeListener, setId, setParent, single, targetedActionsOf, targetedActionsOfprotected Action action
public MenuActionItem()
public MenuActionItem(Action action)
action - действиеpublic MenuActionItem(MenuContainer parent, Action action)
parent - "Родительский" контейнер для пункта менюaction - Действиеpublic Action getAction()
public void setAction(Action action)
action - Действиеpublic MenuActionItem.Type getType()
public void setType(MenuActionItem.Type type)
type - тип представленияCopyright © 2019. All rights reserved.