com.sun.kjava
Class SelectScrollTextBox
java.lang.Object
|
+--com.sun.kjava.TextBox
|
+--com.sun.kjava.ScrollTextBox
|
+--com.sun.kjava.SelectScrollTextBox
- public class SelectScrollTextBox
- extends ScrollTextBox
Method Summary |
java.lang.String |
getSelection(int x,
int y)
|
void |
setText(java.lang.String t)
Set the text. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LEADING
public static final int LEADING
SelectScrollTextBox
public SelectScrollTextBox(java.lang.String t,
int x,
int y,
int w,
int h)
getSelection
public java.lang.String getSelection(int x,
int y)
setText
public void setText(java.lang.String t)
- Description copied from class: ScrollTextBox
- Set the text. You need to call paint() on the ScrollTextBox
to get the new text/scrollbar to display.
- Overrides:
- setText in class ScrollTextBox
- Tags copied from class: ScrollTextBox
- Parameters:
t
- a String representing the new text.