Protege-2000 1.7

edu.stanford.smi.protege.util
Class ViewAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--edu.stanford.smi.protege.util.AllowableAction
              |
              +--edu.stanford.smi.protege.util.ViewAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public abstract class ViewAction
extends AllowableAction

Description of the class

Author:
Ray Fergerson
See Also:
Serialized Form

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
ViewAction(String text, Selectable selectable)
           
ViewAction(String text, Selectable selectable, Icon icon)
           
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 void onView()
           
 void onView(Object o)
           
 
Methods inherited from class edu.stanford.smi.protege.util.AllowableAction
getSelectable, getSelection, onSelectionChange, setAllowed
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewAction

public ViewAction(String text,
                  Selectable selectable)

ViewAction

public ViewAction(String text,
                  Selectable selectable,
                  Icon icon)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Overrides:
actionPerformed in class AbstractAction

onView

public void onView()

onView

public void onView(Object o)

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.