1 package org.catacomb.graph.gui;
2
3 import java.awt.Graphics;
4
5 import javax.swing.JComponent;
6 import javax.swing.plaf.ComponentUI;
7 import javax.swing.plaf.basic.BasicSplitPaneDivider;
8 import javax.swing.plaf.basic.BasicSplitPaneUI;
9
10
11 final class AboveBelowSplitPanelUI extends BasicSplitPaneUI {
12
13 GraphColors gcols;
14
15 AboveBelowSplitPanelUI(GraphColors gc) {
16 super();
17 gcols = gc;
18 }
19
20
21 public static ComponentUI createUI(JComponent jcomponent) {
22 return (new AboveBelowSplitPanelUI(null));
23 }
24
25 public BasicSplitPaneDivider createDefaultDivider() {
26 return (new HorizontalAxisGraphDivider(this, gcols));
27 }
28
29
30 public void paint(Graphics graphics, JComponent jcomponent) {
31
32 }
33
34
35 protected void uninstallDefaults() {
36 }
37
38 }
39