JSplitPane (Java Platform SE 8 ) (original) (raw)
Modifier and Type
Method
Description
protected void
[addImpl](../../javax/swing/JSplitPane.html#addImpl-java.awt.Component-java.lang.Object-int-)([Component](../../java/awt/Component.html "class in java.awt") comp,[Object](../../java/lang/Object.html "class in java.lang") constraints, int index)
Adds the specified component to this split pane.
[AccessibleContext](../../javax/accessibility/AccessibleContext.html "class in javax.accessibility")
[getAccessibleContext](../../javax/swing/JSplitPane.html#getAccessibleContext--)()
Gets the AccessibleContext associated with this JSplitPane.
[Component](../../java/awt/Component.html "class in java.awt")
[getBottomComponent](../../javax/swing/JSplitPane.html#getBottomComponent--)()
Returns the component below, or to the right of the divider.
int
[getDividerLocation](../../javax/swing/JSplitPane.html#getDividerLocation--)()
Returns the last value passed to setDividerLocation
.
int
[getDividerSize](../../javax/swing/JSplitPane.html#getDividerSize--)()
Returns the size of the divider.
int
[getLastDividerLocation](../../javax/swing/JSplitPane.html#getLastDividerLocation--)()
Returns the last location the divider was at.
[Component](../../java/awt/Component.html "class in java.awt")
[getLeftComponent](../../javax/swing/JSplitPane.html#getLeftComponent--)()
Returns the component to the left (or above) the divider.
int
[getMaximumDividerLocation](../../javax/swing/JSplitPane.html#getMaximumDividerLocation--)()
Returns the maximum location of the divider from the look and feel implementation.
int
[getMinimumDividerLocation](../../javax/swing/JSplitPane.html#getMinimumDividerLocation--)()
Returns the minimum location of the divider from the look and feel implementation.
int
[getOrientation](../../javax/swing/JSplitPane.html#getOrientation--)()
Returns the orientation.
double
[getResizeWeight](../../javax/swing/JSplitPane.html#getResizeWeight--)()
Returns the number that determines how extra space is distributed.
[Component](../../java/awt/Component.html "class in java.awt")
[getRightComponent](../../javax/swing/JSplitPane.html#getRightComponent--)()
Returns the component to the right (or below) the divider.
[Component](../../java/awt/Component.html "class in java.awt")
[getTopComponent](../../javax/swing/JSplitPane.html#getTopComponent--)()
Returns the component above, or to the left of the divider.
[SplitPaneUI](../../javax/swing/plaf/SplitPaneUI.html "class in javax.swing.plaf")
[getUI](../../javax/swing/JSplitPane.html#getUI--)()
Returns the SplitPaneUI
that is providing the current look and feel.
[String](../../java/lang/String.html "class in java.lang")
[getUIClassID](../../javax/swing/JSplitPane.html#getUIClassID--)()
Returns the name of the L&F class that renders this component.
boolean
[isContinuousLayout](../../javax/swing/JSplitPane.html#isContinuousLayout--)()
Gets the continuousLayout
property.
boolean
[isOneTouchExpandable](../../javax/swing/JSplitPane.html#isOneTouchExpandable--)()
Gets the oneTouchExpandable
property.
boolean
[isValidateRoot](../../javax/swing/JSplitPane.html#isValidateRoot--)()
Returns true, so that calls to revalidate
on any descendant of this JSplitPane
will cause a request to be queued that will validate the JSplitPane
and all its descendants.
protected void
[paintChildren](../../javax/swing/JSplitPane.html#paintChildren-java.awt.Graphics-)([Graphics](../../java/awt/Graphics.html "class in java.awt") g)
Subclassed to message the UI with finishedPaintingChildren
after super has been messaged, as well as painting the border.
protected [String](../../java/lang/String.html "class in java.lang")
[paramString](../../javax/swing/JSplitPane.html#paramString--)()
Returns a string representation of this JSplitPane
.
void
[remove](../../javax/swing/JSplitPane.html#remove-java.awt.Component-)([Component](../../java/awt/Component.html "class in java.awt") component)
Removes the child component, component
from the pane.
void
[remove](../../javax/swing/JSplitPane.html#remove-int-)(int index)
Removes the Component
at the specified index.
void
[removeAll](../../javax/swing/JSplitPane.html#removeAll--)()
Removes all the child components from the split pane.
void
[resetToPreferredSizes](../../javax/swing/JSplitPane.html#resetToPreferredSizes--)()
Lays out the JSplitPane
layout based on the preferred size of the children components.
void
[setBottomComponent](../../javax/swing/JSplitPane.html#setBottomComponent-java.awt.Component-)([Component](../../java/awt/Component.html "class in java.awt") comp)
Sets the component below, or to the right of the divider.
void
[setContinuousLayout](../../javax/swing/JSplitPane.html#setContinuousLayout-boolean-)(boolean newContinuousLayout)
Sets the value of the continuousLayout
property, which must be true
for the child components to be continuously redisplayed and laid out during user intervention.
void
[setDividerLocation](../../javax/swing/JSplitPane.html#setDividerLocation-double-)(double proportionalLocation)
Sets the divider location as a percentage of theJSplitPane
's size.
void
[setDividerLocation](../../javax/swing/JSplitPane.html#setDividerLocation-int-)(int location)
Sets the location of the divider.
void
[setDividerSize](../../javax/swing/JSplitPane.html#setDividerSize-int-)(int newSize)
Sets the size of the divider.
void
[setLastDividerLocation](../../javax/swing/JSplitPane.html#setLastDividerLocation-int-)(int newLastLocation)
Sets the last location the divider was at tonewLastLocation
.
void
[setLeftComponent](../../javax/swing/JSplitPane.html#setLeftComponent-java.awt.Component-)([Component](../../java/awt/Component.html "class in java.awt") comp)
Sets the component to the left (or above) the divider.
void
[setOneTouchExpandable](../../javax/swing/JSplitPane.html#setOneTouchExpandable-boolean-)(boolean newValue)
Sets the value of the oneTouchExpandable
property, which must be true
for theJSplitPane
to provide a UI widget on the divider to quickly expand/collapse the divider.
void
[setOrientation](../../javax/swing/JSplitPane.html#setOrientation-int-)(int orientation)
Sets the orientation, or how the splitter is divided.
void
[setResizeWeight](../../javax/swing/JSplitPane.html#setResizeWeight-double-)(double value)
Specifies how to distribute extra space when the size of the split pane changes.
void
[setRightComponent](../../javax/swing/JSplitPane.html#setRightComponent-java.awt.Component-)([Component](../../java/awt/Component.html "class in java.awt") comp)
Sets the component to the right (or below) the divider.
void
[setTopComponent](../../javax/swing/JSplitPane.html#setTopComponent-java.awt.Component-)([Component](../../java/awt/Component.html "class in java.awt") comp)
Sets the component above, or to the left of the divider.
void
[setUI](../../javax/swing/JSplitPane.html#setUI-javax.swing.plaf.SplitPaneUI-)([SplitPaneUI](../../javax/swing/plaf/SplitPaneUI.html "class in javax.swing.plaf") ui)
Sets the L&F object that renders this component.
void
[updateUI](../../javax/swing/JSplitPane.html#updateUI--)()
Notification from the UIManager
that the L&F has changed.