javax.swing.plaf

Class SplitPaneUI

public abstract class SplitPaneUI extends ComponentUI

An abstract base class for delegates that implement the pluggable look and feel for a JSplitPane.

See Also:

Constructor Summary
SplitPaneUI()
Constructs a new SplitPaneUI.
Method Summary
abstract voidfinishedPaintingChildren(JSplitPane pane, Graphics g)
Called by the JSplitPane after it has finished painting its children.
abstract intgetDividerLocation(JSplitPane pane)
Determines the current location of the divider.
abstract intgetMaximumDividerLocation(JSplitPane pane)
Determines the maximum location of the divider.
abstract intgetMinimumDividerLocation(JSplitPane pane)
Determines the minimum location of the divider.
abstract voidresetToPreferredSizes(JSplitPane pane)
Moves the divider to the location which best respects the preferred sizes of the children.
abstract voidsetDividerLocation(JSplitPane pane, int location)
Moves the divider to the specified location.

Constructor Detail

SplitPaneUI

public SplitPaneUI()
Constructs a new SplitPaneUI.

Method Detail

finishedPaintingChildren

public abstract void finishedPaintingChildren(JSplitPane pane, Graphics g)
Called by the JSplitPane after it has finished painting its children.

Parameters: pane the JSplitPane for thich this delegate provides the look and feel. g the Graphics used for painting.

getDividerLocation

public abstract int getDividerLocation(JSplitPane pane)
Determines the current location of the divider.

Parameters: pane the JSplitPane for thich this delegate provides the look and feel.

Returns: the current location of the divider.

getMaximumDividerLocation

public abstract int getMaximumDividerLocation(JSplitPane pane)
Determines the maximum location of the divider.

Parameters: pane the JSplitPane for thich this delegate provides the look and feel.

Returns: the bottommost (or rightmost) possible location of the divider.

getMinimumDividerLocation

public abstract int getMinimumDividerLocation(JSplitPane pane)
Determines the minimum location of the divider.

Parameters: pane the JSplitPane for thich this delegate provides the look and feel.

Returns: the leftmost (or topmost) possible location of the divider.

resetToPreferredSizes

public abstract void resetToPreferredSizes(JSplitPane pane)
Moves the divider to the location which best respects the preferred sizes of the children.

Parameters: pane the JSplitPane for thich this delegate provides the look and feel.

setDividerLocation

public abstract void setDividerLocation(JSplitPane pane, int location)
Moves the divider to the specified location.

Parameters: pane the JSplitPane for thich this delegate provides the look and feel. location the new location of the divider.