Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      javax.swing.AbstractAction
          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 KnowledgeBase` | `_kb`
`protected ScatterboxTableModel` | `_model`
`protected 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 Project _project

### _kb

    protected 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()

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request