|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.components.Conditional
org.apache.tapestry.contrib.components.Choose
public abstract class Choose
This component is a container for When
or Otherwise components;
it provides the context for mutually exclusive conditional evaluation.
[Component Reference]
Constructor Summary | |
---|---|
Choose()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.apache.tapestry.components.Conditional |
---|
getElement, renderComponent |
Methods inherited from class org.apache.tapestry.AbstractComponent |
---|
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, toString |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
---|
getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public Choose()
Method Detail |
---|
public void addBody(org.apache.tapestry.IRender element)
addBody
in interface org.apache.tapestry.IComponent
addBody
in class org.apache.tapestry.AbstractComponent
protected void cleanupAfterRender(org.apache.tapestry.IRequestCycle cycle)
cleanupAfterRender
in class org.apache.tapestry.AbstractComponent
protected boolean evaluateCondition()
evaluateCondition
in class org.apache.tapestry.components.Conditional
public boolean getInvert()
getInvert
in class org.apache.tapestry.components.Conditional
public abstract boolean getCondition()
getCondition
in class org.apache.tapestry.components.Conditional
public abstract boolean isConditionMet()
public abstract void setConditionMet(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |