1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_tree_DefaultTreeCellRenderer__
|
5 |
|
|
#define __javax_swing_tree_DefaultTreeCellRenderer__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/JLabel.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Color;
|
17 |
|
|
class Component;
|
18 |
|
|
class Dimension;
|
19 |
|
|
class Font;
|
20 |
|
|
class Graphics;
|
21 |
|
|
class Rectangle;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
namespace javax
|
25 |
|
|
{
|
26 |
|
|
namespace swing
|
27 |
|
|
{
|
28 |
|
|
class Icon;
|
29 |
|
|
class JTree;
|
30 |
|
|
namespace tree
|
31 |
|
|
{
|
32 |
|
|
class DefaultTreeCellRenderer;
|
33 |
|
|
}
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
|
38 |
|
|
class javax::swing::tree::DefaultTreeCellRenderer : public ::javax::swing::JLabel
|
39 |
|
|
{
|
40 |
|
|
|
41 |
|
|
public:
|
42 |
|
|
DefaultTreeCellRenderer();
|
43 |
|
|
virtual ::javax::swing::Icon * getDefaultOpenIcon();
|
44 |
|
|
virtual ::javax::swing::Icon * getDefaultClosedIcon();
|
45 |
|
|
virtual ::javax::swing::Icon * getDefaultLeafIcon();
|
46 |
|
|
virtual void setOpenIcon(::javax::swing::Icon *);
|
47 |
|
|
virtual ::javax::swing::Icon * getOpenIcon();
|
48 |
|
|
virtual void setClosedIcon(::javax::swing::Icon *);
|
49 |
|
|
virtual ::javax::swing::Icon * getClosedIcon();
|
50 |
|
|
virtual void setLeafIcon(::javax::swing::Icon *);
|
51 |
|
|
virtual ::javax::swing::Icon * getLeafIcon();
|
52 |
|
|
virtual void setTextSelectionColor(::java::awt::Color *);
|
53 |
|
|
virtual ::java::awt::Color * getTextSelectionColor();
|
54 |
|
|
virtual void setTextNonSelectionColor(::java::awt::Color *);
|
55 |
|
|
virtual ::java::awt::Color * getTextNonSelectionColor();
|
56 |
|
|
virtual void setBackgroundSelectionColor(::java::awt::Color *);
|
57 |
|
|
virtual ::java::awt::Color * getBackgroundSelectionColor();
|
58 |
|
|
virtual void setBackgroundNonSelectionColor(::java::awt::Color *);
|
59 |
|
|
virtual ::java::awt::Color * getBackgroundNonSelectionColor();
|
60 |
|
|
virtual void setBorderSelectionColor(::java::awt::Color *);
|
61 |
|
|
virtual ::java::awt::Color * getBorderSelectionColor();
|
62 |
|
|
virtual void setFont(::java::awt::Font *);
|
63 |
|
|
virtual void setBackground(::java::awt::Color *);
|
64 |
|
|
virtual ::java::awt::Component * getTreeCellRendererComponent(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint, jboolean);
|
65 |
|
|
virtual ::java::awt::Font * getFont();
|
66 |
|
|
virtual void paint(::java::awt::Graphics *);
|
67 |
|
|
private:
|
68 |
|
|
void paintFocus(::java::awt::Graphics *, jint, jint, jint, jint);
|
69 |
|
|
jint getXOffset();
|
70 |
|
|
public:
|
71 |
|
|
virtual ::java::awt::Dimension * getPreferredSize();
|
72 |
|
|
virtual void validate();
|
73 |
|
|
virtual void revalidate();
|
74 |
|
|
virtual void repaint(jlong, jint, jint, jint, jint);
|
75 |
|
|
virtual void repaint(::java::awt::Rectangle *);
|
76 |
|
|
public: // actually protected
|
77 |
|
|
virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
|
78 |
|
|
public:
|
79 |
|
|
virtual void firePropertyChange(::java::lang::String *, jbyte, jbyte);
|
80 |
|
|
virtual void firePropertyChange(::java::lang::String *, jchar, jchar);
|
81 |
|
|
virtual void firePropertyChange(::java::lang::String *, jshort, jshort);
|
82 |
|
|
virtual void firePropertyChange(::java::lang::String *, jint, jint);
|
83 |
|
|
virtual void firePropertyChange(::java::lang::String *, jlong, jlong);
|
84 |
|
|
virtual void firePropertyChange(::java::lang::String *, jfloat, jfloat);
|
85 |
|
|
virtual void firePropertyChange(::java::lang::String *, jdouble, jdouble);
|
86 |
|
|
virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
|
87 |
|
|
public: // actually protected
|
88 |
|
|
jboolean __attribute__((aligned(__alignof__( ::javax::swing::JLabel)))) selected;
|
89 |
|
|
jboolean hasFocus;
|
90 |
|
|
private:
|
91 |
|
|
jboolean drawsFocusBorderAroundIcon;
|
92 |
|
|
public: // actually protected
|
93 |
|
|
::javax::swing::Icon * closedIcon;
|
94 |
|
|
::javax::swing::Icon * leafIcon;
|
95 |
|
|
::javax::swing::Icon * openIcon;
|
96 |
|
|
::java::awt::Color * textSelectionColor;
|
97 |
|
|
::java::awt::Color * textNonSelectionColor;
|
98 |
|
|
::java::awt::Color * backgroundSelectionColor;
|
99 |
|
|
::java::awt::Color * backgroundNonSelectionColor;
|
100 |
|
|
::java::awt::Color * borderSelectionColor;
|
101 |
|
|
public:
|
102 |
|
|
static ::java::lang::Class class$;
|
103 |
|
|
};
|
104 |
|
|
|
105 |
|
|
#endif // __javax_swing_tree_DefaultTreeCellRenderer__
|