|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.hizlab.kagetaka.awt.InnerToolTip
コンポーネント内部にのみ表示するツールチップを提供します。
| コンストラクタの概要 | |
InnerToolTip(ImageCreator creator,
long delay,
long term,
Insets fix)
インスタンスを作成します。 |
|
| メソッドの概要 | |
void |
cancel()
表示するメッセージを取り消します。 |
void |
dispose()
コンポーネントを破棄します。 |
Color |
getBackground()
背景色を返します。 |
long |
getDelay()
表示前の遅延時間を取得します。 |
Color |
getEdgeColor()
縁の色を返します。 |
Font |
getFont()
フォントを返します。 |
Color |
getForeground()
前景色を返します。 |
long |
getTerm()
表示時間を取得します。 |
void |
paint(Graphics g)
メッセージを表示するために Component.paint(Graphics) から呼び出します。 |
abstract void |
repaint(int x,
int y,
int width,
int height)
このメソッドが呼び出された場合、再描画を実行させる必要があります。 |
void |
setBackground(Color c)
背景色を設定します。 |
void |
setDelay(long delay)
表示前の遅延時間をミリ秒で指定します。 |
void |
setEdgeColor(Color c)
縁の色を設定します。 |
void |
setFont(Font font)
フォントを設定します。 |
void |
setForeground(Color c)
前景色を設定します。 |
void |
setTerm(long term)
表示時間をミリ秒で指定します。 |
void |
showTip(String value,
int x,
int y,
int width,
int height)
表示するメッセージを指定します。 |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public InnerToolTip(ImageCreator creator,
long delay,
long term,
Insets fix)
creator - イメージクリエータdelay - 遅延(ミリ秒)term - 表示時間(ミリ秒)fix - 画面を突き出た場合に修正する幅| メソッドの詳細 |
public void cancel()
public void dispose()
public Color getBackground()
public long getDelay()
public Color getEdgeColor()
public Font getFont()
public Color getForeground()
public long getTerm()
public void paint(Graphics g)
Component.paint(Graphics) から呼び出します。
g - グラフィックス
public abstract void repaint(int x,
int y,
int width,
int height)
x - Xy - Ywidth - 幅height - 高さpublic void setBackground(Color c)
c - 背景色public void setDelay(long delay)
delay - 遅延(ミリ秒)public void setEdgeColor(Color c)
c - 縁の色public void setFont(Font font)
font - フォントpublic void setForeground(Color c)
c - 前景色public void setTerm(long term)
term - 表示時間(ミリ秒)
public void showTip(String value,
int x,
int y,
int width,
int height)
value - 表示するメッセージx - Xy - Ywidth - 表示域の幅height - 表示域の高さ
|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright (c) 2002-2003 The Kagetaka Project 'December 6, 2003'