All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.jlf.JLFSplitPaneDivider

java.lang.Object
    |
    +----java.awt.Component
            |
            +----java.awt.Container
                    |
                    +----java.awt.swing.basic.BasicSplitPaneDivider
                            |
                            +----java.awt.swing.jlf.JLFSplitPaneDivider

public class JLFSplitPaneDivider
extends BasicSplitPaneDivider
Divider used by JLFSplitPaneUI. Subclassers may wish to override paint to do something more interesting. The border effect is drawn in BasicSplitPaneUI, so if you don't like that border, reset it there. To conditionally drag from certain areas subclass mousePressed and call super when you wish the dragging to begin.


Variable Index

 o defaultDividerSize
 o JLFDividerBackgroundColor
 o JLFDividerLineColor

Constructor Index

 o JLFSplitPaneDivider(BasicSplitPaneUI)

Method Index

 o getBackgroundColor()
 o getDividerLineColor()
 o getDividerSize()
Returns the size of the divider, that is the width if the splitpane is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT.
 o paint(Graphics)
Paints the divider.

Variables

 o defaultDividerSize
protected final int defaultDividerSize
 o JLFDividerBackgroundColor
protected final Color JLFDividerBackgroundColor
 o JLFDividerLineColor
protected final Color JLFDividerLineColor

Constructors

 o JLFSplitPaneDivider
public JLFSplitPaneDivider(BasicSplitPaneUI ui)

Methods

 o paint
public void paint(Graphics g)
Paints the divider.

Overrides:
paint in class BasicSplitPaneDivider
 o getDividerLineColor
protected Color getDividerLineColor()
 o getBackgroundColor
protected Color getBackgroundColor()
 o getDividerSize
public int getDividerSize()
Returns the size of the divider, that is the width if the splitpane is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT.

Overrides:
getDividerSize in class BasicSplitPaneDivider

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature