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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [JTree.h] - Blame information for rev 759

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_JTree__
5
#define __javax_swing_JTree__
6
 
7
#pragma interface
8
 
9
#include <javax/swing/JComponent.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Dimension;
19
        class Rectangle;
20
    }
21
  }
22
  namespace javax
23
  {
24
    namespace accessibility
25
    {
26
        class AccessibleContext;
27
    }
28
    namespace swing
29
    {
30
        class JTree;
31
        class JTree$TreeSelectionRedirector;
32
      namespace event
33
      {
34
          class TreeExpansionListener;
35
          class TreeModelListener;
36
          class TreeSelectionEvent;
37
          class TreeSelectionListener;
38
          class TreeWillExpandListener;
39
      }
40
      namespace plaf
41
      {
42
          class TreeUI;
43
      }
44
      namespace text
45
      {
46
          class Position$Bias;
47
      }
48
      namespace tree
49
      {
50
          class TreeCellEditor;
51
          class TreeCellRenderer;
52
          class TreeModel;
53
          class TreeNode;
54
          class TreePath;
55
          class TreeSelectionModel;
56
      }
57
    }
58
  }
59
}
60
 
61
class javax::swing::JTree : public ::javax::swing::JComponent
62
{
63
 
64
public:
65
  JTree();
66
  JTree(::java::util::Hashtable *);
67
  JTree(JArray< ::java::lang::Object * > *);
68
  JTree(::javax::swing::tree::TreeModel *);
69
  JTree(::javax::swing::tree::TreeNode *);
70
  JTree(::javax::swing::tree::TreeNode *, jboolean);
71
  JTree(::java::util::Vector *);
72
  virtual jint getRowForPath(::javax::swing::tree::TreePath *);
73
  virtual ::javax::swing::tree::TreePath * getPathForRow(jint);
74
public: // actually protected
75
  virtual JArray< ::javax::swing::tree::TreePath * > * getPathBetweenRows(jint, jint);
76
  static ::javax::swing::tree::TreeModel * createTreeModel(::java::lang::Object *);
77
public:
78
  virtual ::javax::swing::plaf::TreeUI * getUI();
79
  virtual void setUI(::javax::swing::plaf::TreeUI *);
80
  virtual void updateUI();
81
  virtual ::java::lang::String * getUIClassID();
82
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
83
  virtual ::java::awt::Dimension * getPreferredScrollableViewportSize();
84
  virtual jint getScrollableUnitIncrement(::java::awt::Rectangle *, jint, jint);
85
  virtual jint getScrollableBlockIncrement(::java::awt::Rectangle *, jint, jint);
86
  virtual jboolean getScrollableTracksViewportHeight();
87
  virtual jboolean getScrollableTracksViewportWidth();
88
  virtual void addTreeExpansionListener(::javax::swing::event::TreeExpansionListener *);
89
  virtual void removeTreeExpansionListener(::javax::swing::event::TreeExpansionListener *);
90
  virtual JArray< ::javax::swing::event::TreeExpansionListener * > * getTreeExpansionListeners();
91
  virtual void fireTreeCollapsed(::javax::swing::tree::TreePath *);
92
  virtual void fireTreeExpanded(::javax::swing::tree::TreePath *);
93
  virtual void addTreeSelectionListener(::javax::swing::event::TreeSelectionListener *);
94
  virtual void removeTreeSelectionListener(::javax::swing::event::TreeSelectionListener *);
95
  virtual JArray< ::javax::swing::event::TreeSelectionListener * > * getTreeSelectionListeners();
96
public: // actually protected
97
  virtual void fireValueChanged(::javax::swing::event::TreeSelectionEvent *);
98
public:
99
  virtual void addTreeWillExpandListener(::javax::swing::event::TreeWillExpandListener *);
100
  virtual void removeTreeWillExpandListener(::javax::swing::event::TreeWillExpandListener *);
101
  virtual JArray< ::javax::swing::event::TreeWillExpandListener * > * getTreeWillExpandListeners();
102
  virtual void fireTreeWillCollapse(::javax::swing::tree::TreePath *);
103
  virtual void fireTreeWillExpand(::javax::swing::tree::TreePath *);
104
  virtual ::javax::swing::tree::TreeModel * getModel();
105
  virtual void setModel(::javax::swing::tree::TreeModel *);
106
  virtual jboolean isEditable();
107
  virtual void setEditable(jboolean);
108
  virtual jboolean isRootVisible();
109
  virtual void setRootVisible(jboolean);
110
  virtual jboolean getShowsRootHandles();
111
  virtual void setShowsRootHandles(jboolean);
112
  virtual ::javax::swing::tree::TreeCellEditor * getCellEditor();
113
  virtual void setCellEditor(::javax::swing::tree::TreeCellEditor *);
114
  virtual ::javax::swing::tree::TreeCellRenderer * getCellRenderer();
115
  virtual void setCellRenderer(::javax::swing::tree::TreeCellRenderer *);
116
  virtual ::javax::swing::tree::TreeSelectionModel * getSelectionModel();
117
  virtual void setSelectionModel(::javax::swing::tree::TreeSelectionModel *);
118
  virtual jint getVisibleRowCount();
119
  virtual void setVisibleRowCount(jint);
120
  virtual jboolean isLargeModel();
121
  virtual void setLargeModel(jboolean);
122
  virtual jint getRowHeight();
123
  virtual void setRowHeight(jint);
124
  virtual jboolean isFixedRowHeight();
125
  virtual jboolean getInvokesStopCellEditing();
126
  virtual void setInvokesStopCellEditing(jboolean);
127
  virtual jint getToggleClickCount();
128
  virtual void setToggleClickCount(jint);
129
  virtual void scrollPathToVisible(::javax::swing::tree::TreePath *);
130
  virtual void scrollRowToVisible(jint);
131
  virtual jboolean getScrollsOnExpand();
132
  virtual void setScrollsOnExpand(jboolean);
133
  virtual void setSelectionPath(::javax::swing::tree::TreePath *);
134
  virtual void setSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *);
