API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.metal. MetalSplitPaneUI View Source
Author(s)
Steve Wilson
Since
Version
1.11 11/17/05
Serial
Hierarchy
 Object
      ComponentUI
          SplitPaneUI
              BasicSplitPaneUI
                  MetalSplitPaneUI
Implements
Subclasses
Description
public class MetalSplitPaneUI
  Metal split pane.
See also:   
Constructors
public MetalSplitPaneUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
public BasicSplitPaneDivider createDefaultDivider () [Overrides BasicSplitPaneUI]
Creates the default divider.
protected Component createDefaultNonContinuousLayoutDivider () [Inherited From BasicSplitPaneUI]
Returns the default non continuous layout divider, which is an instanceof Canvas that fills the background in dark gray.
protected FocusListener createFocusListener () [Inherited From BasicSplitPaneUI]
Creates a FocusListener for the JSplitPane UI.
@Deprecated
protected ActionListener createKeyboardDownRightListener () [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this method is no longer used.
@Deprecated
protected ActionListener createKeyboardEndListener () [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this method is no longer used.
@Deprecated
protected ActionListener createKeyboardHomeListener () [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this method is no longer used.
@Deprecated
protected ActionListener createKeyboardResizeToggleListener () [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this method is no longer used.
@Deprecated
protected ActionListener createKeyboardUpLeftListener () [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this method is no longer used.
protected PropertyChangeListener createPropertyChangeListener () [Inherited From BasicSplitPaneUI]
Creates a PropertyChangeListener for the JSplitPane UI.
publicstatic ComponentUI createUI (JComponent x) [Overrides BasicSplitPaneUI]
Creates a new MetalSplitPaneUI instance
protected void dragDividerTo (int location) [Inherited From BasicSplitPaneUI]
  Messaged during a dragging session to move the divider to the passed in location.
protected void finishDraggingTo (int location) [Inherited From BasicSplitPaneUI]
  Messaged to finish the dragging session.
public void finishedPaintingChildren (JSplitPane jc, Graphics g) [Inherited From BasicSplitPaneUI] [Specified in SplitPaneUI]
Messaged after the JSplitPane the receiver is providing the look and feel for paints its children.
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height) [Inherited From ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
public BasicSplitPaneDivider getDivider () [Inherited From BasicSplitPaneUI]
Returns the divider between the top Components.
@Deprecated
protected int getDividerBorderSize () [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this method is no longer used.
public int getDividerLocation (JSplitPane jc) [Inherited From BasicSplitPaneUI] [Specified in SplitPaneUI]
Returns the location of the divider, which may differ from what the splitpane thinks the location of the divider is.
public Insets getInsets (JComponent jc) [Inherited From BasicSplitPaneUI]
  Returns the insets.
public int getLastDragLocation () [Inherited From BasicSplitPaneUI]
Returns the last drag location of the JSplitPane.
public int getMaximumDividerLocation (JSplitPane jc) [Inherited From BasicSplitPaneUI] [Specified in SplitPaneUI]
Gets the maximum location of the divider.
public Dimension getMaximumSize (JComponent jc) [Inherited From BasicSplitPaneUI]
Returns the maximum size for the passed in component, This is passed off to the current layoutmanager.
public int getMinimumDividerLocation (JSplitPane jc) [Inherited From BasicSplitPaneUI] [Specified in SplitPaneUI]
Gets the minimum location of the divider.
public Dimension getMinimumSize (JComponent jc) [Inherited From BasicSplitPaneUI]
Returns the minimum size for the passed in component, This is passed off to the current layoutmanager.
public Component getNonContinuousLayoutDivider () [Inherited From BasicSplitPaneUI]
  Returns the divider to use when the splitPane is configured to not continuously layout.
public int getOrientation () [Inherited From BasicSplitPaneUI]
Returns the orientation for the JSplitPane.
public Dimension getPreferredSize (JComponent jc) [Inherited From BasicSplitPaneUI]
Returns the preferred size for the passed in component, This is passed off to the current layoutmanager.
public JSplitPane getSplitPane () [Inherited From BasicSplitPaneUI]
Returns the splitpane this instance is currently contained in.
protected void installDefaults () [Inherited From BasicSplitPaneUI]
Installs the UI defaults.
protected void installKeyboardActions () [Inherited From BasicSplitPaneUI]
Installs the keyboard actions for the UI.
protected void installListeners () [Inherited From BasicSplitPaneUI]
Installs the event listeners for the UI.
public void installUI (JComponent c) [Inherited From BasicSplitPaneUI]
Installs the UI.
public boolean isContinuousLayout () [Inherited From BasicSplitPaneUI]
Determines wether the JSplitPane is set to use a continuous layout.
public void paint (Graphics g, JComponent jc) [Inherited From BasicSplitPaneUI]
Messaged to paint the look and feel.
protected void resetLayoutManager () [Inherited From BasicSplitPaneUI]
Resets the layout manager based on orientation and messages it with invalidateLayout to pull in appropriate Components.
public void resetToPreferredSizes (JSplitPane jc) [Inherited From BasicSplitPaneUI] [Specified in SplitPaneUI]
Messaged to reset the preferred sizes.
public void setContinuousLayout (boolean b) [Inherited From BasicSplitPaneUI]
Turn continuous layout on/off.
public void setDividerLocation (JSplitPane jc, int location) [Inherited From BasicSplitPaneUI] [Specified in SplitPaneUI]
Sets the location of the divider to location.
public void setLastDragLocation (int l) [Inherited From BasicSplitPaneUI]
Set the last drag location of the JSplitPane.
protected void setNonContinuousLayoutDivider (Component newDivider) [Inherited From BasicSplitPaneUI]
  Sets the divider to use when the splitPane is configured to not continuously layout.
protected void setNonContinuousLayoutDivider (Component newDivider, boolean rememberSizes) [Inherited From BasicSplitPaneUI]
Sets the divider to use.
public void setOrientation (int orientation) [Inherited From BasicSplitPaneUI]
Set the orientation for the JSplitPane.
protected void startDragging () [Inherited From BasicSplitPaneUI]
Should be messaged before the dragging session starts, resets lastDragLocation and dividerSize.
protected void uninstallDefaults () [Inherited From BasicSplitPaneUI]
Uninstalls the UI defaults.
protected void uninstallKeyboardActions () [Inherited From BasicSplitPaneUI]
Uninstalls the keyboard actions for the UI.
protected void uninstallListeners () [Inherited From BasicSplitPaneUI]
Uninstalls the event listeners for the UI.
public void uninstallUI (JComponent c) [Inherited From BasicSplitPaneUI]
Uninstalls the UI.
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
Fields
Hide/Show inherited fields
protected int beginDragDividerLocation [Inherited From BasicSplitPaneUI]
Location of the divider when the dragging session began.
protected BasicSplitPaneDivider divider [Inherited From BasicSplitPaneUI]
Instance of the divider for this JSplitPane.
@Deprecated
protected KeyStroke dividerResizeToggleKey [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected int dividerSize [Inherited From BasicSplitPaneUI]
The size of the divider while the dragging session is valid.
@Deprecated
protected KeyStroke downKey [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected boolean draggingHW [Inherited From BasicSplitPaneUI]
Set to true in startDragging if any of the children (not including the nonContinuousLayoutDivider) are heavy weights.
@Deprecated
protected KeyStroke endKey [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected FocusListener focusListener [Inherited From BasicSplitPaneUI]
Instance of the FocusListener for this JSplitPane.
@Deprecated
protected KeyStroke homeKey [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protectedstatic int KEYBOARD_DIVIDER_MOVE_OFFSET [Inherited From BasicSplitPaneUI]
How far (relative) the divider does move when it is moved around by the cursor keys on the keyboard.
@Deprecated
protected ActionListener keyboardDownRightListener [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
@Deprecated
protected ActionListener keyboardEndListener [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
@Deprecated
protected ActionListener keyboardHomeListener [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
@Deprecated
protected ActionListener keyboardResizeToggleListener [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
@Deprecated
protected ActionListener keyboardUpLeftListener [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected BasicHorizontalLayoutManager layoutManager [Inherited From BasicSplitPaneUI]
LayoutManager that is created and placed into the split pane.
@Deprecated
protected KeyStroke leftKey [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protectedfinalstatic String NON_CONTINUOUS_DIVIDER = "nonContinuousDivider" [Inherited From BasicSplitPaneUI]
The divider used for non-continuous layout is added to the split pane with this object.
protected Component nonContinuousLayoutDivider [Inherited From BasicSplitPaneUI]
Instance for the shadow of the divider when non continuous layout is being used.
protected PropertyChangeListener propertyChangeListener [Inherited From BasicSplitPaneUI]
Instance of the PropertyChangeListener for this JSplitPane.
@Deprecated
protected KeyStroke rightKey [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
protected JSplitPane splitPane [Inherited From BasicSplitPaneUI]
JSplitPane instance this instance is providing the look and feel for.
@Deprecated
protected KeyStroke upKey [Inherited From BasicSplitPaneUI]
  As of Java 2 platform v1.3 this previously undocumented field is no longer used.
Nested Classes
  BasicSplitPaneUI.PropertyHandler
Implementation of the PropertyChangeListener that the JSplitPane UI uses.
  BasicSplitPaneUI.FocusHandler
Implementation of the FocusListener that the JSplitPane UI uses.
  BasicSplitPaneUI.KeyboardUpLeftHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
  BasicSplitPaneUI.KeyboardDownRightHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
  BasicSplitPaneUI.KeyboardHomeHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
  BasicSplitPaneUI.KeyboardEndHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
  BasicSplitPaneUI.KeyboardResizeToggleHandler
Implementation of an ActionListener that the JSplitPane UI uses for handling specific key presses.
  BasicSplitPaneUI.BasicHorizontalLayoutManager
LayoutManager for JSplitPanes that have an orientation of HORIZONTAL_SPLIT.
  BasicSplitPaneUI.BasicVerticalLayoutManager
LayoutManager used for JSplitPanes with an orientation of VERTICAL_SPLIT.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar