com.notuvy.util
Class BooleanFlag

java.lang.Object
  extended by java.util.Observable
      extended by com.notuvy.util.ValueHolder<Boolean>
          extended by com.notuvy.util.BooleanFlag
All Implemented Interfaces:
Consequent

public class BooleanFlag
extends ValueHolder<Boolean>
implements Consequent

Create a consequent that is a ValueHolder so that actions can be taken (by an attached handler) when the value is recomputed.

Author:
murali

Constructor Summary
BooleanFlag(Boolean pValue)
           
 
Method Summary
 void handle(boolean pValue)
           
 
Methods inherited from class com.notuvy.util.ValueHolder
addHandler, get, removeHandler, set, setNullDefault, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanFlag

public BooleanFlag(Boolean pValue)
Method Detail

handle

public void handle(boolean pValue)
Specified by:
handle in interface Consequent


Copyright © 2013. All Rights Reserved.