78 |
public MetalSplitPaneDivider(MetalSplitPaneUI ui, Color light, Color dark) |
public MetalSplitPaneDivider(MetalSplitPaneUI ui, Color light, Color dark) |
79 |
{ |
{ |
80 |
super(ui); |
super(ui); |
81 |
setLayout(new DividerLayout()); |
setLayout(new MetalDividerLayout()); |
82 |
this.splitPane = super.splitPane; |
this.splitPane = super.splitPane; |
83 |
this.orientation = super.orientation; |
this.orientation = super.orientation; |
84 |
this.light = light; |
this.light = light; |
105 |
/** |
/** |
106 |
* This helper class acts as the Layout Manager for the divider. |
* This helper class acts as the Layout Manager for the divider. |
107 |
*/ |
*/ |
108 |
protected class DividerLayout implements LayoutManager |
protected class MetalDividerLayout implements LayoutManager |
109 |
{ |
{ |
110 |
/** The right button. */ |
/** The right button. */ |
111 |
BasicArrowButton rb; |
BasicArrowButton rb; |
116 |
/** |
/** |
117 |
* Creates a new DividerLayout object. |
* Creates a new DividerLayout object. |
118 |
*/ |
*/ |
119 |
protected DividerLayout() |
protected MetalDividerLayout() |
120 |
{ |
{ |
121 |
// Nothing to do here |
// Nothing to do here |
122 |
} |
} |