OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [plaf/] [basic/] [BasicTreeUI.h] - Blame information for rev 762

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_plaf_basic_BasicTreeUI__
5
#define __javax_swing_plaf_basic_BasicTreeUI__
6
 
7
#pragma interface
8
 
9
#include <javax/swing/plaf/TreeUI.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Color;
19
        class Component;
20
        class Dimension;
21
        class Graphics;
22
        class Insets;
23
        class Rectangle;
24
      namespace event
25
      {
26
          class ComponentListener;
27
          class FocusListener;
28
          class KeyListener;
29
          class MouseEvent;
30
          class MouseListener;
31
      }
32
    }
33
    namespace beans
34
    {
35
        class PropertyChangeListener;
36
    }
37
  }
38
  namespace javax
39
  {
40
    namespace swing
41
    {
42
        class ActionMap;
43
        class CellRendererPane;
44
        class Icon;
45
        class JComponent;
46
        class JTree;
47
      namespace event
48
      {
49
          class CellEditorListener;
50
          class TreeExpansionListener;
51
          class TreeModelListener;
52
          class TreeSelectionListener;
53
      }
54
      namespace plaf
55
      {
56
          class ComponentUI;
57
        namespace basic
58
        {
59
            class BasicTreeUI;
60
        }
61
      }
62
      namespace tree
63
      {
64
          class AbstractLayoutCache;
65
          class AbstractLayoutCache$NodeDimensions;
66
          class TreeCellEditor;
67
          class TreeCellRenderer;
68
          class TreeModel;
69
          class TreePath;
70
          class TreeSelectionModel;
71
      }
72
    }
73
  }
74
}
75
 
76
class javax::swing::plaf::basic::BasicTreeUI : public ::javax::swing::plaf::TreeUI
77
{
78
 
79
public:
80
  BasicTreeUI();
81
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
82
public: // actually protected
83
  virtual ::java::awt::Color * getHashColor();
84
  virtual void setHashColor(::java::awt::Color *);
85
public:
86
  virtual void setLeftChildIndent(jint);
87
  virtual jint getLeftChildIndent();
88
  virtual void setRightChildIndent(jint);
89
  virtual jint getRightChildIndent();
90
  virtual void setExpandedIcon(::javax::swing::Icon *);
91
  virtual ::javax::swing::Icon * getExpandedIcon();
92
  virtual void setCollapsedIcon(::javax::swing::Icon *);
93
  virtual ::javax::swing::Icon * getCollapsedIcon();
94
public: // actually protected
95
  virtual void setLargeModel(jboolean);
96
  virtual jboolean isLargeModel();
97
  virtual void setRowHeight(jint);
98
  virtual jint getRowHeight();
99
  virtual void setCellRenderer(::javax::swing::tree::TreeCellRenderer *);
100
  virtual ::javax::swing::tree::TreeCellRenderer * getCellRenderer();
101
  virtual void setModel(::javax::swing::tree::TreeModel *);
102
  virtual ::javax::swing::tree::TreeModel * getModel();
103
  virtual void setRootVisible(jboolean);
104
  virtual jboolean isRootVisible();
105
  virtual void setShowsRootHandles(jboolean);
106
  virtual jboolean getShowsRootHandles();
107
  virtual void setCellEditor(::javax::swing::tree::TreeCellEditor *);
108
  virtual ::javax::swing::tree::TreeCellEditor * getCellEditor();
109
  virtual void setEditable(jboolean);
110
  virtual jboolean isEditable();
111
  virtual void setSelectionModel(::javax::swing::tree::TreeSelectionModel *);
112
  virtual ::javax::swing::tree::TreeSelectionModel * getSelectionModel();
113
public:
114
  virtual ::java::awt::Rectangle * getPathBounds(::javax::swing::JTree *, ::javax::swing::tree::TreePath *);
115
public: // actually package-private
116
  virtual jint getMaxHeight(::javax::swing::JTree *);
117
  virtual ::javax::swing::Icon * getNodeIcon(::javax::swing::tree::TreePath *);
118
public:
119
  virtual ::javax::swing::tree::TreePath * getPathForRow(::javax::swing::JTree *, jint);
120
  virtual jint getRowForPath(::javax::swing::JTree *, ::javax::swing::tree::TreePath *);
121
  virtual jint getRowCount(::javax::swing::JTree *);
122
  virtual ::javax::swing::tree::TreePath * getClosestPathForLocation(::javax::swing::JTree *, jint, jint);
123
  virtual jboolean isEditing(::javax::swing::JTree *);
124
  virtual jboolean stopEditing(::javax::swing::JTree *);
125
  virtual void cancelEditing(::javax::swing::JTree *);
126
  virtual void startEditingAtPath(::javax::swing::JTree *, ::javax::swing::tree::TreePath *);
127
  virtual ::javax::swing::tree::TreePath * getEditingPath(::javax::swing::JTree *);
128
public: // actually protected
129
  virtual void prepareForUIInstall();
130
  virtual void completeUIInstall();
131
  virtual void completeUIUninstall();
132
  virtual void installComponents();
133
  virtual ::javax::swing::tree::AbstractLayoutCache$NodeDimensions * createNodeDimensions();
134
  virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener();
135
  virtual ::java::awt::event::MouseListener * createMouseListener();
136
  virtual ::java::awt::event::FocusListener * createFocusListener();
137
  virtual ::java::awt::event::KeyListener * createKeyListener();
138
  virtual ::java::beans::PropertyChangeListener * createSelectionModelPropertyChangeListener();
139
  virtual ::javax::swing::event::TreeSelectionListener * createTreeSelectionListener();
140
  virtual ::javax::swing::event::CellEditorListener * createCellEditorListener();
141
  virtual ::java::awt::event::ComponentListener * createComponentListener();
142
  virtual ::javax::swing::event::TreeExpansionListener * createTreeExpansionListener();
143
  virtual ::javax::swing::tree::AbstractLayoutCache * createLayoutCache();
144
  virtual ::javax::swing::CellRendererPane * createCellRendererPane();
145
  virtual ::javax::swing::tree::TreeCellEditor * createDefaultCellEditor();
146
  virtual ::javax::swing::tree::TreeCellRenderer * createDefaultCellRenderer();
147
  virtual ::javax::swing::event::TreeModelListener * createTreeModelListener();
148
  virtual void uninstallListeners();
149
  virtual void uninstallKeyboardActions();
150
  virtual void uninstallComponents();
151
  virtual jint getVerticalLegBuffer();
152
  virtual jint getHorizontalLegBuffer();
153
  virtual void updateLayoutCacheExpandedNodes();
154
  virtual void updateExpandedDescendants(::javax::swing::tree::TreePath *);
155
  virtual ::javax::swing::tree::TreePath * getLastChildPath(::javax::swing::tree::TreePath *);
156
  virtual void updateDepthOffset();
157
  virtual void updateCellEditor();
158
  virtual void updateRenderer();
159
  virtual void configureLayoutCache();
160
  virtual void updateSize();
161
  virtual void updateCachedPreferredSize();
162
  virtual void pathWasExpanded(::javax::swing::tree::TreePath *);
163
  virtual void pathWasCollapsed(::javax::swing::tree::TreePath *);
164
  virtual void installDefaults();
165
  virtual void installKeyboardActions();
166
private:
167
  ::javax::swing::ActionMap * getActionMap();
168
  ::javax::swing::ActionMap * createDefaultActions();
169
  jint convertModifiers(jint);
170
public: // actually protected
171
  virtual void installListeners();
172
public:
173
  virtual void installUI(::javax::swing::JComponent *);
174
public: // actually protected
175
  virtual void uninstallDefaults();
176
public:
177
  virtual void uninstallUI(::javax::swing::JComponent *);
178
  virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
179
private:
180
  jboolean isLastChild(::javax::swing::tree::TreePath *);
181
public: // actually protected
182
  virtual void ensureRowsAreVisible(jint, jint);
183
public:
184
  virtual void setPreferredMinSize(::java::awt::Dimension *);
185
  virtual ::java::awt::Dimension * getPreferredMinSize();
186
  virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
187
  virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *, jboolean);
