be.ugent.caagt.swirl.actions

Class MenuButton


public class MenuButton
extends JMenuItem

Button for use in a menu. Has the same functionality as JMenuItem but also honours the action key SimpleAction.SMALL_DISABLED_ICON.

Constructor Summary

MenuButton(Action action)
Create a menu button from the given action.

Method Summary

protected @Override
PropertyChangeListener createActionPropertyChangeListener(Action a)
protected @Override
void configurePropertiesFromAction(Action a)

Constructor Details

MenuButton

public MenuButton(Action action)

Method Details

PropertyChangeListener createActionPropertyChangeListener

protected @Override PropertyChangeListener createActionPropertyChangeListener(Action a)

void configurePropertiesFromAction

protected @Override void configurePropertiesFromAction(Action a)