public static class BAMutil.ActionToggle
extends javax.swing.AbstractAction
Boolean state = (Boolean) act.getValue(BAMutil.STATE); act.putValue(BAMutil.STATE, new Boolean(state));It will automatically change the button state if the action state changes.
Constructor and Description |
---|
ActionToggle(javax.swing.Action oa,
javax.swing.AbstractButton b)
_more_
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
_more_
|