AbstractButton
|
+ AbstractButton(Action)
+ setAction(Action)
# configurePropertiesFromAction(Action)
# createPropertyChangeListener(Action)
+ setActionCommand(String)
+ setEnabled(boolean)
+ setIcon(Icon)
+ setText(String)
+ setToolTipText(String)
|
|
When you pass an Action to the button's constructor
the button configures itself using the Action's properties...
...and adds a property change listener to the Action.
|