|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.corelib.base.AbstractConditional
@SupportsInformalParameters public abstract class AbstractConditional
Base class for If
and Unless
.
Will render its body or the block from its else parameter. If it renders anything and it has an element name, then
it renders the element and its informal parameters.
Constructor Summary | |
---|---|
AbstractConditional()
|
Method Summary | |
---|---|
protected abstract boolean |
test()
Performs the test via the parameters; return true to render the body of the component, false to render the else block (or nothing). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractConditional()
Method Detail |
---|
protected abstract boolean test()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |