be.ugent.caagt.swirl.actions

Class MenuRadioButton


public class MenuRadioButton
extends JRadioButtonMenuItem

Radio button for use in a menu. Has the same functionality as JRadioButtonMenuItem but also honours the action keys SimpleAction.SMALL_DISABLED_ICON and SimpleAction.TOGGLE_BUTTON_MODEL.

Constructor Summary

MenuRadioButton(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

MenuRadioButton

public MenuRadioButton(Action action)

Method Details

PropertyChangeListener createActionPropertyChangeListener

protected @Override PropertyChangeListener createActionPropertyChangeListener(Action a)

void configurePropertiesFromAction

protected @Override void configurePropertiesFromAction(Action a)