de.miethxml.toolkit.gui.help
Class HelpAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byde.miethxml.toolkit.gui.help.HelpAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, org.apache.avalon.framework.activity.Initializable, LocaleListener, java.io.Serializable, org.apache.avalon.framework.service.Serviceable

public class HelpAction
extends javax.swing.AbstractAction
implements LocaleListener, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Initializable

Author:
Simon Mieth
See Also:
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
HelpAction()
           
HelpAction(java.lang.String url)
           
HelpAction(java.lang.String name, javax.swing.Icon icon)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void initialize()
           
 void langChanged()
           
 void service(org.apache.avalon.framework.service.ServiceManager manager)
           
 void setDefaultURL(java.lang.String defaultURL)
           
 
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

HelpAction

public HelpAction()

HelpAction

public HelpAction(java.lang.String url)

HelpAction

public HelpAction(java.lang.String name,
                  javax.swing.Icon icon)
Parameters:
name -
icon -
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

langChanged

public void langChanged()
Specified by:
langChanged in interface LocaleListener

setDefaultURL

public void setDefaultURL(java.lang.String defaultURL)
Parameters:
defaultURL - The defaultURL to set.

initialize

public void initialize()
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException