Protege 3.3.1

edu.stanford.smi.protege.action
Class DisplayHtml

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by edu.stanford.smi.protege.util.StandardAction
          extended by edu.stanford.smi.protege.action.DisplayHtml
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class DisplayHtml
extends StandardAction

Display a URL in a top level browser. We do not use the built-in html display capabilities since they can't render all HTML. We just delegate to a browser and let them handle it.

Author:
Ray Fergerson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.stanford.smi.protege.util.StandardAction
DISABLED_ICON
 
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
DisplayHtml(ResourceKey key, String url)
           
DisplayHtml(String text, String url)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 
Methods inherited from class edu.stanford.smi.protege.util.StandardAction
equals, getIcon, getName, getName, initialize, setDescription, setDescription, setDisabledIcon, setDisabledIcon, setIcon, setIcon, setMnemonic, setMnemonic, setName, setName, setShortcut, setShortcut, substituteIntoName
 
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

DisplayHtml

public DisplayHtml(String text,
                   String url)

DisplayHtml

public DisplayHtml(ResourceKey key,
                   String url)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)

Protege 3.3.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.