javax.swing.plaf.metal
Class MetalSplitPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SplitPaneUI
javax.swing.plaf.basic.BasicSplitPaneUI
javax.swing.plaf.metal.MetalSplitPaneUI
public class MetalSplitPaneUI
- extends BasicSplitPaneUI
A UI delegate for the JSplitPane
component.
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 . |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetalSplitPaneUI
public MetalSplitPaneUI()
- Constructs a new instance of
MetalSplitPaneUI
.
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
JSplitPane
s.