Top Description Constructors Methods
javax.swing.plaf

public abstract Class SplitPaneUI

extends ComponentUI
Class Inheritance
Known Direct Subclasses
javax.swing.plaf.basic.BasicSplitPaneUI, javax.swing.plaf.multi.MultiSplitPaneUI
Imports
javax.swing.JSplitPane, java.awt.Graphics

Pluggable look and feel interface for JSplitPane.
Author
Scott Violet

Constructor Summary

AccessConstructor and Description
protected
SplitPaneUI()

Constructor for subclasses to call.

Method Summary

Modifier and TypeMethod and Description
public abstract void
finishedPaintingChildren(JSplitPane
a JSplitPane
jc
,
Graphics
the Graphics context
g
)

Messaged after the JSplitPane the receiver is providing the look and feel for paints its children.

public abstract int

Returns:

an integer specifying the location of the divider
getDividerLocation
(JSplitPane
a JSplitPane
jc
)

Returns the location of the divider.

public abstract int

Returns:

an integer specifying the maximum location of the divider
getMaximumDividerLocation
(JSplitPane
a JSplitPane
jc
)

Returns the maximum possible location of the divider.

public abstract int

Returns:

and integer specifying the minimum location of the divider
getMinimumDividerLocation
(JSplitPane
a JSplitPane
jc
)

Returns the minimum possible location of the divider.

public abstract void
resetToPreferredSizes(JSplitPane
a JSplitPane
jc
)

Messaged to relayout the JSplitPane based on the preferred size of the children components.

public abstract void
setDividerLocation(JSplitPane
a JSplitPane
jc
,
int
an integer specifying the location of the divider
location
)

Sets the location of the divider to location.

Inherited from javax.swing.plaf.ComponentUI:
containscreateUIgetAccessibleChildgetAccessibleChildrenCountgetBaselinegetBaselineResizeBehaviorgetMaximumSizegetMinimumSizegetPreferredSizeinstallUIpaintuninstallUIupdate

Constructor Detail

SplitPaneUIback to summary
protected SplitPaneUI()

Constructor for subclasses to call.

Method Detail

finishedPaintingChildrenback to summary
public abstract void finishedPaintingChildren(JSplitPane jc, Graphics g)

Messaged after the JSplitPane the receiver is providing the look and feel for paints its children.

Parameters
jc:JSplitPane

a JSplitPane

g:Graphics

the Graphics context

getDividerLocationback to summary
public abstract int getDividerLocation(JSplitPane jc)

Returns the location of the divider.

Parameters
jc:JSplitPane

a JSplitPane

Returns:int

an integer specifying the location of the divider

getMaximumDividerLocationback to summary
public abstract int getMaximumDividerLocation(JSplitPane jc)

Returns the maximum possible location of the divider.

Parameters
jc:JSplitPane

a JSplitPane

Returns:int

an integer specifying the maximum location of the divider

getMinimumDividerLocationback to summary
public abstract int getMinimumDividerLocation(JSplitPane jc)

Returns the minimum possible location of the divider.

Parameters
jc:JSplitPane

a JSplitPane

Returns:int

and integer specifying the minimum location of the divider

resetToPreferredSizesback to summary
public abstract void resetToPreferredSizes(JSplitPane jc)

Messaged to relayout the JSplitPane based on the preferred size of the children components.

Parameters
jc:JSplitPane

a JSplitPane

setDividerLocationback to summary
public abstract void setDividerLocation(JSplitPane jc, int location)

Sets the location of the divider to location.

Parameters
jc:JSplitPane

a JSplitPane

location:int

an integer specifying the location of the divider