summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/terminal/ErrorMessage.java
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2007-11-19 14:03:05 +0000
committerMarc Englund <marc.englund@itmill.com>2007-11-19 14:03:05 +0000
commitf2e3722df9676436680afc0f1991e91e1696fb99 (patch)
tree6f255ff78abaf96f1e71a1f2c9ecd3b66647f4a2 /src/com/itmill/toolkit/terminal/ErrorMessage.java
parent93291f532db9d545cf2a8dd98e2671f27cd197b0 (diff)
downloadvaadin-framework-f2e3722df9676436680afc0f1991e91e1696fb99.tar.gz
vaadin-framework-f2e3722df9676436680afc0f1991e91e1696fb99.zip
MASS REFORMAT.
According to http://toolkit.intra.itmill.com/trac/itmilltoolkit/wiki/CodingConventions svn changeset:2864/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/terminal/ErrorMessage.java')
-rw-r--r--src/com/itmill/toolkit/terminal/ErrorMessage.java118
1 files changed, 59 insertions, 59 deletions
diff --git a/src/com/itmill/toolkit/terminal/ErrorMessage.java b/src/com/itmill/toolkit/terminal/ErrorMessage.java
index d26c1c74a4..4153ca220a 100644
--- a/src/com/itmill/toolkit/terminal/ErrorMessage.java
+++ b/src/com/itmill/toolkit/terminal/ErrorMessage.java
@@ -39,64 +39,64 @@ package com.itmill.toolkit.terminal;
*/
public interface ErrorMessage extends Paintable {
- /**
- * Error code for system errors and bugs.
- */
- public static final int SYSTEMERROR = 5000;
-
- /**
- * Error code for critical error messages.
- */
- public static final int CRITICAL = 4000;
-
- /**
- * Error code for regular error messages.
- */
- public static final int ERROR = 3000;
-
- /**
- * Error code for warning messages.
- */
- public static final int WARNING = 2000;
-
- /**
- * Error code for informational messages.
- */
- public static final int INFORMATION = 1000;
-
- /**
- * Gets the errors level.
- *
- * @return the level of error as an integer.
- */
- public int getErrorLevel();
-
- /**
- * Error messages are inmodifiable and thus listeners are not needed. This
- * method should be implemented as empty.
- *
- * @param listener
- * the listener to be added.
- * @see com.itmill.toolkit.terminal.Paintable#addListener(Paintable.RepaintRequestListener)
- */
- public void addListener(RepaintRequestListener listener);
-
- /**
- * Error messages are inmodifiable and thus listeners are not needed. This
- * method should be implemented as empty.
- *
- * @param listener
- * the listener to be removed.
- * @see com.itmill.toolkit.terminal.Paintable#removeListener(Paintable.RepaintRequestListener)
- */
- public void removeListener(RepaintRequestListener listener);
-
- /**
- * Error messages are inmodifiable and thus listeners are not needed. This
- * method should be implemented as empty.
- *
- * @see com.itmill.toolkit.terminal.Paintable#requestRepaint()
- */
- public void requestRepaint();
+ /**
+ * Error code for system errors and bugs.
+ */
+ public static final int SYSTEMERROR = 5000;
+
+ /**
+ * Error code for critical error messages.
+ */
+ public static final int CRITICAL = 4000;
+
+ /**
+ * Error code for regular error messages.
+ */
+ public static final int ERROR = 3000;
+
+ /**
+ * Error code for warning messages.
+ */
+ public static final int WARNING = 2000;
+
+ /**
+ * Error code for informational messages.
+ */
+ public static final int INFORMATION = 1000;
+
+ /**
+ * Gets the errors level.
+ *
+ * @return the level of error as an integer.
+ */
+ public int getErrorLevel();
+
+ /**
+ * Error messages are inmodifiable and thus listeners are not needed. This
+ * method should be implemented as empty.
+ *
+ * @param listener
+ * the listener to be added.
+ * @see com.itmill.toolkit.terminal.Paintable#addListener(Paintable.RepaintRequestListener)
+ */
+ public void addListener(RepaintRequestListener listener);
+
+ /**
+ * Error messages are inmodifiable and thus listeners are not needed. This
+ * method should be implemented as empty.
+ *
+ * @param listener
+ * the listener to be removed.
+ * @see com.itmill.toolkit.terminal.Paintable#removeListener(Paintable.RepaintRequestListener)
+ */
+ public void removeListener(RepaintRequestListener listener);
+
+ /**
+ * Error messages are inmodifiable and thus listeners are not needed. This
+ * method should be implemented as empty.
+ *
+ * @see com.itmill.toolkit.terminal.Paintable#requestRepaint()
+ */
+ public void requestRepaint();
}