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.
defaultDividerSize-
JLFDividerBackgroundColor-
JLFDividerLineColor-
JLFSplitPaneDivider(BasicSplitPaneUI)
-
getBackgroundColor()
-
getDividerLineColor()
-
getDividerSize()
- Returns the size of the divider, that is the width if the splitpane
is HORIZONTAL_SPLIT, or the height of VERTICAL_SPLIT.
paint(Graphics)
- Paints the divider.
defaultDividerSize
protected final int defaultDividerSize
JLFDividerBackgroundColor
protected final Color JLFDividerBackgroundColor
JLFDividerLineColor
protected final Color JLFDividerLineColor
JLFSplitPaneDivider
public JLFSplitPaneDivider(BasicSplitPaneUI ui)
paint
public void paint(Graphics g)
- Paints the divider.
- Overrides:
- paint in class BasicSplitPaneDivider
getDividerLineColor
protected Color getDividerLineColor()
getBackgroundColor
protected Color getBackgroundColor()
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