| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public class | BasicSplitPaneUI.
LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT. |
| public class | BasicSplitPaneUI.
LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT. |
| public class | BasicSplitPaneUI.
Implementation of the FocusListener that the JSplitPane UI uses. |
| private class | |
| public class | BasicSplitPaneUI.
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
| public class | BasicSplitPaneUI.
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
| public class | BasicSplitPaneUI.
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
| public class | BasicSplitPaneUI.
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
| public class | BasicSplitPaneUI.
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
| public class | BasicSplitPaneUI.
Implementation of the PropertyChangeListener that the JSplitPane UI uses. |
| Modifier and Type | Field and Description |
|---|---|
| protected int | beginDragDividerLocation
Location of the divider when the dragging session began. |
| private boolean | |
| protected BasicSplitPaneDivider | divider
Instance of the divider for this JSplitPane. |
| private Color | |
| private boolean | |
| private boolean | |
| protected KeyStroke | dividerResizeToggleKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected int | dividerSize
The size of the divider while the dragging session is valid. |
| protected KeyStroke | downKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected boolean | draggingHW
Set to true in startDragging if any of the children (not including the nonContinuousLayoutDivider) are heavy weights. |
| protected KeyStroke | endKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected FocusListener | focusListener
Instance of the FocusListener for this JSplitPane. |
| private BasicSplitPaneUI. | |
| protected KeyStroke | homeKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| pack-priv boolean | ignoreDividerLocationChange
If true, setDividerLocation does nothing. |
| private boolean | |
| protected static int | KEYBOARD_DIVIDER_MOVE_OFFSET
How far (relative) the divider does move when it is moved around by the cursor keys on the keyboard. |
| protected ActionListener | keyboardDownRightListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected ActionListener | keyboardEndListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected ActionListener | keyboardHomeListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected ActionListener | keyboardResizeToggleListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected ActionListener | keyboardUpLeftListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| private int | |
| protected BasicSplitPaneUI. | layoutManager
LayoutManager that is created and placed into the split pane. |
| protected KeyStroke | leftKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| private Set | managingFocusBackwardTraversalKeys
Keys to use for backward focus traversal when the JComponent is managing focus. |
| private Set | managingFocusForwardTraversalKeys
Keys to use for forward focus traversal when the JComponent is managing focus. |
| protected static final String | NON_CONTINUOUS_DIVIDER
The divider used for non-continuous layout is added to the split pane with this object. |
| protected Component | nonContinuousLayoutDivider
Instance for the shadow of the divider when non continuous layout is being used. |
| private int | |
| pack-priv boolean | painted
Indicates that we have painted once. |
| protected PropertyChangeListener | propertyChangeListener
Instance of the PropertyChangeListener for this JSplitPane. |
| private boolean | |
| protected KeyStroke | rightKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| protected JSplitPane | splitPane
JSplitPane instance this instance is providing the look and feel for. |
| protected KeyStroke | upKey
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this previously undocumented field is no
longer used.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public BasicSplitPaneDivider | |
| protected Component | Returns: the default non continuous layout dividerReturns the default non continuous layout divider, which is an
instance of |
| protected FocusListener | Returns: an instance ofFocusListenerCreates a |
| protected ActionListener | Returns: an instance ofActionListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this method is no longer used. |
| protected ActionListener | Returns: an instance ofActionListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this method is no longer used. |
| protected ActionListener | Returns: an instance ofActionListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this method is no longer used. |
| protected ActionListener | Returns: an instance ofActionListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this method is no longer used. |
| protected ActionListener | Returns: an instance ofActionListener
Deprecated
As of Java 2 platform v1.3.
As of Java 2 platform v1.3 this method is no longer used. |
| protected PropertyChangeListener | Returns: an instance ofPropertyChangeListenerCreates a |
| public static ComponentUI | Returns: a new instance ofBasicSplitPaneUIa component x)Hides javax. Creates a new instance of |
| protected void | dragDividerTo(int
the location of divider location)Messaged during a dragging session to move the divider to the
passed in |
| protected void | |
| public void | finishedPaintingChildren(JSplitPane sp, Graphics g)
Implements abstract javax. Called when the specified split pane has finished painting its children. |
| public BasicSplitPaneDivider | Returns: the divider between the top ComponentsReturns the divider between the top Components. |
| protected int | Returns: the width of one side of the divider border
Deprecated
As of Java 2 platform v1.3, instead set the border on the
divider.
As of Java 2 platform v1.3 this method is no longer used. |
| public int | getDividerLocation(JSplitPane jc)
Implements abstract javax. Returns the location of the divider, which may differ from what the splitpane thinks the location of the divider is. |
| private BasicSplitPaneUI. | |
| pack-priv InputMap | |
| public Insets | |
| private boolean | Returns: true if one of the splitpane sides is expanded, false otherwise.The value returned indicates if one of the splitpane sides is expanded. |
| pack-priv int | |
| public int | Returns: the last drag locationReturns the last drag location of the |
| public int | getMaximumDividerLocation(JSplitPane jc)
Implements abstract javax. Gets the maximum location of the divider. |
| public Dimension | getMaximumSize(JComponent jc)
Overrides javax. Returns the maximum size for the passed in component, This is passed off to the current layout manager. |
| public int | getMinimumDividerLocation(JSplitPane jc)
Implements abstract javax. Gets the minimum location of the divider. |
| public Dimension | getMinimumSize(JComponent jc)
Overrides javax. Returns the minimum size for the passed in component, This is passed off to the current layout manager. |
| public Component | Returns: the dividerReturns the divider to use when the |
| public int | |
| public Dimension | getPreferredSize(JComponent jc)
Overrides javax. Returns the preferred size for the passed in component, This is passed off to the current layout manager. |
| public JSplitPane | Returns: the instance ofJSplitPaneReturns the |
| protected void | |
| protected void | |
| protected void | |
| public void | |
| public boolean | Returns: true if a continuous layout is setDetermines whether the |
| pack-priv static void | |
| public void | paint(Graphics g, JComponent jc)
Overrides javax. Paints the specified component appropriately for the look and feel. |
| protected void | resetLayoutManager()
Resets the layout manager based on orientation and messages it with invalidateLayout to pull in appropriate Components. |
| public void | resetToPreferredSizes(JSplitPane jc)
Implements abstract javax. Messaged to reset the preferred sizes. |
| public void | |
| public void | setDividerLocation(JSplitPane jc, int location)
Implements abstract javax. Sets the location of the divider to location. |
| pack-priv void | setKeepHidden(boolean keepHidden)
Set the value to indicate if one of the splitpane sides is expanded. |
| public void | |
| protected void | setNonContinuousLayoutDivider(Component
the new divider newDivider)Sets the divider to use when the |
| protected void | setNonContinuousLayoutDivider(Component
the new divider newDivider, boolean if rememberSizes)true the pane size is rememberedSets the divider to use. |
| public void | |
| protected void | startDragging()
Should be messaged before the dragging session starts, resets lastDragLocation and dividerSize. |
| protected void | |
| protected void | |
| protected void | |
| public void |