188
  virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
189
  virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
190
public: // actually protected
191
  virtual void completeEditing();
192
  virtual void completeEditing(jboolean, jboolean, jboolean);
193
  virtual jboolean startEditing(::javax::swing::tree::TreePath *, ::java::awt::event::MouseEvent *);
194
private:
195
  void editorRequestFocus(::java::awt::Component *);
196
public: // actually protected
197
  virtual void checkForClickInExpandControl(::javax::swing::tree::TreePath *, jint, jint);
198
  virtual jboolean isLocationInExpandControl(::javax::swing::tree::TreePath *, jint, jint);
199
  virtual void handleExpandControlClick(::javax::swing::tree::TreePath *, jint, jint);
200
  virtual void toggleExpandState(::javax::swing::tree::TreePath *);
201
  virtual jboolean isToggleSelectionEvent(::java::awt::event::MouseEvent *);
202
  virtual jboolean isMultiSelectEvent(::java::awt::event::MouseEvent *);
203
  virtual jboolean isToggleEvent(::java::awt::event::MouseEvent *);
204
  virtual void selectPathForEvent(::javax::swing::tree::TreePath *, ::java::awt::event::MouseEvent *);
205
  virtual jboolean isLeaf(jint);
206
public: // actually package-private
207
  virtual jboolean hasControlIcons();
208
  virtual ::javax::swing::Icon * getCurrentControlIcon(::javax::swing::tree::TreePath *);
209
  virtual ::java::lang::Object * getParent(::java::lang::Object *, ::java::lang::Object *);
210
private:
211
  ::java::lang::Object * findNode(::java::lang::Object *, ::java::lang::Object *);
