62 |
import javax.swing.plaf.ComponentUI; |
import javax.swing.plaf.ComponentUI; |
63 |
import javax.swing.plaf.basic.BasicTreeUI; |
import javax.swing.plaf.basic.BasicTreeUI; |
64 |
|
|
65 |
|
/** |
66 |
|
* A UI delegate for the {@link JTree} component. |
67 |
|
*/ |
68 |
public class MetalTreeUI extends BasicTreeUI |
public class MetalTreeUI extends BasicTreeUI |
69 |
{ |
{ |
70 |
|
|
81 |
private TreeModelListener treeModelListener; |
private TreeModelListener treeModelListener; |
82 |
|
|
83 |
/** |
/** |
84 |
* Constructs a new instance of MetalTreeUI. |
* Constructs a new instance of <code>MetalTreeUI</code>. |
85 |
*/ |
*/ |
86 |
public MetalTreeUI() |
public MetalTreeUI() |
87 |
{ |
{ |
89 |
} |
} |
90 |
|
|
91 |
/** |
/** |
92 |
* Returns an instance of MetalTreeUI. |
* Returns a new instance of <code>MetalTreeUI</code>. |
93 |
* |
* |
94 |
* @param component the component for which we return an UI instance |
* @param component the component for which we return an UI instance |
95 |
* |
* |
96 |
* @return an instance of MetalTreeUI |
* @return A new instance of <code>MetalTreeUI</code>. |
97 |
*/ |
*/ |
98 |
public static ComponentUI createUI(JComponent component) |
public static ComponentUI createUI(JComponent component) |
99 |
{ |
{ |