edu.stanford.smi.protegex.owl.ui.properties.range
Class ExInclusiveToggleAction

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

public class ExInclusiveToggleAction
extends AbstractAction

Author:
Holger Knublauch
See Also:
Serialized Form

Nested Class Summary
static interface ExInclusiveToggleAction.Callback
           
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  ExInclusiveToggleAction.Callback callback
           
private  Icon exclusiveIcon
           
private  Icon inclusiveIcon
           
 
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
ExInclusiveToggleAction(String text, String exclusiveIconName, String inclusiveIconName, ExInclusiveToggleAction.Callback callback)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 boolean isExclusive()
           
 void setExclusive(boolean exclusive)
           
 
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

callback

private ExInclusiveToggleAction.Callback callback

exclusiveIcon

private Icon exclusiveIcon

inclusiveIcon

private Icon inclusiveIcon
Constructor Detail

ExInclusiveToggleAction

public ExInclusiveToggleAction(String text,
                               String exclusiveIconName,
                               String inclusiveIconName,
                               ExInclusiveToggleAction.Callback callback)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

isExclusive

public boolean isExclusive()

setExclusive

public void setExclusive(boolean exclusive)