Palm API
Beta 2

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


Field Summary
static int LEADING
           
 
Fields inherited from class com.sun.kjava.TextBox
g, height, heightM, lineEnds, lineStarts, text, width, widthM, xPos, yPos
 
Constructor Summary
SelectScrollTextBox(java.lang.String t, int x, int y, int w, int h)
           
 
Method Summary
 java.lang.String getSelection(int x, int y)
           
 void setText(java.lang.String t)
          Set the text.
 
Methods inherited from class com.sun.kjava.ScrollTextBox
contains, handleKeyDown, handlePenDown, handlePenMove, init, paint, setBounds, setScrollValue
 
Methods inherited from class com.sun.kjava.TextBox
getNumLines
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEADING

public static final int LEADING
Constructor Detail

SelectScrollTextBox

public SelectScrollTextBox(java.lang.String t,
                           int x,
                           int y,
                           int w,
                           int h)
Method Detail

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.
Overrides:
setText in class ScrollTextBox
Tags copied from class: ScrollTextBox
Parameters:
t - a String representing the new text.

Submit a bug or feature

The GUI classes provided with this release are NOT part of CLDC, and they will be removed in later releases of this software. Official GUI classes for Java 2 Micro Edition will be defined separately through the Java Community Process and included in J2ME profiles. Java is trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
All Rights Reserved.