org.tigris.gef.base
Class CmdShowURL

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.tigris.gef.base.Cmd
          extended byorg.tigris.gef.base.CmdShowURL
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class CmdShowURL
extends Cmd

Cmd to display the contents of the given URL in the browser. Needs-More-Work: This Cmd can only be used from an applet.

See Also:
Serialized Form

Field Summary
protected  java.net.URL _url
           
 
Fields inherited from class org.tigris.gef.base.Cmd
_args, _resource
 
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
CmdShowURL()
           
CmdShowURL(java.lang.String s)
           
CmdShowURL(java.net.URL url)
           
 
Method Summary
 void doIt()
          Translate all selected Fig's in the current editor.
 void undoIt()
          Undo the Cmd using information stored during its execution.
 java.net.URL url()
           
 void url(java.lang.String u)
           
 void url(java.net.URL u)
           
 
Methods inherited from class org.tigris.gef.base.Cmd
about, actionPerformed, cmdAtIndex, containsArg, getArg, getArg, getName, getResource, register, registeredCmds, setArg, setName, setResource, shouldBeEnabled, updateEnabled
 
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
 

Field Detail

_url

protected java.net.URL _url
Constructor Detail

CmdShowURL

public CmdShowURL(java.net.URL url)

CmdShowURL

public CmdShowURL(java.lang.String s)
           throws java.net.MalformedURLException

CmdShowURL

public CmdShowURL()
Method Detail

url

public void url(java.net.URL u)

url

public void url(java.lang.String u)
         throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

url

public java.net.URL url()

doIt

public void doIt()
Translate all selected Fig's in the current editor.

Specified by:
doIt in class Cmd

undoIt

public void undoIt()
Description copied from class: Cmd
Undo the Cmd using information stored during its execution.

needs-more-work: This is not currently implemented.

Specified by:
undoIt in class Cmd