JavaTM Platform
Standard Ed. 6

クラス
javax.swing.border.TitledBorder の使用

TitledBorder を使用しているパッケージ
javax.swing すべてのプラットフォームで可能なかぎり同じように機能する「軽量」(Java 共通言語) コンポーネントのセットを提供します。 
javax.swing.plaf 1 つのインタフェースおよび多くの abstract クラスを提供しており、Swing は、プラグイン可能な Look & Feel 機能を実現するためにこれらのクラスを利用します。 
 

javax.swing での TitledBorder の使用
 

TitledBorder を返す javax.swing のメソッド
static TitledBorder BorderFactory.createTitledBorder(Border border)
          空のタイトルを使って新しいタイトルボーダーを作成します。
static TitledBorder BorderFactory.createTitledBorder(Border border, String title)
          既存のボーダーにタイトルを追加します。
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition)
          テキスト位置を指定し、デフォルトのフォントとテキスト色 (現在の Look & Feel によって決定) を使って、既存のボーダーにタイトルを追加します。
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
          テキスト位置を指定し、デフォルトのフォントとテキスト色 (現在の Look & Feel によって決定) を使って、既存のボーダーにタイトルを追加します。
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
          テキスト位置、フォント、およびテキスト色を指定して、既存のボーダーにタイトルを追加します。
static TitledBorder BorderFactory.createTitledBorder(String title)
          指定のタイトルを使って新しいタイトルボーダーを生成します。
 

javax.swing.plaf での TitledBorder の使用
 

javax.swing.plaf での TitledBorder のサブクラス
static class BorderUIResource.TitledBorderUIResource
           
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。