|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.swing.plaf.ComponentUI
![]()
![]()
![]()
javax.swing.plaf.SplitPaneUI
![]()
![]()
![]()
javax.swing.plaf.basic.BasicSplitPaneUI

public class BasicSplitPaneUI

A Basic L&F implementation of the SplitPaneUI.
| Nested Class Summary | |
|---|---|
class |
BasicSplitPaneUI.BasicHorizontalLayoutManager
LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT. |
class |
BasicSplitPaneUI.BasicVerticalLayoutManager
LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT. |
class |
BasicSplitPaneUI.FocusHandler
Implementation of the FocusListener that the JSplitPane UI uses. |
class |
BasicSplitPaneUI.KeyboardDownRightHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
class |
BasicSplitPaneUI.KeyboardEndHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
class |
BasicSplitPaneUI.KeyboardHomeHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
class |
BasicSplitPaneUI.KeyboardResizeToggleHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
class |
BasicSplitPaneUI.KeyboardUpLeftHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses. |
class |
BasicSplitPaneUI.PropertyHandler
Implementation of the PropertyChangeListener that the JSplitPane UI uses. |
| Field Summary | |
|---|---|
protected int |
beginDragDividerLocation
Location of the divider when the dragging session began. |
protected BasicSplitPaneDivider |
divider
Instance of the divider for this JSplitPane. |
protected KeyStroke |
dividerResizeToggleKey
Deprecated. As of Java 2 platform v1.3. |
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. |
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. |
protected FocusListener |
focusListener
Instance of the FocusListener for this JSplitPane. |
protected KeyStroke |
homeKey
Deprecated. As of Java 2 platform v1.3. |
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. |
protected ActionListener |
keyboardEndListener
Deprecated. As of Java 2 platform v1.3. |
protected ActionListener |
keyboardHomeListener
Deprecated. As of Java 2 platform v1.3. |
protected ActionListener |
keyboardResizeToggleListener
Deprecated. As of Java 2 platform v1.3. |
protected ActionListener |
keyboardUpLeftListener
Deprecated. As of Java 2 platform v1.3. |
protected BasicSplitPaneUI.BasicHorizontalLayoutManager |
layoutManager
LayoutManager that is created and placed into the split pane. |
protected KeyStroke |
leftKey
Deprecated. As of Java 2 platform v1.3. |
protected static 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. |
protected PropertyChangeListener |
propertyChangeListener
Instance of the PropertyChangeListener for this JSplitPane. |
protected KeyStroke |
rightKey
Deprecated. As of Java 2 platform v1.3. |
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. |
| Constructor Summary | |
|---|---|
BasicSplitPaneUI
|
|
| Method Summary | |
|---|---|
BasicSplitPaneDivider |
createDefaultDivider
Creates the default divider. |
protected Component |
createDefaultNonContinuousLayoutDivider
Returns the default non continuous layout divider, which is an instanceof Canvas that fills the background in dark gray. |
protected FocusListener |
createFocusListener
Creates a FocusListener for the JSplitPane UI. |
protected ActionListener |
createKeyboardDownRightListener
Deprecated. As of Java 2 platform v1.3. |
protected ActionListener |
createKeyboardEndListener
Deprecated. As of Java 2 platform v1.3. |
protected ActionListener |
createKeyboardHomeListener
Deprecated. As of Java 2 platform v1.3. |
protected ActionListener |
createKeyboardResizeToggleListener
Deprecated. As of Java 2 platform v1.3. |
protected ActionListener |
createKeyboardUpLeftListener
Deprecated. As of Java 2 platform v1.3. |
protected PropertyChangeListener |
createPropertyChangeListener
Creates a PropertyChangeListener for the JSplitPane UI. |
static ComponentUI |
createUI
Creates a new BasicSplitPaneUI instance |
protected void |
dragDividerTo
Messaged during a dragging session to move the divider to the passed in location. |
protected void |
finishDraggingTo
Messaged to finish the dragging session. |
void |
finishedPaintingChildren
Messaged after the JSplitPane the receiver is providing the look and feel for paints its children. |
BasicSplitPaneDivider |
getDivider
Returns the divider between the top Components. |
protected int |
getDividerBorderSize
Deprecated. As of Java 2 platform v1.3, instead set the border on the divider. |
int |
getDividerLocation
Returns the location of the divider, which may differ from what the splitpane thinks the location of the divider is. |
Insets |
getInsets
Returns the insets. |
int |
getLastDragLocation
Returns the last drag location of the JSplitPane. |
int |
getMaximumDividerLocation
Gets the maximum location of the divider. |
Dimension |
getMaximumSize
Returns the maximum size for the passed in component, This is passed off to the current layoutmanager. |
int |
getMinimumDividerLocation
Gets the minimum location of the divider. |
Dimension |
getMinimumSize
Returns the minimum size for the passed in component, This is passed off to the current layoutmanager. |
Component |
getNonContinuousLayoutDivider
Returns the divider to use when the splitPane is configured to not continuously layout. |
int |
getOrientation
Returns the orientation for the JSplitPane. |
Dimension |
getPreferredSize
Returns the preferred size for the passed in component, This is passed off to the current layoutmanager. |
JSplitPane |
getSplitPane
Returns the splitpane this instance is currently contained in. |
protected void |
installDefaults
Installs the UI defaults. |
protected void |
installKeyboardActions
Installs the keyboard actions for the UI. |
protected void |
installListeners
Installs the event listeners for the UI. |
void |
installUI
Installs the UI. |
boolean |
isContinuousLayout
Determines wether the JSplitPane is set to use a continuous layout. |
void |
paint
Messaged to paint the look and feel. |
protected void |
resetLayoutManager
Resets the layout manager based on orientation and messages it with invalidateLayout to pull in appropriate Components. |
void |
resetToPreferredSizes
Messaged to reset the preferred sizes. |
void |
setContinuousLayout
Turn continuous layout on/off. |
void |
setDividerLocation
Sets the location of the divider to location. |
void |
setLastDragLocation
Set the last drag location of the JSplitPane. |
protected void |
setNonContinuousLayoutDivider
Sets the divider to use when the splitPane is configured to not continuously layout. |
protected void |
setNonContinuousLayoutDivider
Sets the divider to use. |
void |
setOrientation
Set the orientation for the JSplitPane. |
protected void |
startDragging
Should be messaged before the dragging session starts, resets lastDragLocation and dividerSize. |
protected void |
uninstallDefaults
  |