|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.util.ValidationDecoratorWrapper
public class ValidationDecoratorWrapper
Implementation of ValidationDecorator
that delegates all method invocations. Subclasses
may override any of the methods.
Constructor Summary | |
---|---|
ValidationDecoratorWrapper(ValidationDecorator delegate)
|
Method Summary | |
---|---|
void |
afterField(Field field)
Invoked after the field has completed rendering itself. |
void |
afterLabel(Field field)
Invoked by Label after rendering itself. |
void |
beforeField(Field field)
Renders immediately before the field itself. |
void |
beforeLabel(Field field)
Invoked by a Label before rendering itself. |
void |
insideField(Field field)
Invoked at a point where the decorator may write additional attributes into the field. |
void |
insideLabel(Field field,
Element labelElement)
Invoked after the label has rendered its tag, but before it has rendered content inside the tag, to allow the decorator to write additional attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationDecoratorWrapper(ValidationDecorator delegate)
Method Detail |
---|
public void beforeLabel(Field field)
ValidationDecorator
Label
before rendering itself.
beforeLabel
in interface ValidationDecorator
field
- for this labelpublic void insideLabel(Field field, Element labelElement)
ValidationDecorator
insideLabel
in interface ValidationDecorator
field
- the field corresponding to the labellabelElement
- the element for this labelpublic void afterLabel(Field field)
ValidationDecorator
Label
after rendering itself.
afterLabel
in interface ValidationDecorator
public void beforeField(Field field)
ValidationDecorator
beforeField
in interface ValidationDecorator
public void insideField(Field field)
ValidationDecorator
insideField
in interface ValidationDecorator
public void afterField(Field field)
ValidationDecorator
afterField
in interface ValidationDecorator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |