Package jmt.framework.gui.listeners

Examples of jmt.framework.gui.listeners.AbstractJMTAction


   * Enables or disables all buttons of this toolbar
   * @param enable true to enable every button, false to disable them
   */
  public void enableButtons(boolean enable) {
    for (Object element : buttons.keySet()) {
      AbstractJMTAction action = (AbstractJMTAction) element;
      action.setEnabled(enable);
    }
  }
View Full Code Here


   * @see AbstractJMTAction
   */
  public ArrayList<JComponent> populateToolbar(Collection<AbstractJMTAction> abstractJMTactions) {
    ArrayList<JComponent> ret = new ArrayList<JComponent>();
    for (AbstractJMTAction abstractJMTAction : abstractJMTactions) {
      AbstractJMTAction action = abstractJMTAction;
      if (action == null) {
        addSeparator();
      } else {
        ret.add(addGenericButton(action));
      }
View Full Code Here

TOP

Related Classes of jmt.framework.gui.listeners.AbstractJMTAction

Copyright © 2018 www.massapicom. 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.