|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ivata.mask.web.format.WordWrapFormat
This format word-wraps each line of text to a user-specified column.
Note: by default, no wrapping will take place. You must call setWordWrapColumn.
| Constructor Summary | |
WordWrapFormat()
|
|
| Method Summary | |
java.lang.String |
format(java.lang.String hTMLTextParam)
Format the string given in hTMLText, wrapped to the
column provided by calling setWordWrapColumn. |
int |
getWordWrapColumn()
Private member used to store the value set in setWordWrapColumn. |
void |
setWordWrapColumn(int wordWrapColumnParam)
Private member used to store the value set in setWordWrapColumn. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WordWrapFormat()
| Method Detail |
public final java.lang.String format(java.lang.String hTMLTextParam)
Format the string given in hTMLText, wrapped to the
column provided by calling setWordWrapColumn.
Note: by default, no wrapping will take place.
format in interface HTMLFormathTMLTextParam - the text to truncate.
public final int getWordWrapColumn()
Private member used to store the value set in setWordWrapColumn.
setWordWrapColumn(int wordWrapColumn)public final void setWordWrapColumn(int wordWrapColumnParam)
Private member used to store the value set in setWordWrapColumn.
wordWrapColumnParam - the new value of wordWrapColumn.setWordWrapColumn(int wordWrapColumn)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||