de.michab.mack.actions
Class ActAbout

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.michab.mack.ConfigurableAction
          extended byde.michab.mack.actions.ActAbout
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public final class ActAbout
extends ConfigurableAction

An about box. The action id is ACT_ABOUT. Allows to display a message and an application logo. For debug support it also supports a display of the Java system properties.

The following table describes the properties the action evaluates:

Key Comment
message The Action's display name.
logo Text to be displayed on the Action's tooltip.

Version:
$Revision: 1.6 $
Author:
Michael G. Binz
See Also:
ConfigurableAction, Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ActAbout()
          Create an about action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          Brings up the actual about dialog.
 void configureFrom(java.util.ResourceBundle r)
          Performs local localisation.
 
Methods inherited from class de.michab.mack.ConfigurableAction
getDialogRoot, getKey, getToolbarComponent, localize, localize, localizeIcon
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActAbout

public ActAbout()
Create an about action.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Brings up the actual about dialog.

Parameters:
ae - The event that triggered execution of this action.

configureFrom

public void configureFrom(java.util.ResourceBundle r)
Performs local localisation. Additionally checks for the resource key ACT_ABOUT.message that contains text for the about box.

Overrides:
configureFrom in class ConfigurableAction
Parameters:
r - The resource bundle to be used for configuration.