|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.feedback.FeedbackCollector
public final class FeedbackCollector
Collects feedback messages from all the places where they can be stored.
| Constructor Summary | |
|---|---|
FeedbackCollector()
Constructs a collector that will only collect messages from Session. |
|
FeedbackCollector(Component component)
Constructs a collector that will collect messages from Session and specified
container |
|
| Method Summary | |
|---|---|
List<FeedbackMessage> |
collect()
Collects all feedback messages |
List<FeedbackMessage> |
collect(IFeedbackMessageFilter filter)
Collects all feedback messages that match the specified filter |
FeedbackCollector |
setIncludeSession(boolean value)
Controls whether or not feedback from the Session will be collected
See Session.getFeedbackMessages() |
FeedbackCollector |
setRecursive(boolean value)
Controls whether or not feedback will be collected recursively from the decendants of the specified component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeedbackCollector()
Session. To collect
messages from session and components use FeedbackCollector(Component).
public FeedbackCollector(Component component)
Session and specified
container
component - root component from which feedback will be collected| Method Detail |
|---|
public FeedbackCollector setIncludeSession(boolean value)
Session will be collected
See Session.getFeedbackMessages()
value -
this for chainingpublic FeedbackCollector setRecursive(boolean value)
value -
this for chainingpublic List<FeedbackMessage> collect()
List of collected messagespublic List<FeedbackMessage> collect(IFeedbackMessageFilter filter)
filter
filter -
List of collected messages
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||