|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextFieldUI
public class BasicTextFieldUI
JTextField で使用する Look & Feel の基礎になるクラスです。
警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。JDK Version 1.4 以降、すべての JavaBeans™ の長期間の運用サポートは、java.beans パッケージに追加されています。詳細は、XMLEncoder を参照してください。
| 入れ子のクラスの概要 |
|---|
| クラス javax.swing.plaf.basic.BasicTextUI から継承された入れ子のクラス/インタフェース |
|---|
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter |
| コンストラクタの概要 | |
|---|---|
BasicTextFieldUI()
新しい BasicTextFieldUI を作成します。 |
|
| メソッドの概要 | |
|---|---|
View |
create(Element elem)
要素に基づいてビュー (FieldView) を作成します。 |
static ComponentUI |
createUI(JComponent c)
JTextField の UI を作成します。 |
int |
getBaseline(JComponent c,
int width,
int height)
ベースラインを返します。 |
Component.BaselineResizeBehavior |
getBaselineResizeBehavior(JComponent c)
コンポーネントのサイズが変化するにつれてベースラインが変化する方法の列挙を返します。 |
protected String |
getPropertyPrefix()
UIManager を使ってプロパティーを参照するためのキーとして使われる名前をフェッチします。 |
| クラス javax.swing.plaf.ComponentUI から継承されたメソッド |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public BasicTextFieldUI()
| メソッドの詳細 |
|---|
public static ComponentUI createUI(JComponent c)
c - テキストフィールド
protected String getPropertyPrefix()
BasicTextUI 内の getPropertyPrefixpublic View create(Element elem)
ViewFactory 内の createBasicTextUI 内の createelem - 要素
View
public int getBaseline(JComponent c,
int width,
int height)
ComponentUI 内の getBaselinec - 要求される JComponent ベースラインwidth - ベースラインを取得する幅height - ベースラインを取得する高さ
NullPointerException - c が null の場合
IllegalArgumentException - 幅または高さが 0 より小さい場合JComponent.getBaseline(int, int)public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)
ComponentUI 内の getBaselineResizeBehaviorc - ベースラインのサイズ変更の動作を返す JComponent
NullPointerException - c が null の場合JComponent.getBaseline(int, int)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。