org.apache.myfaces.trinidadinternal.ui.data.bind
Class IfBoundValue

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.data.bind.IfBoundValue
All Implemented Interfaces:
BoundValue

public class IfBoundValue
extends java.lang.Object
implements BoundValue

BoundValue that uses a Boolean BoundValue to determine which of two values to return.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/data/bind/IfBoundValue.java#0 $) $Date: 10-nov-2005.18:56:39 $
Author:
The Oracle ADF Faces Team

Constructor Summary
IfBoundValue(BoundValue testBoundValue, BoundValue trueBoundValue, BoundValue falseBoundValue)
           
IfBoundValue(BoundValue testBoundValue, BoundValue trueBoundValue, java.lang.Object falseValue)
           
IfBoundValue(BoundValue testBoundValue, java.lang.Object trueValue, BoundValue falseBoundValue)
           
IfBoundValue(BoundValue testBoundValue, java.lang.Object trueValue, java.lang.Object falseValue)
           
 
Method Summary
 java.lang.Object getValue(UIXRenderingContext context)
          Calculates the current state of the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfBoundValue

public IfBoundValue(BoundValue testBoundValue,
                    java.lang.Object trueValue,
                    java.lang.Object falseValue)

IfBoundValue

public IfBoundValue(BoundValue testBoundValue,
                    BoundValue trueBoundValue,
                    java.lang.Object falseValue)

IfBoundValue

public IfBoundValue(BoundValue testBoundValue,
                    java.lang.Object trueValue,
                    BoundValue falseBoundValue)

IfBoundValue

public IfBoundValue(BoundValue testBoundValue,
                    BoundValue trueBoundValue,
                    BoundValue falseBoundValue)
Method Detail

getValue

public java.lang.Object getValue(UIXRenderingContext context)
Calculates the current state of the model.

Specified by:
getValue in interface BoundValue
Parameters:
context - the rendering context


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.