static TitledBorder |
BorderFactory.createTitledBorder(String title) |
指定のタイトルを使用して新しいタイトル・ボーダーを生成します。デフォルトのボーダー・タイプ(現在のLook & Feelによって決定)、デフォルトのテキスト位置(現在のLook & Feelによって決定)、デフォルトの位置揃え(先頭)、デフォルトのフォントおよびテキスト色(現在のLook & Feelによって決定)を使用します。
|
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) |
指定された位置、フォント、およびカラーで、既存のボーダーにタイトルを追加します。
|