Protege 3.5

edu.stanford.smi.protege.util
Class ViewAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by edu.stanford.smi.protege.util.StandardAction
          extended by edu.stanford.smi.protege.util.AllowableAction
              extended by edu.stanford.smi.protege.util.ViewAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
ViewClsAction

public abstract class ViewAction
extends AllowableAction

An action for the standard view button that appears on many slot widgets. Typically this action causes a form to pop up for the selected frame. The actually implementation though is delegated to a template method.

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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
protected ViewAction(ResourceKey key, Selectable selectable)
           
protected ViewAction(Selectable selectable)
           
protected ViewAction(String text, Selectable selectable)
           
protected 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, isAllowed, onSelectionChange, setAllowed
 
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

ViewAction

protected ViewAction(ResourceKey key,
                     Selectable selectable)

ViewAction

protected ViewAction(Selectable selectable)

ViewAction

protected ViewAction(String text,
                     Selectable selectable)

ViewAction

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

actionPerformed

public void actionPerformed(ActionEvent event)

onView

public void onView()

onView

public void onView(Object o)

Protege 3.5

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