|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.data.bind.AndBoundValue
public class AndBoundValue
BoundValue that returns Boolean.TRUE
if both passed
in BoundValues return Boolean.TRUE
and returns
Boolean.FALSE
otherwise.
Short circuiting is supported, so that if the first BoudnValue
returns Boolean.FALSE
, the value of the second
BoundValue will never be requested.
Constructor Summary | |
---|---|
AndBoundValue(BoundValue[] values)
Creates a AndBoundValue. |
|
AndBoundValue(BoundValue value1,
BoundValue value2)
Creates a AndBoundValue. |
Method Summary | |
---|---|
java.lang.Object |
getValue(UIXRenderingContext context)
Called to retrieve a value based on the current rendering context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AndBoundValue(BoundValue value1, BoundValue value2)
Boolean.FALSE
.
value1
- first BoundValue to AND the result ofvalue2
- second BoundValue to AND the result of.public AndBoundValue(BoundValue[] values)
Boolean.FALSE
.
values
- array of BoundValues to AND the result ofMethod Detail |
---|
public java.lang.Object getValue(UIXRenderingContext context)
BoundValue
getValue
in interface BoundValue
context
- the rendering context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |