summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/tree/FixedHeightLayoutCache.h
blob: 863ccd9f06c0af230a459a29b0191fd6216d8589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_tree_FixedHeightLayoutCache__
#define __javax_swing_tree_FixedHeightLayoutCache__

#pragma interface

#include <javax/swing/tree/VariableHeightLayoutCache.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Rectangle;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace event
      {
          class TreeModelEvent;
      }
      namespace tree
      {
          class FixedHeightLayoutCache;
          class TreeModel;
          class TreePath;
      }
    }
  }
}

class javax::swing::tree::FixedHeightLayoutCache : public ::javax::swing::tree::VariableHeightLayoutCache
{

public:
  FixedHeightLayoutCache();
  virtual jint getRowCount();
private:
  void update();
  void countRows(::java::lang::Object *, ::java::lang::Object *, jint);
public:
  virtual void invalidatePathBounds(::javax::swing::tree::TreePath *);
  virtual void invalidateSizes();
  virtual void setExpandedState(::javax::swing::tree::TreePath *, jboolean);
  virtual jboolean isExpanded(::javax::swing::tree::TreePath *);
  virtual ::java::awt::Rectangle * getBounds(::javax::swing::tree::TreePath *, ::java::awt::Rectangle *);
  virtual ::javax::swing::tree::TreePath * getPathForRow(jint);
  virtual jint getRowForPath(::javax::swing::tree::TreePath *);
  virtual ::javax::swing::tree::TreePath * getPathClosestTo(jint, jint);
public: // actually package-private
  virtual jint distance(::java::awt::Rectangle *, jint, jint);
public:
  virtual jint getVisibleChildCount(::javax::swing::tree::TreePath *);
  virtual ::java::util::Enumeration * getVisiblePathsFrom(::javax::swing::tree::TreePath *);
  virtual jboolean getExpandedState(::javax::swing::tree::TreePath *);
  virtual void treeNodesChanged(::javax::swing::event::TreeModelEvent *);
  virtual void treeNodesInserted(::javax::swing::event::TreeModelEvent *);
  virtual void treeNodesRemoved(::javax::swing::event::TreeModelEvent *);
  virtual void treeStructureChanged(::javax::swing::event::TreeModelEvent *);
  virtual void setModel(::javax::swing::tree::TreeModel *);
  virtual void setRootVisible(jboolean);
  virtual jint getPreferredHeight();
  virtual jint getPreferredWidth(::java::awt::Rectangle *);
public: // actually protected
  virtual jboolean isFixedRowHeight();
public: // actually package-private
  ::java::util::Set * __attribute__((aligned(__alignof__( ::javax::swing::tree::VariableHeightLayoutCache)))) expanded;
  ::java::util::Hashtable * nodes;
  ::java::util::Hashtable * row2node;
  jboolean dirty;
  jint totalHeight;
  jint maximalWidth;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_tree_FixedHeightLayoutCache__