public abstract class Choose extends org.apache.tapestry.components.Conditional
When or Otherwise components;
it provides the context for mutually exclusive conditional evaluation.
[Component Reference]| Constructor and Description |
|---|
Choose() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(org.apache.tapestry.IRender element) |
protected void |
cleanupAfterRender(org.apache.tapestry.IRequestCycle cycle) |
protected boolean |
evaluateCondition() |
abstract boolean |
getCondition() |
boolean |
getInvert() |
abstract boolean |
isConditionMet() |
abstract void |
setConditionMet(boolean value) |
addAsset, addComponent, checkActiveLock, enterActiveState, finishLoad, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toStringpublic Choose()
public void addBody(org.apache.tapestry.IRender element)
addBody in interface org.apache.tapestry.IComponentaddBody in class org.apache.tapestry.AbstractComponentprotected void cleanupAfterRender(org.apache.tapestry.IRequestCycle cycle)
cleanupAfterRender in class org.apache.tapestry.AbstractComponentprotected boolean evaluateCondition()
evaluateCondition in class org.apache.tapestry.components.Conditionalpublic boolean getInvert()
getInvert in class org.apache.tapestry.components.Conditionalpublic abstract boolean getCondition()
getCondition in class org.apache.tapestry.components.Conditionalpublic abstract boolean isConditionMet()
public abstract void setConditionMet(boolean value)