info.rolandkrueger.roklib.util.conditionalengine
Class ExternalCondition

java.lang.Object
  extended by info.rolandkrueger.roklib.util.conditionalengine.AbstractCondition
      extended by info.rolandkrueger.roklib.util.conditionalengine.ExternalCondition
All Implemented Interfaces:
IBooleanValueProvider, Serializable

public class ExternalCondition
extends AbstractCondition

This type of condition is not able to notify listeners when its boolean value has changed since this value is defined externally.

Author:
Roland Krueger
See Also:
Serialized Form

Field Summary
private  IBooleanValueProvider mValueProvider
           
private static long serialVersionUID
           
 
Constructor Summary
ExternalCondition(IBooleanValueProvider valueProvider)
           
 
Method Summary
 boolean getBooleanValue()
           
 
Methods inherited from class info.rolandkrueger.roklib.util.conditionalengine.AbstractCondition
addConditionListener, clearConditionListeners, fireConditionChanged, getListenerCount, removeConditionListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

mValueProvider

private IBooleanValueProvider mValueProvider
Constructor Detail

ExternalCondition

public ExternalCondition(IBooleanValueProvider valueProvider)
Method Detail

getBooleanValue

public boolean getBooleanValue()


Copyright © 2007-2011. All Rights Reserved.