|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--javax.swing.plaf.ComponentUI | +--javax.swing.plaf.SplitPaneUI | +--javax.swing.plaf.basic.BasicSplitPaneUI
SplitPaneUI の Basic 仕様 Look & Feel による実装です。
内部クラスの概要 | |
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
|
protected int |
dividerSize
ドラッグセッションが有効なときのディバイダのサイズです。 |
protected KeyStroke |
downKey
|
protected boolean |
draggingHW
子 (nonContinuousLayoutDivider を除く) のどれかが重量コンポーネントである場合に startDragging で true に設定されます。 |
protected KeyStroke |
endKey
|
protected FocusListener |
focusListener
この JSplitPane の FocusListener のインスタンスです。 |
protected KeyStroke |
homeKey
|
protected static int |
KEYBOARD_DIVIDER_MOVE_OFFSET
キーボードのカーソルキーで移動するときにディバイダが移動する相対的な距離です。 |
protected ActionListener |
keyboardDownRightListener
|
protected ActionListener |
keyboardEndListener
|
protected ActionListener |
keyboardHomeListener
|
protected ActionListener |
keyboardResizeToggleListener
|
protected ActionListener |
keyboardUpLeftListener
キーボードナビゲーションのキーストロークを処理しているハンドラです。 |
protected BasicSplitPaneUI.BasicHorizontalLayoutManager |
layoutManager
分割区画に作成および配置される LayoutManager です。 |
protected KeyStroke |
leftKey
|
protected static String |
NON_CONTINUOUS_DIVIDER
非連続レイアウトに使われるディバイダが、このオブジェクトを持つ分割区画に追加されます。 |
protected Component |
nonContinuousLayoutDivider
非連続レイアウトが使われているときのディバイダの陰影のインスタンスです。 |
protected PropertyChangeListener |
propertyChangeListener
この JSplitPane の PropertyChangeListener のインスタンスです。 |
protected KeyStroke |
rightKey
|
protected JSplitPane |
splitPane
このインスタンスが Look & Feel を提供している JSplitPane のインスタンスです。 |
protected KeyStroke |
upKey
JSplitPane が処理するキーストロークです。 |
コンストラクタの概要 | |
BasicSplitPaneUI()
|
メソッドの概要 | |
BasicSplitPaneDivider |
createDefaultDivider()
デフォルトのディバイダを作成します。 |
protected Component |
createDefaultNonContinuousLayoutDivider()
デフォルトの非連続レイアウトのディバイダを返します。 |
protected FocusListener |
createFocusListener()
JSplitPane UI の FocusListener を作成します。 |
protected ActionListener |
createKeyboardDownRightListener()
特定のキーの押下を待機する JSplitPane UI の ActionListener を作成します。 |
protected ActionListener |
createKeyboardEndListener()
特定のキーの押下を待機する JSplitPane UI の ActionListener を作成します。 |
protected ActionListener |
createKeyboardHomeListener()
特定のキーの押下を待機する JSplitPane UI の ActionListener を作成します。 |
protected ActionListener |
createKeyboardResizeToggleListener()
特定のキーの押下を待機する JSplitPane UI の ActionListener を作成します。 |
protected ActionListener |
createKeyboardUpLeftListener()
特定のキーの押下を待機する JSplitPane UI の ActionListener を作成します。 |
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 jc,
Graphics g)
レシーバによって Look & Feel が提供されている JSplitPane がその子をペイントしたあとにメッセージとして送られます。 |
BasicSplitPaneDivider |
getDivider()
最上部の Component の間のディバイダを返します。 |
protected int |
getDividerBorderSize()
ディバイダのボーダの 1 辺の幅を返します。 |
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()
分割区画が非連続レイアウトに設定されているときに使われるディバイダを返します。 |
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)
分割区画が非連続レイアウトに設定されているときに使われるディバイダを設定します。 |
protected void |
setNonContinuousLayoutDivider(Component newDivider,
boolean rememberSizes)
使用されるディバイダを設定します。 |
void |
setOrientation(int orientation)
JSplitPane の方向を設定します。 |
protected void |
startDragging()
ドラッグセッションが始まる前にメッセージとして送ります。 |
protected void |
uninstallDefaults()
UI のデフォルトをアンインストールします。 |
protected void |
uninstallKeyboardActions()
UI のキーボードアクションをアンインストールします。 |
protected void |
uninstallListeners()
UI のイベントリスナーをアンインストールします。 |
void |
uninstallUI(JComponent c)
UI をアンインストールします。 |
クラス javax.swing.plaf.ComponentUI から継承したメソッド |
contains,
getAccessibleChild,
getAccessibleChildrenCount,
update |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
フィールドの詳細 |
protected 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
protected KeyStroke upKey
protected KeyStroke downKey
protected KeyStroke leftKey
protected KeyStroke rightKey
protected KeyStroke homeKey
protected KeyStroke endKey
protected KeyStroke dividerResizeToggleKey
protected ActionListener keyboardUpLeftListener
protected ActionListener keyboardDownRightListener
protected ActionListener keyboardHomeListener
protected ActionListener keyboardEndListener
protected ActionListener keyboardResizeToggleListener
コンストラクタの詳細 |
public BasicSplitPaneUI()
メソッドの詳細 |
public static ComponentUI createUI(JComponent x)
public void installUI(JComponent c)
protected void installDefaults()
protected void installListeners()
protected void installKeyboardActions()
public void uninstallUI(JComponent c)
protected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallKeyboardActions()
protected PropertyChangeListener createPropertyChangeListener()
protected FocusListener createFocusListener()
protected ActionListener createKeyboardUpLeftListener()
protected ActionListener createKeyboardDownRightListener()
protected ActionListener createKeyboardHomeListener()
protected ActionListener createKeyboardEndListener()
protected ActionListener createKeyboardResizeToggleListener()
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()
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)
public void setDividerLocation(JSplitPane jc, int location)
public int getDividerLocation(JSplitPane jc)
public int getMinimumDividerLocation(JSplitPane jc)
public int getMaximumDividerLocation(JSplitPane jc)
public void finishedPaintingChildren(JSplitPane jc, Graphics g)
public void paint(Graphics g, JComponent jc)
public Dimension getPreferredSize(JComponent jc)
public Dimension getMinimumSize(JComponent jc)
public Dimension getMaximumSize(JComponent jc)
public Insets getInsets(JComponent jc)
protected void resetLayoutManager()
protected void startDragging()
protected void dragDividerTo(int location)
protected void finishDraggingTo(int location)
protected int getDividerBorderSize()
|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |