edu.stanford.smi.protegex.owl.ui.triplestore
Class TripleStoreSelectionAction

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

public class TripleStoreSelectionAction
extends AbstractAction

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
private  class TripleStoreSelectionAction.DropDownAction
           
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  JButton button
           
private  JLabel label
           
private  JComponent labelPanel
           
private  OWLModel owlModel
           
 
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
TripleStoreSelectionAction(OWLModel owlModel)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void activateButton(JButton button)
           
 Component getLabelPanel()
           
private  void handleRightClick()
           
private  void updateLabel()
           
 
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

label

private JLabel label

labelPanel

private JComponent labelPanel

owlModel

private OWLModel owlModel
Constructor Detail

TripleStoreSelectionAction

public TripleStoreSelectionAction(OWLModel owlModel)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

activateButton

public void activateButton(JButton button)

handleRightClick

private void handleRightClick()

getLabelPanel

public Component getLabelPanel()

updateLabel

private void updateLabel()