$HMLPSUtil$

The methods invoked with $HMLPSUtil$ affect the presentation space of the session window or return information about the presentation space of the session window. Table 1 summarizes these methods:
Table 1. Method summary for $HMLPSUtil$
METHOD SUMMARY: $HMLPSUtil$
int
convertPosToCol(int pos)
Returns the column number of the specified position in the presentation space.
int
convertPosToRow(int Pos)
Returns the row number of the specified position in the presentation space.
void
enableRoundTrip(boolean flag)
For bidirectional languages, determines whether numerals preceded by bidirectional characters exchange places with the numerals.
int
getCursorCol()
Returns the column number of the text cursor in the presentation space.
int
getCursorPos()
Returns the position of the text cursor in the presentation space.
int
getCursorRow()
Returns the row number of the text cursor in the presentation space.
int
getSize()
Returns the size of the presentation space (number of character positions in the presentation space) .
int
getSizeCols()
Returns the number of columns in the presentation space.
int
getSizeRows()
Returns the number of rows in the presentation space.
String
getString(int pos, int len)
Returns the text string beginning at the specified position in the presentation space and running for the specified length.
int
searchString(String str)
Returns the position in the presentation space of the specified string (0 if the specified string is not found in the presentation space).