edu.stanford.smi.protegex.owl.ui.classform.component.property
Class ChangeClosureAxiomButton

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byedu.stanford.smi.protegex.owl.ui.classform.component.property.ChangeClosureAxiomButton
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class ChangeClosureAxiomButton
extends AbstractAction

An Action to toggle the closure state of a PropertyFormTable.

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  JButton button
           
private static String CLOSED_TEXT
           
private static String OPEN_TEXT
           
private  PropertyFormTable 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
ChangeClosureAxiomButton(PropertyFormTable table)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void init(JButton button)
           
private  void updateButton()
           
 
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

button

private JButton button

CLOSED_TEXT

private static final String CLOSED_TEXT
See Also:
Constant Field Values

OPEN_TEXT

private static final String OPEN_TEXT
See Also:
Constant Field Values

table

private PropertyFormTable table
Constructor Detail

ChangeClosureAxiomButton

public ChangeClosureAxiomButton(PropertyFormTable table)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

init

public void init(JButton button)

updateButton

private void updateButton()