135
private:
136
  void clearSelectionPathStates();
137
public:
138
  virtual void setSelectionRow(jint);
139
  virtual void setSelectionRows(JArray< jint > *);
140
  virtual void setSelectionInterval(jint, jint);
141
  virtual void addSelectionPath(::javax::swing::tree::TreePath *);
142
  virtual void addSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *);
143
  virtual void addSelectionRow(jint);
144
  virtual void addSelectionRows(JArray< jint > *);
145
  virtual void addSelectionInterval(jint, jint);
146
  virtual void removeSelectionPath(::javax::swing::tree::TreePath *);
147
  virtual void removeSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *);
148
  virtual void removeSelectionRow(jint);
149
  virtual void removeSelectionRows(JArray< jint > *);
150
  virtual void removeSelectionInterval(jint, jint);
151
  virtual void clearSelection();
152
  virtual ::javax::swing::tree::TreePath * getLeadSelectionPath();
153
  virtual void setLeadSelectionPath(::javax::swing::tree::TreePath *);
154
  virtual ::javax::swing::tree::TreePath * getAnchorSelectionPath();
155
  virtual void setAnchorSelectionPath(::javax::swing::tree::TreePath *);
156
  virtual jint getLeadSelectionRow();
157
  virtual jint getMaxSelectionRow();
158
  virtual jint getMinSelectionRow();
159
  virtual jint getSelectionCount();
160
  virtual ::javax::swing::tree::TreePath * getSelectionPath();
161
  virtual JArray< ::javax::swing::tree::TreePath * > * getSelectionPaths();
162
  virtual JArray< jint > * getSelectionRows();
163
  virtual jboolean isPathSelected(::javax::swing::tree::TreePath *);
164
  virtual jboolean isRowSelected(jint);
165
  virtual jboolean isSelectionEmpty();
166
  virtual jboolean getDragEnabled();
167
  virtual void setDragEnabled(jboolean);
168
  virtual jint getRowCount();
169
  virtual void collapsePath(::javax::swing::tree::TreePath *);
170
  virtual void collapseRow(jint);
171
  virtual void expandPath(::javax::swing::tree::TreePath *);
172
  virtual void expandRow(jint);
173
  virtual jboolean isCollapsed(::javax::swing::tree::TreePath *);
174
  virtual jboolean isCollapsed(jint);
175
  virtual jboolean isExpanded(::javax::swing::tree::TreePath *);
176
  virtual jboolean isExpanded(jint);
177
  virtual jboolean getExpandsSelectedPaths();
178
  virtual void setExpandsSelectedPaths(jboolean);
179
  virtual ::java::awt::Rectangle * getPathBounds(::javax::swing::tree::TreePath *);
180
  virtual ::java::awt::Rectangle * getRowBounds(jint);
181
  virtual jboolean isEditing();
182
  virtual jboolean stopEditing();
183
  virtual void cancelEditing();
184
  virtual void startEditingAtPath(::javax::swing::tree::TreePath *);
185
  virtual ::javax::swing::tree::TreePath * getEditingPath();
186
  virtual ::javax::swing::tree::TreePath * getPathForLocation(jint, jint);
187
  virtual jint getRowForLocation(jint, jint);
188
  virtual ::javax::swing::tree::TreePath * getClosestPathForLocation(jint, jint);
189
  virtual jint getClosestRowForLocation(jint, jint);
190
  virtual ::java::lang::Object * getLastSelectedPathComponent();
