com.jgoodies.plaf.plastic
Class PlasticSplitPaneUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.SplitPaneUI
          extended byjavax.swing.plaf.basic.BasicSplitPaneUI
              extended bycom.jgoodies.plaf.plastic.PlasticSplitPaneUI

public final class PlasticSplitPaneUI
extends BasicSplitPaneUI

The JGoodies Plastic Look and Feel implementation of SplitPaneUI.

It can replace obsolete Borders and uses a special divider, that paints a single drag handle instead of many bumps.

Author:
Karsten Lentzsch

Nested Class Summary
 
Nested classes 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
PlasticSplitPaneUI()
           
 
Method Summary
 BasicSplitPaneDivider createDefaultDivider()
           
static ComponentUI createUI(JComponent x)
           
 void paint(Graphics g, JComponent c)
          Replaces the scrollpane's Border if appropriate, then paints.
protected  void uninstallDefaults()
          Restores the original Border, in case we replaced it.
 
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, resetLayoutManager, resetToPreferredSizes, setContinuousLayout, setDividerLocation, setLastDragLocation, setNonContinuousLayoutDivider, setNonContinuousLayoutDivider, setOrientation, startDragging, 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

PlasticSplitPaneUI

public PlasticSplitPaneUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent x)

createDefaultDivider

public BasicSplitPaneDivider createDefaultDivider()

paint

public void paint(Graphics g,
                  JComponent c)
Replaces the scrollpane's Border if appropriate, then paints.


uninstallDefaults

protected void uninstallDefaults()
Restores the original Border, in case we replaced it.



Copyright © 2001-2004 JGoodies Karsten Lentzsch. All Rights Reserved.