org.jdesktop.swingx.action
Class OpenBrowserAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.jdesktop.swingx.action.OpenBrowserAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class OpenBrowserAction
extends AbstractAction

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
OpenBrowserAction()
          Creates a new instance of OpenBrowserAction
OpenBrowserAction(String url)
           
OpenBrowserAction(URL url)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Invoked when an action occurs.
 URL getUrl()
           
protected  void handleError(Throwable thr)
           
static void main(String... args)
           
 void setUrl(URL url)
           
 
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

OpenBrowserAction

public OpenBrowserAction()
Creates a new instance of OpenBrowserAction


OpenBrowserAction

public OpenBrowserAction(String url)
                  throws MalformedURLException
Throws:
MalformedURLException

OpenBrowserAction

public OpenBrowserAction(URL url)
Method Detail

getUrl

public URL getUrl()

setUrl

public void setUrl(URL url)

actionPerformed

public void actionPerformed(ActionEvent e)
Description copied from interface: java.awt.event.ActionListener
Invoked when an action occurs.


handleError

protected void handleError(Throwable thr)

main

public static void main(String... args)
                 throws MalformedURLException
Throws:
MalformedURLException