public interface ActionList
Modifier and Type | Method and Description |
---|---|
void |
addAction(Action action) |
void |
addActions(ActionList defaultActions) |
void |
addSeparator() |
void |
clear() |
void |
dispatchKeyEvent(KeyEvent e) |
Action |
getActionAt(int index) |
int |
getActionCount() |
Action |
getDefaultAction() |
String |
getLabel() |
boolean |
hasDefaultAction() |
void |
insertAction(Action action,
int index) |
void |
insertSeparator(int index) |
void |
performDefaultAction(ActionEvent event) |
void |
removeAction(int index) |
void |
setDefaultAction(Action action) |
int getActionCount()
Action getActionAt(int index)
Action getDefaultAction()
boolean hasDefaultAction()
void performDefaultAction(ActionEvent event)
void addAction(Action action)
void addSeparator()
void insertAction(Action action, int index)
void insertSeparator(int index)
String getLabel()
void clear()
void dispatchKeyEvent(KeyEvent e)
void addActions(ActionList defaultActions)
void setDefaultAction(Action action)
void removeAction(int index)
Copyright © 2019. All Rights Reserved.