191
private:
192
  void doExpandParents(::javax::swing::tree::TreePath *, jboolean);
193
public: // actually protected
194
  virtual void setExpandedState(::javax::swing::tree::TreePath *, jboolean);
195
  virtual void clearToggledPaths();
196
  virtual ::java::util::Enumeration * getDescendantToggledPaths(::javax::swing::tree::TreePath *);
197
public:
198
  virtual jboolean hasBeenExpanded(::javax::swing::tree::TreePath *);
199
  virtual jboolean isVisible(::javax::swing::tree::TreePath *);
200
  virtual void makeVisible(::javax::swing::tree::TreePath *);
201
  virtual jboolean isPathEditable(::javax::swing::tree::TreePath *);
202
public: // actually protected
203
  virtual ::javax::swing::event::TreeModelListener * createTreeModelListener();
204
  static ::javax::swing::tree::TreeModel * getDefaultTreeModel();
205
public:
206
  virtual ::java::lang::String * convertValueToText(::java::lang::Object *, jboolean, jboolean, jboolean, jint, jboolean);
207
public: // actually protected
208
  virtual ::java::lang::String * paramString();
209
public:
210
  virtual ::java::util::Enumeration * getExpandedDescendants(::javax::swing::tree::TreePath *);
211
  virtual ::javax::swing::tree::TreePath * getNextMatch(::java::lang::String *, jint, ::javax::swing::text::Position$Bias *);
212
public: // actually protected
213
  virtual jboolean removeDescendantSelectedPaths(::javax::swing::tree::TreePath *, jboolean);
214
  virtual void removeDescendantToggledPaths(::java::util::Enumeration *);
215
public:
216
  virtual void treeDidChange();
217
public: // actually package-private
218
  virtual void setUIProperty(::java::lang::String *, ::java::lang::Object *);
219
private:
220
  static const jlong serialVersionUID = 7559816092864483649LL;
221
public:
222
  static ::java::lang::String * CELL_EDITOR_PROPERTY;
223
  static ::java::lang::String * CELL_RENDERER_PROPERTY;
224
  static ::java::lang::String * EDITABLE_PROPERTY;
225
  static ::java::lang::String * INVOKES_STOP_CELL_EDITING_PROPERTY;
226
  static ::java::lang::String * LARGE_MODEL_PROPERTY;
227
  static ::java::lang::String * ROOT_VISIBLE_PROPERTY;
228
  static ::java::lang::String * ROW_HEIGHT_PROPERTY;
229
  static ::java::lang::String * SCROLLS_ON_EXPAND_PROPERTY;
230
  static ::java::lang::String * SELECTION_MODEL_PROPERTY;
231
  static ::java::lang::String * SHOWS_ROOT_HANDLES_PROPERTY;
232
  static ::java::lang::String * TOGGLE_CLICK_COUNT_PROPERTY;
233
  static ::java::lang::String * TREE_MODEL_PROPERTY;
234
  static ::java::lang::String * VISIBLE_ROW_COUNT_PROPERTY;
235
  static ::java::lang::String * ANCHOR_SELECTION_PATH_PROPERTY;
236
  static ::java::lang::String * LEAD_SELECTION_PATH_PROPERTY;
237
  static ::java::lang::String * EXPANDS_SELECTED_PATHS_PROPERTY;
238
private:
239
  static ::java::lang::Object * EXPANDED;
240
  static ::java::lang::Object * COLLAPSED;
241
  jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) dragEnabled;
242
  jboolean expandsSelectedPaths;
243
  ::javax::swing::tree::TreePath * anchorSelectionPath;
244
public: // actually package-private
245
  ::java::util::Hashtable * nodeStates;
246
public: // actually protected
247
  ::javax::swing::tree::TreeCellEditor * cellEditor;
248
  ::javax::swing::tree::TreeCellRenderer * cellRenderer;
249
  jboolean editable;
250
  jboolean invokesStopCellEditing;
251
  jboolean largeModel;
252
  jboolean rootVisible;
253
  jint rowHeight;
254
  jboolean scrollsOnExpand;
255
  ::javax::swing::tree::TreeSelectionModel * selectionModel;
256
  jboolean showsRootHandles;
257
  jint toggleClickCount;
258
  ::javax::swing::tree::TreeModel * treeModel;
259
  jint visibleRowCount;
260
  ::javax::swing::event::TreeModelListener * treeModelListener;
261
  ::javax::swing::JTree$TreeSelectionRedirector * selectionRedirector;
262
private:
263
  jboolean clientRowHeightSet;
264
  jboolean clientScrollsOnExpandSet;
265
  jboolean clientShowsRootHandlesSet;
266
public:
267
  static ::java::lang::Class class$;
268
};
269
 
270
#endif // __javax_swing_JTree__

powered by: WebSVN 2.1.0

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