| |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
javax.swing.plaf.basic
类 BasicSplitPaneUI
java.lang.Object javax.swing.plaf.ComponentUI javax.swing.plaf.SplitPaneUI javax.swing.plaf.basic.BasicSplitPaneUI
- 直接已知子类:
- MetalSplitPaneUI
public class BasicSplitPaneUI
- extends SplitPaneUI
SplitPaneUI 的基本 L&F 实现。
嵌套类摘要 | |
---|---|
class | BasicSplitPaneUI.BasicHorizontalLayoutManager 具有 HORIZONTAL_SPLIT 方向的 JSplitPane 的 LayoutManager。 |
class | BasicSplitPaneUI.BasicVerticalLayoutManager 用于具有 VERTICAL_SPLIT 的方向的 JSplitPane 的 LayoutManager。 |
class | BasicSplitPaneUI.FocusHandler JSplitPane UI 使用的 FocusListener 的实现。 |
class | BasicSplitPaneUI.KeyboardDownRightHandler ActionListener 的实现,JSplitPane UI 使用此实现处理特定键按下事件。 |
class | BasicSplitPaneUI.KeyboardEndHandler ActionListener 的实现,JSplitPane UI 使用此实现处理特定键按下事件。 |
class | BasicSplitPaneUI.KeyboardHomeHandler ActionListener 的实现,JSplitPane UI 使用此实现处理特定键按下事件。 |
class | BasicSplitPaneUI.KeyboardResizeToggleHandler ActionListener 的实现,JSplitPane UI 使用此实现处理特定键按下事件。 |
class | BasicSplitPaneUI.KeyboardUpLeftHandler ActionListener 的实现,JSplitPane UI 使用此实现处理特定键按下事件。 |
class | BasicSplitPaneUI.PropertyHandler JSplitPane UI 使用的 PropertyChangeListener 的实现。 |
字段摘要 | |
---|---|
protected int | beginDragDividerLocation 拖动会话开始时分隔符的位置。 |
protected BasicSplitPaneDivider | divider 此 JSplitPane 的分隔符的实例。 |
protected KeyStroke | dividerResizeToggleKey 已过时。 从 Java 2 platform v1.3 开始。 |
protected int | dividerSize 拖动会话有效时分隔符的大小。 |
protected KeyStroke | downKey 已过时。 从 Java 2 platform v1.3 开始。 |
protected boolean | draggingHW 如果任何一个子级(不包括 nonContinuousLayoutDivider)是重量级的,则在 startDragging 中设置 true。 |
protected KeyStroke | endKey 已过时。 从 Java 2 platform v1.3 开始。 |
protected FocusListener | focusListener 此 JSplitPane 的 FocusListener 的实例。 |
protected KeyStroke | homeKey 已过时。 从 Java 2 platform v1.3 开始。 |
protected static int | KEYBOARD_DIVIDER_MOVE_OFFSET 通过键盘上的光标键移动分隔符时移动的距离(相对)。 |
protected ActionListener | keyboardDownRightListener 已过时。 从 Java 2 platform v1.3 开始。 |
protected ActionListener | keyboardEndListener 已过时。 从 Java 2 platform v1.3 开始。 |
protected ActionListener | keyboardHomeListener 已过时。 从 Java 2 platform v1.3 开始。 |
protected ActionListener | keyboardResizeToggleListener 已过时。 从 Java 2 platform v1.3 开始。 |
protected ActionListener | keyboardUpLeftListener 已过时。 从 Java 2 platform v1.3 开始。 |
protected BasicSplitPaneUI.BasicHorizontalLayoutManager | layoutManager 创建并放到拆分窗格中的 LayoutManager。 |
protected KeyStroke | leftKey 已过时。 从 Java 2 platform v1.3 开始。 |
protected static String | NON_CONTINUOUS_DIVIDER 用于非连续布局的分隔符通过此对象添加到拆分窗格。 |
protected Component | nonContinuousLayoutDivider 使用非连续布局时分隔符阴影的实例。 |
protected PropertyChangeListener | propertyChangeListener 此 JSplitPane 的 PropertyChangeListener 的实例。 |
protected KeyStroke | rightKey 已过时。 从 Java 2 platform v1.3 开始。 |
protected JSplitPane | splitPane 此实例为其提供外观的 JSplitPane 实例。 |
protected KeyStroke | upKey 已过时。 从 Java 2 platform v1.3 开始。 |
构造方法摘要 | |
---|---|
BasicSplitPaneUI() |
方法摘要 | |
---|---|
BasicSplitPaneDivider | createDefaultDivider() 创建默认的分隔符。 |
protected Component | createDefaultNonContinuousLayoutDivider() 返回默认的非连续布局分隔符,该分隔符是使用深灰色填充背景的 Canvas 的实例。 |
protected FocusListener | createFocusListener() 创建 JSplitPane UI 的 FocusListener。 |
protected ActionListener | createKeyboardDownRightListener() 已过时。 从 Java 2 platform v1.3 开始。 |
protected ActionListener | createKeyboardEndListener() 已过时。 从 Java 2 platform v1.3 开始。 |
protected ActionListener | createKeyboardHomeListener() 已过时。 从 Java 2 platform v1.3 开始。 |
protected ActionListener | createKeyboardResizeToggleListener() 已过时。 从 Java 2 platform v1.3 开始。 |
protected ActionListener | createKeyboardUpLeftListener() 已过时。 从 Java 2 platform 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 jc, Graphics g) 在 JSplitPane 接收者将为绘制其子级提供外观后传递消息。 |
BasicSplitPaneDivider | getDivider() 返回顶层 Component 之间的分隔符。 |
protected int | getDividerBorderSize() 已过时。 从 Java 2 平台 v1.3 开始,由在分隔符上设置边框取代。 |
int | getDividerLocation(JSplitPane jc) 返回分隔符的位置,该位置可能不同于拆分窗格认为分隔符所在的位置。 |
Insets | getInsets(JComponent jc) 返回 insets。 |
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) 传递消息以绘制外观。 |
protected void | resetLayoutManager() 基于方向重置布局管理器,并利用 invalidateLayout 传递其消息以拉入适当的 Component。 |
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。 |
从类 javax.swing.plaf.ComponentUI 继承的方法 |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, update |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
NON_CONTINUOUS_DIVIDER
protected static final String NON_CONTINUOUS_DIVIDER
- 用于非连续布局的分隔符通过此对象添加到拆分窗格。
- 另请参见:
- 常量字段值
KEYBOARD_DIVIDER_MOVE_OFFSET
protected static int KEYBOARD_DIVIDER_MOVE_OFFSET
- 通过键盘上的光标键移动分隔符时移动的距离(相对)。
splitPane
protected JSplitPane splitPane
- 此实例为其提供外观的 JSplitPane 实例。
layoutManager
protected BasicSplitPaneUI.BasicHorizontalLayoutManager layoutManager
- 创建并放到拆分窗格中的 LayoutManager。
divider
protected BasicSplitPaneDivider divider
- 此 JSplitPane 的分隔符的实例。
propertyChangeListener
protected PropertyChangeListener propertyChangeListener
- 此 JSplitPane 的 PropertyChangeListener 的实例。
focusListener
protected FocusListener focusListener
- 此 JSplitPane 的 FocusListener 的实例。