Examples of JAutoRadioButtonMenuItem


Examples of org.freeplane.core.ui.components.JAutoRadioButtonMenuItem

  public JMenuItem addRadioItem(final String category, final String key,
      final AFreeplaneAction action, final boolean isSelected) {
    assert key != null;
    final JRadioButtonMenuItem item;
    if (action.getClass().getAnnotation(SelectableAction.class) != null) {
      item = new JAutoRadioButtonMenuItem(decorateAction(category, action));
    }
    else {
      item = new JRadioButtonMenuItem(decorateAction(category, action));
    }
    addMenuItem(category, item, key, MenuBuilder.AS_CHILD);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.