javax.swing.plaf.metal
Class MetalSplitPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.SplitPaneUI
          extended by javax.swing.plaf.basic.BasicSplitPaneUI
              extended by javax.swing.plaf.metal.MetalSplitPaneUI

public class MetalSplitPaneUI
extends BasicSplitPaneUI

A UI delegate for the JSplitPane component.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicSplitPaneUI
BasicSplitPaneUI.BasicHorizontalLayoutManager, BasicSplitPaneUI.BasicVerticalLayoutManager, BasicSplitPaneUI.FocusHandler, BasicSplitPaneUI.KeyboardDownRightHandler, BasicSplitPaneUI.KeyboardEndHandler, BasicSplitPaneUI.KeyboardHomeHandler, BasicSplitPaneUI.KeyboardResizeToggleHandler, BasicSplitPaneUI.KeyboardUpLeftHandler, BasicSplitPaneUI.PropertyHandler
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicSplitPaneUI
beginDragDividerLocation, divider, dividerResizeToggleKey, dividerSize, downKey, draggingHW, endKey, focusListener, homeKey, KEYBOARD_DIVIDER_MOVE_OFFSET, keyboardDownRightListener, keyboardEndListener, keyboardHomeListener, keyboardResizeToggleListener, keyboardUpLeftListener, layoutManager, leftKey, NON_CONTINUOUS_DIVIDER, nonContinuousLayoutDivider, propertyChangeListener, rightKey, splitPane, upKey
 
Constructor Summary
MetalSplitPaneUI()
          Constructs a new instance of MetalSplitPaneUI.
 
Method Summary
 BasicSplitPaneDivider createDefaultDivider()
          Returns the divider that is used by the JSplitPane.
static ComponentUI createUI(JComponent component)
          Returns a new instance of MetalSplitPaneUI.
 
Methods inherited from class javax.swing.plaf.basic.BasicSplitPaneUI
createDefaultNonContinuousLayoutDivider, createFocusListener, createKeyboardDownRightListener, createKeyboardEndListener, createKeyboardHomeListener, createKeyboardResizeToggleListener, createKeyboardUpLeftListener, createPropertyChangeListener, dragDividerTo, finishDraggingTo, finishedPaintingChildren, getDivider, getDividerBorderSize, getDividerLocation, getInsets, getLastDragLocation, getMaximumDividerLocation, getMaximumSize, getMinimumDividerLocation, getMinimumSize, getNonContinuousLayoutDivider, getOrientation, getPreferredSize, getSplitPane, installDefaults, installKeyboardActions, installListeners, installUI, isContinuousLayout, paint, resetLayoutManager, resetToPreferredSizes, setContinuousLayout, setDividerLocation, setLastDragLocation, setNonContinuousLayoutDivider, setNonContinuousLayoutDivider, setOrientation, startDragging, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetalSplitPaneUI

public MetalSplitPaneUI()
Constructs a new instance of MetalSplitPaneUI.

Method Detail

createUI

public static ComponentUI createUI(JComponent component)
Returns a new instance of MetalSplitPaneUI.

Parameters:
component - the component for which we return an UI instance
Returns:
A new instance of MetalSplitPaneUI.

createDefaultDivider

public BasicSplitPaneDivider createDefaultDivider()
Returns the divider that is used by the JSplitPane. The divider returned by this method is a BasicSplitPaneDivider that is drawn using the Metal look.

Overrides:
createDefaultDivider in class BasicSplitPaneUI
Returns:
the default divider to use for JSplitPanes.