/** * Creates a button based on the attributes of the action. * * @param action an action used to create the button * @return will return a JButton or a JToggleButton. */ public AbstractButton createButton(Action action) { return createButton(action, null); }
/** * Creates a button based on the attributes of the action. * * @param action an action used to create the button * @return will return a JButton or a JToggleButton. */ public AbstractButton createButton(Action action) { return createButton(action, null); }
/** * Creates a button based on the attributes of the action. * * @param action an action used to create the button * @return will return a JButton or a JToggleButton. */ public AbstractButton createButton(Action action) { return createButton(action, null); }
/** * Creates a button based on the attributes of the action. * * @param action an action used to create the button * @return will return a JButton or a JToggleButton. */ public AbstractButton createButton(Action action) { return createButton(action, null); }
/** * Creates, configures and returns an AbstractButton. * * The attributes of the action element * registered with the ActionManger by the given id. * Will return a JButton or a JToggleButton. * * @param id the identifer * @param container the JComponent which parents the group, if any. * @return an AbstractButton based on the */ public AbstractButton createButton(Object id, JComponent container) { return createButton(getAction(id), container); }
/** * Creates, configures and returns an AbstractButton. * * The attributes of the action element * registered with the ActionManger by the given id. * Will return a JButton or a JToggleButton. * * @param id the identifier * @param container the JComponent which parents the group, if any. * @return an AbstractButton based on the */ public AbstractButton createButton(Object id, JComponent container) { return createButton(getAction(id), container); }
/** * Creates, configures and returns an AbstractButton. * * The attributes of the action element * registered with the ActionManger by the given id. * Will return a JButton or a JToggleButton. * * @param id the identifier * @param container the JComponent which parents the group, if any. * @return an AbstractButton based on the */ public AbstractButton createButton(Object id, JComponent container) { return createButton(getAction(id), container); }
/** * Creates, configures and returns an AbstractButton. * * The attributes of the action element * registered with the ActionManger by the given id. * Will return a JButton or a JToggleButton. * * @param id the identifier * @param container the JComponent which parents the group, if any. * @return an AbstractButton based on the */ public AbstractButton createButton(Object id, JComponent container) { return createButton(getAction(id), container); }
toolbar.addSeparator(); } else { AbstractButton button = createButton(element, toolbar);
toolbar.addSeparator(); } else { AbstractButton button = createButton(element, toolbar);
toolbar.addSeparator(); } else { AbstractButton button = createButton(element, toolbar);
toolbar.addSeparator(); } else { AbstractButton button = createButton(element, toolbar);