javax.swing.plaf.metal

Class MetalSplitPaneUI

public class MetalSplitPaneUI extends BasicSplitPaneUI

A UI delegate for the {@link JSplitPane} component.
Constructor Summary
MetalSplitPaneUI()
Constructs a new instance of MetalSplitPaneUI.
Method Summary
BasicSplitPaneDividercreateDefaultDivider()
Returns the divider that is used by the JSplitPane.
static ComponentUIcreateUI(JComponent component)
Returns a new instance of MetalSplitPaneUI.

Constructor Detail

MetalSplitPaneUI

public MetalSplitPaneUI()
Constructs a new instance of MetalSplitPaneUI.

Method Detail

createDefaultDivider

public BasicSplitPaneDivider createDefaultDivider()
Returns the divider that is used by the JSplitPane. The divider returned by this method is a {@link BasicSplitPaneDivider} that is drawn using the Metal look.

Returns: the default divider to use for JSplitPanes.

createUI

public static ComponentUI createUI(JComponent component)
Returns a new instance of MetalSplitPaneUI.

Parameters: component the component for which we return an UI instance

Returns: A new instance of MetalSplitPaneUI.