javax.swing.plaf.basic
Class BasicSplitPaneUI

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI 
      extended by javax.swing.plaf.SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI 
          extended by javax.swing.plaf.basic.BasicSplitPaneUI
Direct Known Subclasses:
MetalSplitPaneUI sample code for javax.swing.plaf.metal.MetalSplitPaneUI definition code for javax.swing.plaf.metal.MetalSplitPaneUI

public class BasicSplitPaneUI
extends SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI

A Basic L&F implementation of the SplitPaneUI.


Nested Class Summary
 class BasicSplitPaneUI.BasicHorizontalLayoutManager sample code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager definition code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager
          LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT.
 class BasicSplitPaneUI.BasicVerticalLayoutManager sample code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicVerticalLayoutManager definition code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicVerticalLayoutManager
          LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT.
 class BasicSplitPaneUI.FocusHandler sample code for javax.swing.plaf.basic.BasicSplitPaneUI.FocusHandler definition code for javax.swing.plaf.basic.BasicSplitPaneUI.FocusHandler
          Implementation of the FocusListener that the JSplitPane UI uses.
 class BasicSplitPaneUI.KeyboardDownRightHandler sample code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardDownRightHandler definition code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardDownRightHandler
          Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
 class BasicSplitPaneUI.KeyboardEndHandler sample code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardEndHandler definition code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardEndHandler
          Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
 class BasicSplitPaneUI.KeyboardHomeHandler sample code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardHomeHandler definition code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardHomeHandler
          Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
 class BasicSplitPaneUI.KeyboardResizeToggleHandler sample code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardResizeToggleHandler definition code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardResizeToggleHandler
          Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
 class BasicSplitPaneUI.KeyboardUpLeftHandler sample code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardUpLeftHandler definition code for javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardUpLeftHandler
          Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
 class BasicSplitPaneUI.PropertyHandler sample code for javax.swing.plaf.basic.BasicSplitPaneUI.PropertyHandler definition code for javax.swing.plaf.basic.BasicSplitPaneUI.PropertyHandler
          Implementation of the PropertyChangeListener that the JSplitPane UI uses.
 
Field Summary
protected  int beginDragDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.beginDragDividerLocation definition code for javax.swing.plaf.basic.BasicSplitPaneUI.beginDragDividerLocation
          Location of the divider when the dragging session began.
protected  BasicSplitPaneDivider sample code for javax.swing.plaf.basic.BasicSplitPaneDivider definition code for javax.swing.plaf.basic.BasicSplitPaneDivider divider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.divider definition code for javax.swing.plaf.basic.BasicSplitPaneUI.divider
          Instance of the divider for this JSplitPane.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke dividerResizeToggleKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.dividerResizeToggleKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.dividerResizeToggleKey
          Deprecated. As of Java 2 platform v1.3.
protected  int dividerSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.dividerSize definition code for javax.swing.plaf.basic.BasicSplitPaneUI.dividerSize
          The size of the divider while the dragging session is valid.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke downKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.downKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.downKey
          Deprecated. As of Java 2 platform v1.3.
protected  boolean draggingHW sample code for javax.swing.plaf.basic.BasicSplitPaneUI.draggingHW definition code for javax.swing.plaf.basic.BasicSplitPaneUI.draggingHW
          Set to true in startDragging if any of the children (not including the nonContinuousLayoutDivider) are heavy weights.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke endKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.endKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.endKey
          Deprecated. As of Java 2 platform v1.3.
protected  FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener focusListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.focusListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.focusListener
          Instance of the FocusListener for this JSplitPane.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke homeKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.homeKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.homeKey
          Deprecated. As of Java 2 platform v1.3.
protected static int KEYBOARD_DIVIDER_MOVE_OFFSET sample code for javax.swing.plaf.basic.BasicSplitPaneUI.KEYBOARD_DIVIDER_MOVE_OFFSET definition code for javax.swing.plaf.basic.BasicSplitPaneUI.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 sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener keyboardDownRightListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardDownRightListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardDownRightListener
          Deprecated. As of Java 2 platform v1.3.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener keyboardEndListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardEndListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardEndListener
          Deprecated. As of Java 2 platform v1.3.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener keyboardHomeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardHomeListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardHomeListener
          Deprecated. As of Java 2 platform v1.3.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener keyboardResizeToggleListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardResizeToggleListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardResizeToggleListener
          Deprecated. As of Java 2 platform v1.3.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener keyboardUpLeftListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardUpLeftListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardUpLeftListener
          Deprecated. As of Java 2 platform v1.3.
protected  BasicSplitPaneUI.BasicHorizontalLayoutManager sample code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager definition code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager layoutManager sample code for javax.swing.plaf.basic.BasicSplitPaneUI.layoutManager definition code for javax.swing.plaf.basic.BasicSplitPaneUI.layoutManager
          LayoutManager that is created and placed into the split pane.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke leftKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.leftKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.leftKey
          Deprecated. As of Java 2 platform v1.3.
protected static String sample code for java.lang.String definition code for java.lang.String NON_CONTINUOUS_DIVIDER sample code for javax.swing.plaf.basic.BasicSplitPaneUI.NON_CONTINUOUS_DIVIDER definition code for javax.swing.plaf.basic.BasicSplitPaneUI.NON_CONTINUOUS_DIVIDER
          The divider used for non-continuous layout is added to the split pane with this object.
protected  Component sample code for java.awt.Component definition code for java.awt.Component nonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.nonContinuousLayoutDivider definition code for javax.swing.plaf.basic.BasicSplitPaneUI.nonContinuousLayoutDivider
          Instance for the shadow of the divider when non continuous layout is being used.
protected  PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener propertyChangeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.propertyChangeListener definition code for javax.swing.plaf.basic.BasicSplitPaneUI.propertyChangeListener
          Instance of the PropertyChangeListener for this JSplitPane.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke rightKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.rightKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.rightKey
          Deprecated. As of Java 2 platform v1.3.
protected  JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane splitPane sample code for javax.swing.plaf.basic.BasicSplitPaneUI.splitPane definition code for javax.swing.plaf.basic.BasicSplitPaneUI.splitPane
          JSplitPane instance this instance is providing the look and feel for.
protected  KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.KeyStroke upKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.upKey definition code for javax.swing.plaf.basic.BasicSplitPaneUI.upKey
          Deprecated. As of Java 2 platform v1.3.
 
Constructor Summary
BasicSplitPaneUI sample code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicSplitPaneUI() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicSplitPaneUI() ()
           
 
Method Summary
 BasicSplitPaneDivider sample code for javax.swing.plaf.basic.BasicSplitPaneDivider definition code for javax.swing.plaf.basic.BasicSplitPaneDivider createDefaultDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createDefaultDivider() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createDefaultDivider() ()
          Creates the default divider.
protected  Component sample code for java.awt.Component definition code for java.awt.Component createDefaultNonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider() ()
          Returns the default non continuous layout divider, which is an instanceof Canvas that fills the background in dark gray.
protected  FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener createFocusListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createFocusListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createFocusListener() ()
          Creates a FocusListener for the JSplitPane UI.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener createKeyboardDownRightListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardDownRightListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardDownRightListener() ()
          Deprecated. As of Java 2 platform v1.3.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener createKeyboardEndListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardEndListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardEndListener() ()
          Deprecated. As of Java 2 platform v1.3.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener createKeyboardHomeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardHomeListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardHomeListener() ()
          Deprecated. As of Java 2 platform v1.3.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener createKeyboardResizeToggleListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardResizeToggleListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardResizeToggleListener() ()
          Deprecated. As of Java 2 platform v1.3.
protected  ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener createKeyboardUpLeftListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardUpLeftListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardUpLeftListener() ()
          Deprecated. As of Java 2 platform v1.3.
protected  PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener createPropertyChangeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createPropertyChangeListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createPropertyChangeListener() ()
          Creates a PropertyChangeListener for the JSplitPane UI.
static ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI createUI sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createUI(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  x)
          Creates a new BasicSplitPaneUI instance
protected  void dragDividerTo sample code for javax.swing.plaf.basic.BasicSplitPaneUI.dragDividerTo(int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.dragDividerTo(int) (int location)
          Messaged during a dragging session to move the divider to the passed in location.
protected  void finishDraggingTo sample code for javax.swing.plaf.basic.BasicSplitPaneUI.finishDraggingTo(int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.finishDraggingTo(int) (int location)
          Messaged to finish the dragging session.
 void finishedPaintingChildren sample code for javax.swing.plaf.basic.BasicSplitPaneUI.finishedPaintingChildren(javax.swing.JSplitPane, java.awt.Graphics) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.finishedPaintingChildren(javax.swing.JSplitPane, java.awt.Graphics) (JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc, Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)
          Messaged after the JSplitPane the receiver is providing the look and feel for paints its children.
 BasicSplitPaneDivider sample code for javax.swing.plaf.basic.BasicSplitPaneDivider definition code for javax.swing.plaf.basic.BasicSplitPaneDivider getDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getDivider() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getDivider() ()
          Returns the divider between the top Components.
protected  int getDividerBorderSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getDividerBorderSize() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getDividerBorderSize() ()
          Deprecated. As of Java 2 platform v1.3, instead set the border on the divider.
 int getDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getDividerLocation(javax.swing.JSplitPane) (JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc)
          Returns the location of the divider, which may differ from what the splitpane thinks the location of the divider is.
 Insets sample code for java.awt.Insets definition code for java.awt.Insets getInsets sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getInsets(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getInsets(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
          Returns the insets.
 int getLastDragLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() ()
          Returns the last drag location of the JSplitPane.
 int getMaximumDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getMaximumDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getMaximumDividerLocation(javax.swing.JSplitPane) (JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc)
          Gets the maximum location of the divider.
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getMaximumSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getMaximumSize(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
          Returns the maximum size for the passed in component, This is passed off to the current layoutmanager.
 int getMinimumDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumDividerLocation(javax.swing.JSplitPane) (JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc)
          Gets the minimum location of the divider.
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getMinimumSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumSize(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
          Returns the minimum size for the passed in component, This is passed off to the current layoutmanager.
 Component sample code for java.awt.Component definition code for java.awt.Component getNonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getNonContinuousLayoutDivider() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getNonContinuousLayoutDivider() ()
          Returns the divider to use when the splitPane is configured to not continuously layout.
 int getOrientation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getOrientation() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getOrientation() ()
          Returns the orientation for the JSplitPane.
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getPreferredSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getPreferredSize(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
          Returns the preferred size for the passed in component, This is passed off to the current layoutmanager.
 JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane getSplitPane sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getSplitPane() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getSplitPane() ()
          Returns the splitpane this instance is currently contained in.
protected  void installDefaults sample code for javax.swing.plaf.basic.BasicSplitPaneUI.installDefaults() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.installDefaults() ()
          Installs the UI defaults.
protected  void installKeyboardActions sample code for javax.swing.plaf.basic.BasicSplitPaneUI.installKeyboardActions() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.installKeyboardActions() ()
          Installs the keyboard actions for the UI.
protected  void installListeners sample code for javax.swing.plaf.basic.BasicSplitPaneUI.installListeners() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.installListeners() ()
          Installs the event listeners for the UI.
 void installUI sample code for javax.swing.plaf.basic.BasicSplitPaneUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.installUI(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Installs the UI.
 boolean isContinuousLayout sample code for javax.swing.plaf.basic.BasicSplitPaneUI.isContinuousLayout() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.isContinuousLayout() ()
          Determines wether the JSplitPane is set to use a continuous layout.
 void paint sample code for javax.swing.plaf.basic.BasicSplitPaneUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.paint(java.awt.Graphics, javax.swing.JComponent) (Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g, JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
          Messaged to paint the look and feel.
protected  void resetLayoutManager sample code for javax.swing.plaf.basic.BasicSplitPaneUI.resetLayoutManager() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.resetLayoutManager() ()
          Resets the layout manager based on orientation and messages it with invalidateLayout to pull in appropriate Components.
 void resetToPreferredSizes sample code for javax.swing.plaf.basic.BasicSplitPaneUI.resetToPreferredSizes(javax.swing.JSplitPane) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.resetToPreferredSizes(javax.swing.JSplitPane) (JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc)
          Messaged to reset the preferred sizes.
 void setContinuousLayout sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setContinuousLayout(boolean) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setContinuousLayout(boolean) (boolean b)
          Turn continuous layout on/off.
 void setDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setDividerLocation(javax.swing.JSplitPane, int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setDividerLocation(javax.swing.JSplitPane, int) (JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc, int location)
          Sets the location of the divider to location.
 void setLastDragLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setLastDragLocation(int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setLastDragLocation(int) (int l)
          Set the last drag location of the JSplitPane.
protected  void setNonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setNonContinuousLayoutDivider(java.awt.Component) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setNonContinuousLayoutDivider(java.awt.Component) (Component sample code for java.awt.Component definition code for java.awt.Component  newDivider)
          Sets the divider to use when the splitPane is configured to not continuously layout.
protected  void setNonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setNonContinuousLayoutDivider(java.awt.Component, boolean) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setNonContinuousLayoutDivider(java.awt.Component, boolean) (Component sample code for java.awt.Component definition code for java.awt.Component  newDivider, boolean rememberSizes)
          Sets the divider to use.
 void setOrientation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setOrientation(int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setOrientation(int) (int orientation)
          Set the orientation for the JSplitPane.
protected  void startDragging sample code for javax.swing.plaf.basic.BasicSplitPaneUI.startDragging() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.startDragging() ()
          Should be messaged before the dragging session starts, resets lastDragLocation and dividerSize.
protected  void uninstallDefaults sample code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallDefaults() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallDefaults() ()
          Uninstalls the UI defaults.
protected  void uninstallKeyboardActions sample code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallKeyboardActions() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallKeyboardActions() ()
          Uninstalls the keyboard actions for the UI.
protected  void uninstallListeners sample code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallListeners() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallListeners() ()
          Uninstalls the event listeners for the UI.
 void uninstallUI sample code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallUI(javax.swing.JComponent) (JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
          Uninstalls the UI.
 
Methods inherited from class javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
contains sample code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) definition code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) , getAccessibleChild sample code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) definition code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) , getAccessibleChildrenCount sample code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) , update sample code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

NON_CONTINUOUS_DIVIDER sample code for javax.swing.plaf.basic.BasicSplitPaneUI.NON_CONTINUOUS_DIVIDER

protected static final String sample code for java.lang.String definition code for java.lang.String  NON_CONTINUOUS_DIVIDER
The divider used for non-continuous layout is added to the split pane with this object.

See Also:
Constant Field Values

KEYBOARD_DIVIDER_MOVE_OFFSET sample code for javax.swing.plaf.basic.BasicSplitPaneUI.KEYBOARD_DIVIDER_MOVE_OFFSET

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.


splitPane sample code for javax.swing.plaf.basic.BasicSplitPaneUI.splitPane

protected JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  splitPane
JSplitPane instance this instance is providing the look and feel for.


layoutManager sample code for javax.swing.plaf.basic.BasicSplitPaneUI.layoutManager

protected BasicSplitPaneUI.BasicHorizontalLayoutManager sample code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager definition code for javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager  layoutManager
LayoutManager that is created and placed into the split pane.


divider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.divider

protected BasicSplitPaneDivider sample code for javax.swing.plaf.basic.BasicSplitPaneDivider definition code for javax.swing.plaf.basic.BasicSplitPaneDivider  divider
Instance of the divider for this JSplitPane.


propertyChangeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.propertyChangeListener

protected PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  propertyChangeListener
Instance of the PropertyChangeListener for this JSplitPane.


focusListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.focusListener

protected FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  focusListener
Instance of the FocusListener for this JSplitPane.


dividerSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.dividerSize

protected int dividerSize
The size of the divider while the dragging session is valid.


nonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.nonContinuousLayoutDivider

protected Component sample code for java.awt.Component definition code for java.awt.Component  nonContinuousLayoutDivider
Instance for the shadow of the divider when non continuous layout is being used.


draggingHW sample code for javax.swing.plaf.basic.BasicSplitPaneUI.draggingHW

protected boolean draggingHW
Set to true in startDragging if any of the children (not including the nonContinuousLayoutDivider) are heavy weights.


beginDragDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.beginDragDividerLocation

protected int beginDragDividerLocation
Location of the divider when the dragging session began.


upKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.upKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


downKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.downKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


leftKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.leftKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


rightKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.rightKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


homeKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.homeKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


endKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.endKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


dividerResizeToggleKey sample code for javax.swing.plaf.basic.BasicSplitPaneUI.dividerResizeToggleKey

@Deprecated
protected KeyStroke sample code for javax.swing.KeyStroke definition code for javax.swing.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


keyboardUpLeftListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardUpLeftListener

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


keyboardDownRightListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardDownRightListener

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


keyboardHomeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardHomeListener

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


keyboardEndListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardEndListener

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.


keyboardResizeToggleListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.keyboardResizeToggleListener

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.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. Key bindings are now defined by the LookAndFeel, please refer to the key bindings specification for further details.

Constructor Detail

BasicSplitPaneUI sample code for javax.swing.plaf.basic.BasicSplitPaneUI() definition code for javax.swing.plaf.basic.BasicSplitPaneUI()

public BasicSplitPaneUI()
Method Detail

createUI sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createUI(javax.swing.JComponent)

public static ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI  createUI(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  x)
Creates a new BasicSplitPaneUI instance


installUI sample code for javax.swing.plaf.basic.BasicSplitPaneUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.installUI(javax.swing.JComponent)

public void installUI(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Installs the UI.

Overrides:
installUI sample code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
c - the component where this UI delegate is being installed
See Also:
ComponentUI.uninstallUI(javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) , JComponent.setUI(javax.swing.plaf.ComponentUI) sample code for javax.swing.JComponent.setUI(javax.swing.plaf.ComponentUI) definition code for javax.swing.JComponent.setUI(javax.swing.plaf.ComponentUI) , JComponent.updateUI() sample code for javax.swing.JComponent.updateUI() definition code for javax.swing.JComponent.updateUI()

installDefaults sample code for javax.swing.plaf.basic.BasicSplitPaneUI.installDefaults() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.installDefaults()

protected void installDefaults()
Installs the UI defaults.


installListeners sample code for javax.swing.plaf.basic.BasicSplitPaneUI.installListeners() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.installListeners()

protected void installListeners()
Installs the event listeners for the UI.


installKeyboardActions sample code for javax.swing.plaf.basic.BasicSplitPaneUI.installKeyboardActions() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.installKeyboardActions()

protected void installKeyboardActions()
Installs the keyboard actions for the UI.


uninstallUI sample code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallUI(javax.swing.JComponent)

public void uninstallUI(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  c)
Uninstalls the UI.

Overrides:
uninstallUI sample code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
c - the component from which this UI delegate is being removed; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
ComponentUI.installUI(javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) , JComponent.updateUI() sample code for javax.swing.JComponent.updateUI() definition code for javax.swing.JComponent.updateUI()

uninstallDefaults sample code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallDefaults() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallDefaults()

protected void uninstallDefaults()
Uninstalls the UI defaults.


uninstallListeners sample code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallListeners() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallListeners()

protected void uninstallListeners()
Uninstalls the event listeners for the UI.


uninstallKeyboardActions sample code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallKeyboardActions() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.uninstallKeyboardActions()

protected void uninstallKeyboardActions()
Uninstalls the keyboard actions for the UI.


createPropertyChangeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createPropertyChangeListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createPropertyChangeListener()

protected PropertyChangeListener sample code for java.beans.PropertyChangeListener definition code for java.beans.PropertyChangeListener  createPropertyChangeListener()
Creates a PropertyChangeListener for the JSplitPane UI.


createFocusListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createFocusListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createFocusListener()

protected FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  createFocusListener()
Creates a FocusListener for the JSplitPane UI.


createKeyboardUpLeftListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardUpLeftListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardUpLeftListener()

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  createKeyboardUpLeftListener()
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener, and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses.


createKeyboardDownRightListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardDownRightListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardDownRightListener()

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  createKeyboardDownRightListener()
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener, and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses.


createKeyboardHomeListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardHomeListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardHomeListener()

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  createKeyboardHomeListener()
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener, and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses.


createKeyboardEndListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardEndListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardEndListener()

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  createKeyboardEndListener()
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener, and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses.


createKeyboardResizeToggleListener sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardResizeToggleListener() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createKeyboardResizeToggleListener()

@Deprecated
protected ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  createKeyboardResizeToggleListener()
Deprecated. As of Java 2 platform v1.3.

As of Java 2 platform v1.3 this method is no longer used. Subclassers previously using this method should instead create an Action wrapping the ActionListener, and register that Action by overriding installKeyboardActions and placing the Action in the SplitPane's ActionMap. Please refer to the key bindings specification for further details.

Creates a ActionListener for the JSplitPane UI that listens for specific key presses.


getOrientation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getOrientation() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getOrientation()

public int getOrientation()
Returns the orientation for the JSplitPane.


setOrientation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setOrientation(int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setOrientation(int)

public void setOrientation(int orientation)
Set the orientation for the JSplitPane.


isContinuousLayout sample code for javax.swing.plaf.basic.BasicSplitPaneUI.isContinuousLayout() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.isContinuousLayout()

public boolean isContinuousLayout()
Determines wether the JSplitPane is set to use a continuous layout.


setContinuousLayout sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setContinuousLayout(boolean) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setContinuousLayout(boolean)

public void setContinuousLayout(boolean b)
Turn continuous layout on/off.


getLastDragLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getLastDragLocation()

public int getLastDragLocation()
Returns the last drag location of the JSplitPane.


setLastDragLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setLastDragLocation(int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setLastDragLocation(int)

public void setLastDragLocation(int l)
Set the last drag location of the JSplitPane.


getDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getDivider() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getDivider()

public BasicSplitPaneDivider sample code for javax.swing.plaf.basic.BasicSplitPaneDivider definition code for javax.swing.plaf.basic.BasicSplitPaneDivider  getDivider()
Returns the divider between the top Components.


createDefaultNonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createDefaultNonContinuousLayoutDivider()

protected Component sample code for java.awt.Component definition code for java.awt.Component  createDefaultNonContinuousLayoutDivider()
Returns the default non continuous layout divider, which is an instanceof Canvas that fills the background in dark gray.


setNonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setNonContinuousLayoutDivider(java.awt.Component) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setNonContinuousLayoutDivider(java.awt.Component)

protected void setNonContinuousLayoutDivider(Component sample code for java.awt.Component definition code for java.awt.Component  newDivider)
Sets the divider to use when the splitPane is configured to not continuously layout. This divider will only be used during a dragging session. It is recommended that the passed in component be a heavy weight.


setNonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setNonContinuousLayoutDivider(java.awt.Component, boolean) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setNonContinuousLayoutDivider(java.awt.Component, boolean)

protected void setNonContinuousLayoutDivider(Component sample code for java.awt.Component definition code for java.awt.Component  newDivider,
                                             boolean rememberSizes)
Sets the divider to use.


getNonContinuousLayoutDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getNonContinuousLayoutDivider() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getNonContinuousLayoutDivider()

public Component sample code for java.awt.Component definition code for java.awt.Component  getNonContinuousLayoutDivider()
Returns the divider to use when the splitPane is configured to not continuously layout. This divider will only be used during a dragging session.


getSplitPane sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getSplitPane() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getSplitPane()

public JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  getSplitPane()
Returns the splitpane this instance is currently contained in.


createDefaultDivider sample code for javax.swing.plaf.basic.BasicSplitPaneUI.createDefaultDivider() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.createDefaultDivider()

public BasicSplitPaneDivider sample code for javax.swing.plaf.basic.BasicSplitPaneDivider definition code for javax.swing.plaf.basic.BasicSplitPaneDivider  createDefaultDivider()
Creates the default divider.


resetToPreferredSizes sample code for javax.swing.plaf.basic.BasicSplitPaneUI.resetToPreferredSizes(javax.swing.JSplitPane) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.resetToPreferredSizes(javax.swing.JSplitPane)

public void resetToPreferredSizes(JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc)
Messaged to reset the preferred sizes.

Specified by:
resetToPreferredSizes sample code for javax.swing.plaf.SplitPaneUI.resetToPreferredSizes(javax.swing.JSplitPane) definition code for javax.swing.plaf.SplitPaneUI.resetToPreferredSizes(javax.swing.JSplitPane) in class SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI

setDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.setDividerLocation(javax.swing.JSplitPane, int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.setDividerLocation(javax.swing.JSplitPane, int)

public void setDividerLocation(JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc,
                               int location)
Sets the location of the divider to location.

Specified by:
setDividerLocation sample code for javax.swing.plaf.SplitPaneUI.setDividerLocation(javax.swing.JSplitPane, int) definition code for javax.swing.plaf.SplitPaneUI.setDividerLocation(javax.swing.JSplitPane, int) in class SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI

getDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getDividerLocation(javax.swing.JSplitPane)

public int getDividerLocation(JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc)
Returns the location of the divider, which may differ from what the splitpane thinks the location of the divider is.

Specified by:
getDividerLocation sample code for javax.swing.plaf.SplitPaneUI.getDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.SplitPaneUI.getDividerLocation(javax.swing.JSplitPane) in class SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI

getMinimumDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumDividerLocation(javax.swing.JSplitPane)

public int getMinimumDividerLocation(JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc)
Gets the minimum location of the divider.

Specified by:
getMinimumDividerLocation sample code for javax.swing.plaf.SplitPaneUI.getMinimumDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.SplitPaneUI.getMinimumDividerLocation(javax.swing.JSplitPane) in class SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI

getMaximumDividerLocation sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getMaximumDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getMaximumDividerLocation(javax.swing.JSplitPane)

public int getMaximumDividerLocation(JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc)
Gets the maximum location of the divider.

Specified by:
getMaximumDividerLocation sample code for javax.swing.plaf.SplitPaneUI.getMaximumDividerLocation(javax.swing.JSplitPane) definition code for javax.swing.plaf.SplitPaneUI.getMaximumDividerLocation(javax.swing.JSplitPane) in class SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI

finishedPaintingChildren sample code for javax.swing.plaf.basic.BasicSplitPaneUI.finishedPaintingChildren(javax.swing.JSplitPane, java.awt.Graphics) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.finishedPaintingChildren(javax.swing.JSplitPane, java.awt.Graphics)

public void finishedPaintingChildren(JSplitPane sample code for javax.swing.JSplitPane definition code for javax.swing.JSplitPane  jc,
                                     Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)
Messaged after the JSplitPane the receiver is providing the look and feel for paints its children.

Specified by:
finishedPaintingChildren sample code for javax.swing.plaf.SplitPaneUI.finishedPaintingChildren(javax.swing.JSplitPane, java.awt.Graphics) definition code for javax.swing.plaf.SplitPaneUI.finishedPaintingChildren(javax.swing.JSplitPane, java.awt.Graphics) in class SplitPaneUI sample code for javax.swing.plaf.SplitPaneUI definition code for javax.swing.plaf.SplitPaneUI

paint sample code for javax.swing.plaf.basic.BasicSplitPaneUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.paint(java.awt.Graphics, javax.swing.JComponent)

public void paint(Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g,
                  JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
Messaged to paint the look and feel.

Overrides:
paint sample code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
g - the Graphics context in which to paint
jc - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)

getPreferredSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getPreferredSize(javax.swing.JComponent)

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getPreferredSize(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
Returns the preferred size for the passed in component, This is passed off to the current layoutmanager.

Overrides:
getPreferredSize sample code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
jc - the component whose preferred size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
JComponent.getPreferredSize() sample code for javax.swing.JComponent.getPreferredSize() definition code for javax.swing.JComponent.getPreferredSize() , LayoutManager.preferredLayoutSize(java.awt.Container) sample code for java.awt.LayoutManager.preferredLayoutSize(java.awt.Container) definition code for java.awt.LayoutManager.preferredLayoutSize(java.awt.Container)

getMinimumSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getMinimumSize(javax.swing.JComponent)

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getMinimumSize(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
Returns the minimum size for the passed in component, This is passed off to the current layoutmanager.

Overrides:
getMinimumSize sample code for javax.swing.plaf.ComponentUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMinimumSize(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
jc - the component whose minimum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
Returns:
a Dimension object or null
See Also:
JComponent.getMinimumSize() sample code for javax.swing.JComponent.getMinimumSize() definition code for javax.swing.JComponent.getMinimumSize() , LayoutManager.minimumLayoutSize(java.awt.Container) sample code for java.awt.LayoutManager.minimumLayoutSize(java.awt.Container) definition code for java.awt.LayoutManager.minimumLayoutSize(java.awt.Container) , ComponentUI.getPreferredSize(javax.swing.JComponent) sample code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent)

getMaximumSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getMaximumSize(javax.swing.JComponent)

public Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getMaximumSize(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
Returns the maximum size for the passed in component, This is passed off to the current layoutmanager.

Overrides:
getMaximumSize sample code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent) in class ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
Parameters:
jc - the component whose maximum size is being queried; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
Returns:
a Dimension object or null
See Also:
JComponent.getMaximumSize() sample code for javax.swing.JComponent.getMaximumSize() definition code for javax.swing.JComponent.getMaximumSize() , LayoutManager2.maximumLayoutSize(java.awt.Container) sample code for java.awt.LayoutManager2.maximumLayoutSize(java.awt.Container) definition code for java.awt.LayoutManager2.maximumLayoutSize(java.awt.Container)

getInsets sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getInsets(javax.swing.JComponent) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getInsets(javax.swing.JComponent)

public Insets sample code for java.awt.Insets definition code for java.awt.Insets  getInsets(JComponent sample code for javax.swing.JComponent definition code for javax.swing.JComponent  jc)
Returns the insets. The insets are returned from the border insets of the current border.


resetLayoutManager sample code for javax.swing.plaf.basic.BasicSplitPaneUI.resetLayoutManager() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.resetLayoutManager()

protected void resetLayoutManager()
Resets the layout manager based on orientation and messages it with invalidateLayout to pull in appropriate Components.


startDragging sample code for javax.swing.plaf.basic.BasicSplitPaneUI.startDragging() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.startDragging()

protected void startDragging()
Should be messaged before the dragging session starts, resets lastDragLocation and dividerSize.


dragDividerTo sample code for javax.swing.plaf.basic.BasicSplitPaneUI.dragDividerTo(int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.dragDividerTo(int)

protected void dragDividerTo(int location)
Messaged during a dragging session to move the divider to the passed in location. If continuousLayout is true the location is reset and the splitPane validated.


finishDraggingTo sample code for javax.swing.plaf.basic.BasicSplitPaneUI.finishDraggingTo(int) definition code for javax.swing.plaf.basic.BasicSplitPaneUI.finishDraggingTo(int)

protected void finishDraggingTo(int location)
Messaged to finish the dragging session. If not continuous display the dividers location will be reset.


getDividerBorderSize sample code for javax.swing.plaf.basic.BasicSplitPaneUI.getDividerBorderSize() definition code for javax.swing.plaf.basic.BasicSplitPaneUI.getDividerBorderSize()

@Deprecated
protected int getDividerBorderSize()
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. Instead you should set the border on the divider.

Returns the width of one side of the divider border.