summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/tree/FixedHeightLayoutCache.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/tree/FixedHeightLayoutCache.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/tree/FixedHeightLayoutCache.h')
-rw-r--r--libjava/javax/swing/tree/FixedHeightLayoutCache.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/libjava/javax/swing/tree/FixedHeightLayoutCache.h b/libjava/javax/swing/tree/FixedHeightLayoutCache.h
new file mode 100644
index 000000000..863ccd9f0
--- /dev/null
+++ b/libjava/javax/swing/tree/FixedHeightLayoutCache.h
@@ -0,0 +1,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__