| パッケージ | 説明 | 
|---|---|
| javax.swing | すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。 | 
| javax.swing.plaf | Swingがプラグイン可能なLook & Feel機能を提供するために使用する、1つのインタフェースおよび多くのabstractクラスを提供します。 | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| static TitledBorder | BorderFactory. createTitledBorder(Border border)空のタイトルを使用して新しいタイトル・ボーダーを作成します。指定のボーダー・オブジェクト、デフォルトのテキスト位置(現在のLook & Feelによって決定)、デフォルトの位置揃え(先頭)、デフォルトのフォントおよびテキスト色(現在のLook & Feelによって決定)を使用します。 | |
| static TitledBorder | BorderFactory. createTitledBorder(Border border, String title)既存のボーダーにタイトルを追加します。デフォルトのテキスト位置(現在のLook & Feelによって決定)、デフォルトの位置揃え(先頭)、デフォルトのフォントおよびテキスト色(現在のLook & Feelによって決定)を使用します。 | |
| 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)指定のタイトルを使用して新しいタイトル・ボーダーを生成します。デフォルトのボーダー・タイプ(現在のLook & Feelによって決定)、デフォルトのテキスト位置(現在のLook & Feelによって決定)、デフォルトの位置揃え(先頭)、デフォルトのフォントおよびテキスト色(現在のLook & Feelによって決定)を使用します。 | 
| 修飾子と型 | クラス | 説明 | 
|---|---|---|
| static class  | BorderUIResource.TitledBorderUIResource | 
 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。 
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved.  Use is subject to license terms.  Documentation Redistribution Policyも参照してください。