edu.stanford.smi.protegex.owl.ui.owltable
Class DeleteRowAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.owl.ui.owltable.AbstractOWLTableAction
          extended byedu.stanford.smi.protegex.owl.ui.owltable.DeleteRowAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, OWLTableAction, Serializable

public class DeleteRowAction
extends AbstractOWLTableAction

A OWLTableAction that deletes the selected row from the table.

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  OWLTable table
           
 
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
DeleteRowAction(OWLTable table)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 boolean isEnabledFor(RDFSClass cls, int rowIndex)
           
 
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
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Field Detail

table

private OWLTable table
Constructor Detail

DeleteRowAction

public DeleteRowAction(OWLTable table)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

isEnabledFor

public boolean isEnabledFor(RDFSClass cls,
                            int rowIndex)