public class BasicSplitPaneUI extends SplitPaneUI
| 修飾子と型 | クラス | 説明 |
|---|---|---|
class |
BasicSplitPaneUI.BasicHorizontalLayoutManager |
HORIZONTAL_SPLIT方向のJSplitPaneのLayoutManagerです。
|
class |
BasicSplitPaneUI.BasicVerticalLayoutManager |
VERTICAL_SPLIT方向のJSplitPaneに使われるLayoutManagerです。
|
class |
BasicSplitPaneUI.FocusHandler |
JSplitPane UIが使用するFocusListenerの実装です。
|
class |
BasicSplitPaneUI.KeyboardDownRightHandler |
特定のキー押下を処理するためにJSplitPane UIが使用する、ActionListenerの実装です。
|
class |
BasicSplitPaneUI.KeyboardEndHandler |
特定のキー押下を処理するためにJSplitPane UIが使用する、ActionListenerの実装です。
|
class |
BasicSplitPaneUI.KeyboardHomeHandler |
特定のキー押下を処理するためにJSplitPane UIが使用する、ActionListenerの実装です。
|
class |
BasicSplitPaneUI.KeyboardResizeToggleHandler |
特定のキー押下を処理するためにJSplitPane UIが使用する、ActionListenerの実装です。
|
class |
BasicSplitPaneUI.KeyboardUpLeftHandler |
特定のキー押下を処理するためにJSplitPane UIが使用する、ActionListenerの実装です。
|
class |
BasicSplitPaneUI.PropertyHandler |
JSplitPane UIが使用するPropertyChangeListenerの実装です。
|
| 修飾子と型 | フィールド | 説明 |
|---|---|---|
protected int |
beginDragDividerLocation |
ドラッグ・セッションが開始されたときのディバイダの位置です。
|
protected BasicSplitPaneDivider |
divider |
このJSplitPaneのディバイダのインスタンスです。
|
protected KeyStroke |
dividerResizeToggleKey |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected int |
dividerSize |
ドラッグ・セッションが有効なときのディバイダのサイズです。
|
protected KeyStroke |
downKey |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected boolean |
draggingHW |
子(nonContinuousLayoutDividerを除く)のどれかが重い場合にstartDraggingでtrueに設定されます。
|
protected KeyStroke |
endKey |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected FocusListener |
focusListener |
このJSplitPaneのFocusListenerのインスタンスです。
|
protected KeyStroke |
homeKey |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected static int |
KEYBOARD_DIVIDER_MOVE_OFFSET |
キーボードのカーソル・キーで動き回るときにディバイダがどのくらい(相対的に)遠くに移動するかを示します。
|
protected ActionListener |
keyboardDownRightListener |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected ActionListener |
keyboardEndListener |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected ActionListener |
keyboardHomeListener |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected ActionListener |
keyboardResizeToggleListener |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected ActionListener |
keyboardUpLeftListener |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected BasicSplitPaneUI.BasicHorizontalLayoutManager |
layoutManager |
分割ペインに作成および配置されるLayoutManagerです。
|
protected KeyStroke |
leftKey |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected static String |
NON_CONTINUOUS_DIVIDER |
非連続レイアウトに使われるディバイダが、このオブジェクトを持つ分割ペインに追加されます。
|
protected Component |
nonContinuousLayoutDivider |
非連続レイアウトが使われているときのディバイダのシャドウのインスタンスです。
|
protected PropertyChangeListener |
propertyChangeListener |
このJSplitPaneのPropertyChangeListenerのインスタンスです。
|
protected KeyStroke |
rightKey |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected JSplitPane |
splitPane |
このインスタンスがLook & Feelを提供しているJSplitPaneインスタンスです。
|
protected KeyStroke |
upKey |
非推奨。
Java 2プラットフォームv1.3以降。
|
| コンストラクタ | 説明 |
|---|---|
BasicSplitPaneUI() |
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
BasicSplitPaneDivider |
createDefaultDivider() |
デフォルトのディバイダを作成します。
|
protected Component |
createDefaultNonContinuousLayoutDivider() |
デフォルトの非連続レイアウトのディバイダを返します。これは、背景をダーク・グレーで塗りつぶす
Canvasのインスタンスです。 |
protected FocusListener |
createFocusListener() |
JSplitPane UIのFocusListenerを作成します。
|
protected ActionListener |
createKeyboardDownRightListener() |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected ActionListener |
createKeyboardEndListener() |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected ActionListener |
createKeyboardHomeListener() |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected ActionListener |
createKeyboardResizeToggleListener() |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected ActionListener |
createKeyboardUpLeftListener() |
非推奨。
Java 2プラットフォームv1.3以降。
|
protected PropertyChangeListener |
createPropertyChangeListener() |
JSplitPane UIのPropertyChangeListenerを作成します。
|
static ComponentUI |
createUI(JComponent x) |
BasicSplitPaneUIの新しいインスタンスを作成します。
|
protected void |
dragDividerTo(int location) |
ディバイダを渡された位置に移動するためにドラッグ・セッション中にメッセージとして送られます。
|
protected void |
finishDraggingTo(int location) |
ドラッグ・セッションを終了するためにメッセージとして送られます。
|
void |
finishedPaintingChildren(JSplitPane sp, Graphics g) |
指定された分割ペインがその子のペイントを終了したときに呼び出されます。
|
BasicSplitPaneDivider |
getDivider() |
最上部のComponentの間のディバイダを返します。
|
protected int |
getDividerBorderSize() |
非推奨。
Java 2プラットフォーム1.3以降は、ディバイダにボーダーを設定します。
|
int |
getDividerLocation(JSplitPane jc) |
ドライバの位置を返します。分割ペインがドライバの位置であると考えているものと異なる場合があります。
|
Insets |
getInsets(JComponent jc) |
イン・セットを返します。
|
int |
getLastDragLocation() |
JSplitPaneの最後のドラッグ位置を返します。
|
int |
getMaximumDividerLocation(JSplitPane jc) |
ディバイダの最大位置を取得します。
|
Dimension |
getMaximumSize(JComponent jc) |
渡されたコンポーネントの最大サイズを返します。これは、現在のレイアウト・マネージャに渡されます。
|
int |
getMinimumDividerLocation(JSplitPane jc) |
ディバイダの最小位置を取得します。
|
Dimension |
getMinimumSize(JComponent jc) |
渡されたコンポーネントの最小サイズを返します。これは、現在のレイアウト・マネージャに渡されます。
|
Component |
getNonContinuousLayoutDivider() |
splitPaneが非連続レイアウトに設定されているときに使用するディバイダを返します。
|
int |
getOrientation() |
JSplitPaneの方向を返します。
|
Dimension |
getPreferredSize(JComponent jc) |
渡されたコンポーネントの推奨サイズを返します。これは、現在のレイアウト・マネージャに渡されます。
|
JSplitPane |
getSplitPane() |
このインスタンスが現在含まれている分割ペインを返します。
|
protected void |
installDefaults() |
UIのデフォルトをインストールします。
|
protected void |
installKeyboardActions() |
UIのキーボード・アクションをインストールします。
|
protected void |
installListeners() |
UIのイベント・リスナーをインストールします。
|
void |
installUI(JComponent c) |
UIをインストールします。
|
boolean |
isContinuousLayout() |
JSplitPaneが連続レイアウトを使用するように設定されているかどうかを判定します。
|
void |
paint(Graphics g, JComponent jc) |
指定されたコンポーネントをLook & Feelに合わせてペイントします。
|
protected void |
resetLayoutManager() |
方向に基づいてレイアウト・マネージャをリセットし、適切なComponentを引き込むためにinvalidateLayoutでメッセージを送ります。
|
void |
resetToPreferredSizes(JSplitPane jc) |
推奨サイズをリセットするためにメッセージとして送られます。
|
void |
setContinuousLayout(boolean b) |
連続レイアウトのオンとオフを切り替えます。
|
void |
setDividerLocation(JSplitPane jc, int location) |
ディバイダの位置をlocationに設定します。
|
void |
setLastDragLocation(int l) |
JSplitPaneの最後のドラッグ位置を設定します。
|
protected void |
setNonContinuousLayoutDivider(Component newDivider) |
splitPaneが非連続レイアウトに設定されているときに使用されるディバイダを設定します。
|
protected void |
setNonContinuousLayoutDivider(Component newDivider, boolean rememberSizes) |
使用するディバイダを設定します。
|
void |
setOrientation(int orientation) |
JSplitPaneの方向を設定します。
|
protected void |
startDragging() |
ドラッグ・セッションが始まる前にメッセージとして送信されるはずです。lastDragLocationおよびdividerSizeをリセットします。
|
protected void |
uninstallDefaults() |
UIのデフォルトをアンインストールします。
|
protected void |
uninstallKeyboardActions() |
UIのキーボード・アクションをアンインストールします。
|
protected void |
uninstallListeners() |
UIのイベント・リスナーをアンインストールします。
|
void |
uninstallUI(JComponent c) |
UIをアンインストールします。
|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, updateprotected static final String NON_CONTINUOUS_DIVIDER
protected static int KEYBOARD_DIVIDER_MOVE_OFFSET
protected JSplitPane splitPane
protected BasicSplitPaneUI.BasicHorizontalLayoutManager layoutManager
protected BasicSplitPaneDivider divider
protected PropertyChangeListener propertyChangeListener
protected FocusListener focusListener
protected int dividerSize
protected Component nonContinuousLayoutDivider
protected boolean draggingHW
protected int beginDragDividerLocation
@Deprecated protected KeyStroke upKey
@Deprecated protected KeyStroke downKey
@Deprecated protected KeyStroke leftKey
@Deprecated protected KeyStroke rightKey
@Deprecated protected KeyStroke homeKey
@Deprecated protected KeyStroke endKey
@Deprecated protected KeyStroke dividerResizeToggleKey
@Deprecated protected ActionListener keyboardUpLeftListener
@Deprecated protected ActionListener keyboardDownRightListener
@Deprecated protected ActionListener keyboardHomeListener
@Deprecated protected ActionListener keyboardEndListener
@Deprecated protected ActionListener keyboardResizeToggleListener
public static ComponentUI createUI(JComponent x)
public void installUI(JComponent c)
installUI、クラスComponentUIc - UI委譲がインストールされるコンポーネントComponentUI.uninstallUI(javax.swing.JComponent), JComponent.setUI(javax.swing.plaf.ComponentUI), JComponent.updateUI()protected void installDefaults()
protected void installListeners()
protected void installKeyboardActions()
public void uninstallUI(JComponent c)
uninstallUI、クラスComponentUIc - このUI委譲が削除されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるComponentUI.installUI(javax.swing.JComponent), JComponent.updateUI()protected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallKeyboardActions()
protected PropertyChangeListener createPropertyChangeListener()
protected FocusListener createFocusListener()
@Deprecated protected ActionListener createKeyboardUpLeftListener()
installKeyboardActionsをオーバーライドしActionをSplitPaneのActionMapに配置することによってそのActionを登録するようにしてください。 詳細は、キー・バインディング仕様を参照してください。
特定のキー押下を待機するJSplitPane UIのActionListenerを作成します。
@Deprecated protected ActionListener createKeyboardDownRightListener()
installKeyboardActionsをオーバーライドしActionをSplitPaneのActionMapに配置することによってそのActionを登録するようにしてください。 詳細は、キー・バインディング仕様を参照してください。
特定のキー押下を待機するJSplitPane UIのActionListenerを作成します。
@Deprecated protected ActionListener createKeyboardHomeListener()
installKeyboardActionsをオーバーライドしActionをSplitPaneのActionMapに配置することによってそのActionを登録するようにしてください。 詳細は、キー・バインディング仕様を参照してください。
特定のキー押下を待機するJSplitPane UIのActionListenerを作成します。
@Deprecated protected ActionListener createKeyboardEndListener()
installKeyboardActionsをオーバーライドしActionをSplitPaneのActionMapに配置することによってそのActionを登録するようにしてください。 詳細は、キー・バインディング仕様を参照してください。
特定のキー押下を待機するJSplitPane UIのActionListenerを作成します。
@Deprecated protected ActionListener createKeyboardResizeToggleListener()
installKeyboardActionsをオーバーライドしActionをSplitPaneのActionMapに配置することによってそのActionを登録するようにしてください。 詳細は、キー・バインディング仕様を参照してください。
特定のキー押下を待機するJSplitPane UIのActionListenerを作成します。
public int getOrientation()
public void setOrientation(int orientation)
public boolean isContinuousLayout()
public void setContinuousLayout(boolean b)
public int getLastDragLocation()
public void setLastDragLocation(int l)
public BasicSplitPaneDivider getDivider()
protected Component createDefaultNonContinuousLayoutDivider()
Canvasのインスタンスです。protected void setNonContinuousLayoutDivider(Component newDivider)
protected void setNonContinuousLayoutDivider(Component newDivider, boolean rememberSizes)
public Component getNonContinuousLayoutDivider()
public JSplitPane getSplitPane()
public BasicSplitPaneDivider createDefaultDivider()
public void resetToPreferredSizes(JSplitPane jc)
resetToPreferredSizes、クラスSplitPaneUIpublic void setDividerLocation(JSplitPane jc, int location)
setDividerLocation、クラスSplitPaneUIpublic int getDividerLocation(JSplitPane jc)
getDividerLocation、クラスSplitPaneUIpublic int getMinimumDividerLocation(JSplitPane jc)
public int getMaximumDividerLocation(JSplitPane jc)
public void finishedPaintingChildren(JSplitPane sp, Graphics g)
public void paint(Graphics g, JComponent jc)
ComponentUI.updateメソッドから呼び出されます。 サブクラスは、このメソッドをオーバーライドして、指定されたGraphicsオブジェクトを使ってコンポーネントの内容を描画するべきです。 paint、クラスComponentUIg - ペイント対象のGraphicsコンテキストjc - ペイントされるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるComponentUI.update(java.awt.Graphics, javax.swing.JComponent)public Dimension getPreferredSize(JComponent jc)
getPreferredSize、クラスComponentUIjc - 推奨サイズが照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるJComponent.getPreferredSize(), LayoutManager.preferredLayoutSize(java.awt.Container)public Dimension getMinimumSize(JComponent jc)
getMinimumSize、クラスComponentUIjc - 最小サイズが照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるDimensionオブジェクトまたはnullJComponent.getMinimumSize(), LayoutManager.minimumLayoutSize(java.awt.Container), ComponentUI.getPreferredSize(javax.swing.JComponent)public Dimension getMaximumSize(JComponent jc)
getMaximumSize、クラスComponentUIjc - 最大サイズが照会されるコンポーネント。この引数は通常無視されるが、UIオブジェクトがステートレスで、複数のコンポーネントで共有されている場合は使用されることがあるDimensionオブジェクトまたはnullJComponent.getMaximumSize(), LayoutManager2.maximumLayoutSize(java.awt.Container)public Insets getInsets(JComponent jc)
protected void resetLayoutManager()
protected void startDragging()
protected void dragDividerTo(int location)
protected void finishDraggingTo(int location)
@Deprecated protected int getDividerBorderSize()
ディバイダ・ボーダーの一辺の幅を返します。
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。