Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package org.litesoft.sandbox.infrastructure.client;

/**
 * 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.
 * <p/>
 * There are four different style based importance levels (these are NOT the actual styles that would be set, simply examples):
 * <ul>
 * <li>Regular - only used when there is NO text</li>
 * <li>Info - When the text is just informational</li>
 * <li>Warning</li>
 * <li>Error</li>
 * </ul>
 */
public interface StyledSafeTextSink {
    void setText( String text );

    void addStyleName( String style );

    void removeStyleName( String style );
}

Commits for litesoft/trunk/GWT_Sandbox/MultiModule/common/src/org/litesoft/sandbox/infrastructure/client/StyledSafeTextSink.java

Diff revisions: vs.
Revision Author Commited Message
950 Diff Diff GeorgeS picture GeorgeS Thu 19 Jun, 2014 17:57:04 +0000

New Lines

948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

540 GeorgeS picture GeorgeS Mon 03 Oct, 2011 04:22:28 +0000