| java.lang.Object abbot.editor.widgets.TextFormat
TextFormat | public class TextFormat (Code) | | Provides text formatting utilities.
|
Method Summary | |
public static String | dialog(String msg) Emit html, suitably line-wrapped and formatted for a dialog. | public static String | tooltip(String tip) Emit html, suitably line-wrapped and formatted for a tool tip. | public static String | wordBreak(String phrase) Turns "SomeRunTogetherWords" into "Some Run Together Words". | public static String | wordWrap(String msg, int wrapAt, String lineSep) Wrap the given text at the given number of characters per line. |
DIALOG_WRAP | final public static int DIALOG_WRAP(Code) | | |
TOOLTIP_WRAP | final public static int TOOLTIP_WRAP(Code) | | |
dialog | public static String dialog(String msg)(Code) | | Emit html, suitably line-wrapped and formatted for a dialog.
|
tooltip | public static String tooltip(String tip)(Code) | | Emit html, suitably line-wrapped and formatted for a tool tip.
|
wordBreak | public static String wordBreak(String phrase)(Code) | | Turns "SomeRunTogetherWords" into "Some Run Together Words".
|
wordWrap | public static String wordWrap(String msg, int wrapAt, String lineSep)(Code) | | Wrap the given text at the given number of characters per line.
Whitespace may be compressed.
|
|
|