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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [tree/] [VariableHeightLayoutCache.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_tree_VariableHeightLayoutCache__
5
#define __javax_swing_tree_VariableHeightLayoutCache__
6
 
7
#pragma interface
8
 
9
#include <javax/swing/tree/AbstractLayoutCache.h>
10
extern "Java"
11
{
12
  namespace java
13
  {
14
    namespace awt
15
    {
16
        class Rectangle;
17
    }
18
  }
19
  namespace javax
20
  {
21
    namespace swing
22
    {
23
      namespace event
24
      {
25
          class TreeModelEvent;
26
      }
27
      namespace tree
28
      {
29
          class AbstractLayoutCache$NodeDimensions;
30
          class TreeModel;
31
          class TreePath;
32
          class VariableHeightLayoutCache;
33
      }
34
    }
35
  }
36
}
37
 
38
class javax::swing::tree::VariableHeightLayoutCache : public ::javax::swing::tree::AbstractLayoutCache
39
{
40
 
41
public:
42
  VariableHeightLayoutCache();
43
  virtual jint getRowCount();
44
private:
45
  void update();
46
  jint countRows(::java::lang::Object *, ::java::lang::Object *, jint, jint);
47
public:
48
  virtual void invalidatePathBounds(::javax::swing::tree::TreePath *);
49
  virtual void invalidateSizes();
50
  virtual void setExpandedState(::javax::swing::tree::TreePath *, jboolean);
51
  virtual jboolean isExpanded(::javax::swing::tree::TreePath *);
52
  virtual ::java::awt::Rectangle * getBounds(::javax::swing::tree::TreePath *, ::java::awt::Rectangle *);
53
  virtual ::javax::swing::tree::TreePath * getPathForRow(jint);
54
  virtual jint getRowForPath(::javax::swing::tree::TreePath *);
55
  virtual ::javax::swing::tree::TreePath * getPathClosestTo(jint, jint);
56
public: // actually package-private
57
  virtual jint distance(::java::awt::Rectangle *, jint, jint);
58
public:
59
  virtual jint getVisibleChildCount(::javax::swing::tree::TreePath *);
60
  virtual ::java::util::Enumeration * getVisiblePathsFrom(::javax::swing::tree::TreePath *);
61
  virtual jboolean getExpandedState(::javax::swing::tree::TreePath *);
62
  virtual void treeNodesChanged(::javax::swing::event::TreeModelEvent *);
63
  virtual void treeNodesInserted(::javax::swing::event::TreeModelEvent *);
64
  virtual void treeNodesRemoved(::javax::swing::event::TreeModelEvent *);
65
  virtual void treeStructureChanged(::javax::swing::event::TreeModelEvent *);
66
  virtual void setModel(::javax::swing::tree::TreeModel *);
67
  virtual void setRootVisible(jboolean);
68
  virtual jint getPreferredHeight();
69
  virtual jint getPreferredWidth(::java::awt::Rectangle *);
70
  virtual void setNodeDimensions(::javax::swing::tree::AbstractLayoutCache$NodeDimensions *);
71
  virtual void setRowHeight(jint);
72
private:
73
  static ::java::awt::Rectangle * RECT_CACHE;
74
public: // actually package-private
75
  ::java::util::Set * __attribute__((aligned(__alignof__( ::javax::swing::tree::AbstractLayoutCache)))) expanded;
76
  ::java::util::Hashtable * nodes;
77
  ::java::util::ArrayList * row2node;
78
  jboolean dirty;
79
  jint totalHeight;
80
  jint maximalWidth;
81
public:
82
  static ::java::lang::Class class$;
83
};
84
 
85
#endif // __javax_swing_tree_VariableHeightLayoutCache__

powered by: WebSVN 2.1.0

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