Ascent Phase Corp.

org.ascentphase.suit
Interface MutexOption

All Known Implementing Classes:
PushButton

public interface MutexOption

A class that implements this interface belongs to a group of MutexOptions of which only one MutexOption can be active. All MutexOptions belonging to the same group should be put in the same MutexOptionGroup object which will set the proper state of each MutexOption when one is set active.

Author:
huyd

Method Summary
 boolean getActive()
          Returns the state of this MutexOption.
 void setActive(boolean state)
          Notifies whether the MutexOption is currently active or not in its group.
 

Method Detail

setActive

public void setActive(boolean state)
Notifies whether the MutexOption is currently active or not in its group.

Parameters:
state - the active state of the MutexOption.

getActive

public boolean getActive()
Returns the state of this MutexOption.

Returns:
the current state of the option.

Ascent Phase Corp.

Copyright © 2002 Ascent Phase Corp. All Rights Reserved.