Java Doc for FeedbackMessage.java in  » J2EE » wicket » org » apache » wicket » feedback » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » wicket » org.apache.wicket.feedback 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.wicket.feedback.FeedbackMessage

FeedbackMessage
public class FeedbackMessage implements IClusterable(Code)
Represents a generic message meant for the end-user/ pages.
author:
   Eelco Hillenius
author:
   Jonathan Locke


Field Summary
final public static  intDEBUG
     Constant for debug level.
final public static  intERROR
     Constant for error level.
final public static  intFATAL
     Constant for fatal level.
final public static  intINFO
     Constant for info level.
final public static  intUNDEFINED
     Constant for an undefined level; note that components might decide not to render anything when this level is used.
final public static  intWARNING
     Constant for warning level.

Constructor Summary
public  FeedbackMessage(Component reporter, Serializable message, int level)
     Construct using fields.

Method Summary
final public  intgetLevel()
     Gets the message level; can be used by rendering components.
public  StringgetLevelAsString()
    
final public  SerializablegetMessage()
     Gets the actual message.
final public  ComponentgetReporter()
     Gets the reporting component.
final public  booleanisDebug()
     Gets whether the current level is DEBUG or up.
final public  booleanisError()
     Gets whether the current level is ERROR or up.
final public  booleanisFatal()
     Gets whether the current level is FATAL or up.
final public  booleanisInfo()
     Gets whether the current level is INFO or up.
final public  booleanisLevel(int level)
     Returns whether this level is greater than or equal to the given level.
final public  booleanisRendered()
    
final public  booleanisUndefined()
     Gets whether the current level is UNDEFINED.
final public  booleanisWarning()
     Gets whether the current level is WARNING or up.
final public  voidmarkRendered()
     Marks this message as rendered.
public  StringtoString()
    

Field Detail
DEBUG
final public static int DEBUG(Code)
Constant for debug level.



ERROR
final public static int ERROR(Code)
Constant for error level.



FATAL
final public static int FATAL(Code)
Constant for fatal level.



INFO
final public static int INFO(Code)
Constant for info level.



UNDEFINED
final public static int UNDEFINED(Code)
Constant for an undefined level; note that components might decide not to render anything when this level is used.



WARNING
final public static int WARNING(Code)
Constant for warning level.




Constructor Detail
FeedbackMessage
public FeedbackMessage(Component reporter, Serializable message, int level)(Code)
Construct using fields.
Parameters:
  reporter - The message reporter
Parameters:
  message - The actual message
Parameters:
  level - The level of the message
Parameters:
  sessionStored - Whether or not this message will be stored in session




Method Detail
getLevel
final public int getLevel()(Code)
Gets the message level; can be used by rendering components. Note that what actually happens with the level indication is totally up to the components that render feedback messages. The message level indicator.



getLevelAsString
public String getLevelAsString()(Code)
Gets the current level as a String The current level as a String



getMessage
final public Serializable getMessage()(Code)
Gets the actual message. the message.



getReporter
final public Component getReporter()(Code)
Gets the reporting component. the reporting component.



isDebug
final public boolean isDebug()(Code)
Gets whether the current level is DEBUG or up. whether the current level is DEBUG or up.



isError
final public boolean isError()(Code)
Gets whether the current level is ERROR or up. whether the current level is ERROR or up.



isFatal
final public boolean isFatal()(Code)
Gets whether the current level is FATAL or up. whether the current level is FATAL or up.



isInfo
final public boolean isInfo()(Code)
Gets whether the current level is INFO or up. whether the current level is INFO or up.



isLevel
final public boolean isLevel(int level)(Code)
Returns whether this level is greater than or equal to the given level.
Parameters:
  level - the level whether this level is greater than or equal to the given level



isRendered
final public boolean isRendered()(Code)
Gets whether or not this message has been rendered true if this message has been rendered, false otherwise



isUndefined
final public boolean isUndefined()(Code)
Gets whether the current level is UNDEFINED. whether the current level is UNDEFINED.



isWarning
final public boolean isWarning()(Code)
Gets whether the current level is WARNING or up. whether the current level is WARNING or up.



markRendered
final public void markRendered()(Code)
Marks this message as rendered.



toString
public String toString()(Code)

See Also:   java.lang.Object.toString



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.