Protege 3.4.1

edu.stanford.smi.protegex.widget.scatterbox
Class ScatterboxAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by edu.stanford.smi.protegex.widget.scatterbox.ScatterboxAction
All Implemented Interfaces:
ScatterboxWidgetListener, ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
AddButton, CreateButton, RemoveButton, ViewButton

public abstract class ScatterboxAction
extends AbstractAction
implements ScatterboxWidgetListener

Description of the class

Author:
William Grosso
See Also:
Serialized Form

Field Summary
protected  edu.stanford.smi.protege.model.KnowledgeBase _kb
           
protected  ScatterboxTableModel _model
           
protected  edu.stanford.smi.protege.model.Project _project
           
protected  KBQueryUtils _queryUtilsObject
           
protected  ScatterboxWidgetState _state
           
protected  ScatterboxTable _table
           
protected  ScatterboxWidget _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
ScatterboxAction(ScatterboxWidget widget, String tooltipString, Icon icon, ScatterboxTable table, ScatterboxTableModel model, KBQueryUtils queryUtilsObject)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
protected abstract  void performTask(int row, int column)
           
 void scatterboxWidgetSelectionChanged()
           
protected abstract  void setActivation()
           
 
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

_widget

protected ScatterboxWidget _widget

_project

protected edu.stanford.smi.protege.model.Project _project

_kb

protected edu.stanford.smi.protege.model.KnowledgeBase _kb

_state

protected ScatterboxWidgetState _state

_table

protected ScatterboxTable _table

_model

protected ScatterboxTableModel _model

_queryUtilsObject

protected KBQueryUtils _queryUtilsObject
Constructor Detail

ScatterboxAction

public ScatterboxAction(ScatterboxWidget widget,
                        String tooltipString,
                        Icon icon,
                        ScatterboxTable table,
                        ScatterboxTableModel model,
                        KBQueryUtils queryUtilsObject)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

performTask

protected abstract void performTask(int row,
                                    int column)

scatterboxWidgetSelectionChanged

public void scatterboxWidgetSelectionChanged()
Specified by:
scatterboxWidgetSelectionChanged in interface ScatterboxWidgetListener

setActivation

protected abstract void setActivation()

Protege 3.4.1

Submit a bug report or feature request