javax.swing.plaf
public abstract class SplitPaneUI extends ComponentUI
JSplitPane
.JSplitPane
Constructor and Description |
---|
SplitPaneUI()
Constructs a new
SplitPaneUI . |
Modifier and Type | Method and Description |
---|---|
abstract void |
finishedPaintingChildren(JSplitPane pane,
Graphics g)
Called by the
JSplitPane after it has finished
painting its children. |
abstract int |
getDividerLocation(JSplitPane pane)
Determines the current location of the divider.
|
abstract int |
getMaximumDividerLocation(JSplitPane pane)
Determines the maximum location of the divider.
|
abstract int |
getMinimumDividerLocation(JSplitPane pane)
Determines the minimum location of the divider.
|
abstract void |
resetToPreferredSizes(JSplitPane pane)
Moves the divider to the location which best respects
the preferred sizes of the children.
|
abstract void |
setDividerLocation(JSplitPane pane,
int location)
Moves the divider to the specified location.
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
public SplitPaneUI()
SplitPaneUI
.public abstract void resetToPreferredSizes(JSplitPane pane)
pane
- the JSplitPane
for thich this
delegate provides the look and feel.public abstract void setDividerLocation(JSplitPane pane, int location)
pane
- the JSplitPane
for thich this
delegate provides the look and feel.location
- the new location of the divider.public abstract int getDividerLocation(JSplitPane pane)
pane
- the JSplitPane
for thich this
delegate provides the look and feel.public abstract int getMinimumDividerLocation(JSplitPane pane)
pane
- the JSplitPane
for thich this
delegate provides the look and feel.public abstract int getMaximumDividerLocation(JSplitPane pane)
pane
- the JSplitPane
for thich this
delegate provides the look and feel.public abstract void finishedPaintingChildren(JSplitPane pane, Graphics g)
JSplitPane
after it has finished
painting its children.pane
- the JSplitPane
for thich this
delegate provides the look and feel.g
- the Graphics used for painting.