litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/util/StyledSafeTextSink.java
|
@@ -1,20 +1,20 @@ |
1 |
|
- |
package org.litesoft.GWT.client.util; |
2 |
|
- |
|
3 |
|
- |
/** |
4 |
|
- |
* An interface (usually to a widget) that supports showing ANY text safely and styling the text to differentiate it based on the importance of the message. |
5 |
|
- |
* <p/> |
6 |
|
- |
* There are four different style based importance levels (these are NOT the actual styles that would be set, simply examples): |
7 |
|
- |
* <ul> |
8 |
|
- |
* <li>Regular - only used when there is NO text</li> |
9 |
|
- |
* <li>Info - When the text is just informational</li> |
10 |
|
- |
* <li>Warning</li> |
11 |
|
- |
* <li>Error</li> |
12 |
|
- |
* </ul> |
13 |
|
- |
*/ |
14 |
|
- |
public interface StyledSafeTextSink { |
15 |
|
- |
void setText( String text ); |
16 |
|
- |
|
17 |
|
- |
void addStyleName( String style ); |
18 |
|
- |
|
19 |
|
- |
void removeStyleName( String style ); |
20 |
|
- |
} |
|
1 |
+ |
package org.litesoft.GWT.client.util; |
|
2 |
+ |
|
|
3 |
+ |
/** |
|
4 |
+ |
* An interface (usually to a widget) that supports showing ANY text safely and styling the text to differentiate it based on the importance of the message. |
|
5 |
+ |
* <p/> |
|
6 |
+ |
* There are four different style based importance levels (these are NOT the actual styles that would be set, simply examples): |
|
7 |
+ |
* <ul> |
|
8 |
+ |
* <li>Regular - only used when there is NO text</li> |
|
9 |
+ |
* <li>Info - When the text is just informational</li> |
|
10 |
+ |
* <li>Warning</li> |
|
11 |
+ |
* <li>Error</li> |
|
12 |
+ |
* </ul> |
|
13 |
+ |
*/ |
|
14 |
+ |
public interface StyledSafeTextSink { |
|
15 |
+ |
void setText( String text ); |
|
16 |
+ |
|
|
17 |
+ |
void addStyleName( String style ); |
|
18 |
+ |
|
|
19 |
+ |
void removeStyleName( String style ); |
|
20 |
+ |
} |