|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.bean.EvenOdd
public class EvenOdd
Used to emit a stream of alterating string values: "even", "odd", etc. This is often used in the Inspector pages to make the class of a <tr> alternate for presentation reasons.
Constructor Summary | |
---|---|
EvenOdd()
|
Method Summary | |
---|---|
java.lang.String |
getNext()
Returns "even" or "odd". |
boolean |
isEven()
|
void |
setEven(boolean value)
Overrides the even flag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EvenOdd()
Method Detail |
---|
public java.lang.String getNext()
public boolean isEven()
public void setEven(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |