Protege-2000 1.7

edu.stanford.smi.protegex.widget.instancetable
Class Action_AbstractTableListener

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--edu.stanford.smi.protegex.widget.instancetable.Action_AbstractTableListener
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Direct Known Subclasses:
Action_CreateUsingPrototype, Action_DeleteInstance, Action_RemoveInstance, Action_ViewInstance

public abstract class Action_AbstractTableListener
extends AbstractAction

An action which is enabled if there is a selection and is not enabled otherwise

Author:
William Grosso
See Also:
Serialized Form

Field Summary
protected  InstanceTable _table
           
protected  InstanceTableWidget _widget
           
 
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
Action_AbstractTableListener(String tooltipString, Icon icon, InstanceTableWidget widget, InstanceTable table)
           
 
Method Summary
abstract  void actionPerformed(ActionEvent e)
           
protected  boolean isSlotEditable()
           
 
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
 

Field Detail

_widget

protected InstanceTableWidget _widget

_table

protected InstanceTable _table
Constructor Detail

Action_AbstractTableListener

public Action_AbstractTableListener(String tooltipString,
                                    Icon icon,
                                    InstanceTableWidget widget,
                                    InstanceTable table)
Method Detail

actionPerformed

public abstract void actionPerformed(ActionEvent e)
Overrides:
actionPerformed in class AbstractAction

isSlotEditable

protected boolean isSlotEditable()

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.