|
Oculus Layout System API Documentation November 25, 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oculustech.layout.WordWrap
This class contains static methods for line wrapping text at a given position using a given newline sequence.
Method Summary | |
static java.lang.String[] |
splitLines(java.lang.String text)
Returns an array of Strings derived from text by splitting it at newlines. |
static java.lang.String |
wrapText(java.lang.String text,
int charsPerLine,
java.lang.String newline)
Returns given string wrapped at given character position using given newline sequence |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String[] splitLines(java.lang.String text)
public static java.lang.String wrapText(java.lang.String text, int charsPerLine, java.lang.String newline)
|
Oculus Layout System API Documentation November 25, 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |