be.ugent.caagt.swirl.actions
Class MenuButton
JMenuItem
be.ugent.caagt.swirl.actions.MenuButton
public class MenuButton
extends JMenuItem
MenuButton(Action action) - Create a menu button from the given action.
|
MenuButton
public MenuButton(Action action)
Create a menu button from the given action. Results in a button
which is almost the same as a standard Swing
JMenuItem
except that
it also honours the action key
SimpleAction.SMALL_DISABLED_ICON
.
PropertyChangeListener createActionPropertyChangeListener
protected @Override PropertyChangeListener createActionPropertyChangeListener(Action a)
void configurePropertiesFromAction
protected @Override void configurePropertiesFromAction(Action a)