タイトル
TOPJavaSwingJSplitPane → This Page

JSplitPane@Swing コンストラクタ

概要

Java - Swing - JSplitPane のコンストラクタの説明です。

コンストラクタ

コンストラクタ/説明引数引数説明
JSplitPane()
コンポーネントの 2 つのボタンを使って、水平方向に子コンポーネントが並ぶように設定された新しい分割パネを生成
- -
JSplitPane(int newOrientation)
指定された方向で構成されたで新しい分割パネを生成
newOrientation 方向
JSplitPane(int newOrientation, boolean newContinuousLayout)
方向と再描画のスタイルを指定して新しい新しい分割パネを生成
newOrientation 方向
newContinuousLayout 再描画スタイル
JSplitPane(int newOrientation, boolean newContinuousLayout, Component newLeftComponent, Component newRightComponent)
指定された方向、再描画スタイル、指定されたコンポーネントを使用して新しい分割パネを生成
newOrientation 方向
newContinuousLayout 再描画スタイル
newLeftComponent 左側(上側)のコンポーネント
newRightComponent 右側(下側)のコンポーネント
JSplitPane(int newOrientation, Component newLeftComponent, Component newRightComponent)
指定された方向と指定されたコンポーネントを使用して新しい分割パネを生成
newOrientation 方向
newLeftComponent 左側(上側)のコンポーネント
newRightComponent 右側(下側)のコンポーネント


newOrientationに指定する定数

定数定数説明
JSplitPane.HORIZONTAL_SPLIT 水平方向に分割
JSplitPane.VERTICAL_SPLIT 垂直方向に分割


更新履歴

2016/08/25 新規作成


TOPJavaSwingJSplitPane → This Page