212
public: // actually package-private
213
  virtual void selectPath(::javax::swing::JTree *, ::javax::swing::tree::TreePath *);
214
  virtual JArray< ::java::lang::Object * > * getPathToRoot(::java::lang::Object *, jint);
215
public: // actually protected
216
  virtual void paintVerticalLine(::java::awt::Graphics *, ::javax::swing::JComponent *, jint, jint, jint);
217
  virtual void paintHorizontalLine(::java::awt::Graphics *, ::javax::swing::JComponent *, jint, jint, jint);
218
  virtual void drawCentered(::java::awt::Component *, ::java::awt::Graphics *, ::javax::swing::Icon *, jint, jint);
219
  virtual void drawDashedHorizontalLine(::java::awt::Graphics *, jint, jint, jint);
220
  virtual void drawDashedVerticalLine(::java::awt::Graphics *, jint, jint, jint);
221
  virtual void paintExpandControl(::java::awt::Graphics *, ::java::awt::Rectangle *, ::java::awt::Insets *, ::java::awt::Rectangle *, ::javax::swing::tree::TreePath *, jint, jboolean, jboolean, jboolean);
222
  virtual void paintHorizontalPartOfLeg(::java::awt::Graphics *, ::java::awt::Rectangle *, ::java::awt::Insets *, ::java::awt::Rectangle *, ::javax::swing::tree::TreePath *, jint, jboolean, jboolean, jboolean);
223
  virtual void paintVerticalPartOfLeg(::java::awt::Graphics *, ::java::awt::Rectangle *, ::java::awt::Insets *, ::javax::swing::tree::TreePath *);
224
  virtual void paintRow(::java::awt::Graphics *, ::java::awt::Rectangle *, ::java::awt::Insets *, ::java::awt::Rectangle *, ::javax::swing::tree::TreePath *, jint, jboolean, jboolean, jboolean);
225
  virtual void prepareForUIUninstall();
226
  virtual jboolean shouldPaintExpandControl(::javax::swing::tree::TreePath *, jint, jboolean, jboolean, jboolean);
227
  virtual jint getRowX(jint, jint);
228
public: // actually package-private
229
  static jint WAIT_TILL_EDITING;
230
public: // actually protected
231
  ::javax::swing::Icon * __attribute__((aligned(__alignof__( ::javax::swing::plaf::TreeUI)))) collapsedIcon;
232
  ::javax::swing::Icon * expandedIcon;
233
  jint leftChildIndent;
234
  jint rightChildIndent;
235
  jint totalChildIndent;
236
  jint lastSelectedRow;
237
  ::javax::swing::JTree * tree;
238
  ::javax::swing::tree::TreeCellRenderer * currentCellRenderer;
239
  jboolean createdRenderer;
240
  ::javax::swing::tree::TreeCellEditor * cellEditor;
241
  jboolean createdCellEditor;
242
  jboolean stopEditingInCompleteEditing;
243
  ::javax::swing::CellRendererPane * rendererPane;
244
  ::java::awt::Dimension * preferredSize;
245
  ::java::awt::Dimension * preferredMinSize;
246
  jboolean validCachedPreferredSize;
247
  ::javax::swing::tree::AbstractLayoutCache * treeState;
248
  ::java::util::Hashtable * drawingCache;
249
  jboolean largeModel;
250
  ::javax::swing::tree::AbstractLayoutCache$NodeDimensions * nodeDimensions;
251
  ::javax::swing::tree::TreeModel * treeModel;
252
  ::javax::swing::tree::TreeSelectionModel * treeSelectionModel;
253
  jint depthOffset;
254
  ::java::awt::Component * editingComponent;
255
  ::javax::swing::tree::TreePath * editingPath;
256
  jint editingRow;
257
  jboolean editorHasDifferentSize;
258
public: // actually package-private
259
  jboolean isEditing__;
260
  ::javax::swing::tree::TreePath * currentVisiblePath;
261
  jint gap;
262
  jint maxHeight;
263
  ::java::awt::Color * hashColor;
264
  ::java::beans::PropertyChangeListener * propertyChangeListener;
265
  ::java::awt::event::FocusListener * focusListener;
266
  ::javax::swing::event::TreeSelectionListener * treeSelectionListener;
267
  ::java::awt::event::MouseListener * mouseListener;
268
  ::java::awt::event::KeyListener * keyListener;
269
  ::java::beans::PropertyChangeListener * selectionModelPropertyChangeListener;
270
  ::java::awt::event::ComponentListener * componentListener;
271
  ::javax::swing::event::CellEditorListener * cellEditorListener;
272
  ::javax::swing::event::TreeExpansionListener * treeExpansionListener;
273
  ::javax::swing::event::TreeModelListener * treeModelListener;
274
  static ::javax::swing::Icon * nullIcon;
275
public:
276
  static ::java::lang::Class class$;
277
};
278
 
279
#endif // __javax_swing_plaf_basic_BasicTreeUI__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.