com.sun.kjava
クラス SelectScrollTextBox

java.lang.Object
  |
  +--com.sun.kjava.TextBox
        |
        +--com.sun.kjava.ScrollTextBox
              |
              +--com.sun.kjava.SelectScrollTextBox
すべての実装インタフェース:
ScrollOwner

public class SelectScrollTextBox
extends ScrollTextBox


フィールドの概要
static int LEADING
           
 
クラス com.sun.kjava.TextBox から継承したフィールド
g, height, heightM, lineEnds, lineStarts, text, width, widthM, xPos, yPos
 
コンストラクタの概要
SelectScrollTextBox(java.lang.String t, int x, int y, int w, int h)
           
 
メソッドの概要
 java.lang.String getSelection(int x, int y)
           
 void setText(java.lang.String t)
          テキストを設定します。
 
クラス com.sun.kjava.ScrollTextBox から継承したメソッド
contains, handleKeyDown, handlePenDown, handlePenMove, init, paint, setBounds, setScrollValue
 
クラス com.sun.kjava.TextBox から継承したメソッド
getNumLines
 
クラス 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)
クラス ScrollTextBox の記述:
テキストを設定します。ScrollTextBox オブジェクトに対して paint() を呼び出し、新しいテキストまたはスクロールバーを表示します。
オーバーライド:
クラス ScrollTextBox 内の setText
クラス ScrollTextBox のタグ:
パラメータ:
t - 新しいテキストを表す文字列