public interface LightweightTextWidget
Modifier and Type | Interface and Description |
---|---|
static interface |
LightweightTextWidget.TextLineSelection
Defines text selection objects in text lines.
|
Modifier and Type | Method and Description |
---|---|
void |
drawCursor()
Draws a special cursor relative to the current origin.
|
int |
getCursorColumnOffset()
Gets the current cursor column within its text content.
|
int |
getCursorRowOffset()
Gets the current cursor row within its text content.
|
GuiFontResolver.FontCache |
getFontCache()
Returns the current font cache.
|
java.lang.String |
getScreenText()
Gets the screen text content at the current line.
|
java.lang.String |
getScreenText(int line)
Gets the screen text content at the given line.
|
int |
getScrollColumnOffset()
Gets the current scroll offset within its text content.
|
int |
getScrollRowOffset()
Gets the current scroll offset within its text content.
|
LightweightTextWidget.TextLineSelection |
getTextSelection(int line)
Gets the current text selection object for the given line.
|
java.lang.String getScreenText(int line)
line
- The given line numberjava.lang.String getScreenText()
int getCursorColumnOffset()
int getCursorRowOffset()
int getScrollColumnOffset()
int getScrollRowOffset()
GuiFontResolver.FontCache getFontCache()
void drawCursor()
LightweightTextWidget.TextLineSelection getTextSelection(int line)
line
- The given line number