diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/tree | |
download | cbb-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')
26 files changed, 1622 insertions, 0 deletions
diff --git a/libjava/javax/swing/tree/AbstractLayoutCache$NodeDimensions.h b/libjava/javax/swing/tree/AbstractLayoutCache$NodeDimensions.h new file mode 100644 index 000000000..88eca9e7b --- /dev/null +++ b/libjava/javax/swing/tree/AbstractLayoutCache$NodeDimensions.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_AbstractLayoutCache$NodeDimensions__ +#define __javax_swing_tree_AbstractLayoutCache$NodeDimensions__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace tree + { + class AbstractLayoutCache$NodeDimensions; + } + } + } +} + +class javax::swing::tree::AbstractLayoutCache$NodeDimensions : public ::java::lang::Object +{ + +public: + AbstractLayoutCache$NodeDimensions(); + virtual ::java::awt::Rectangle * getNodeDimensions(::java::lang::Object *, jint, jint, jboolean, ::java::awt::Rectangle *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_AbstractLayoutCache$NodeDimensions__ diff --git a/libjava/javax/swing/tree/AbstractLayoutCache.h b/libjava/javax/swing/tree/AbstractLayoutCache.h new file mode 100644 index 000000000..d51c8e852 --- /dev/null +++ b/libjava/javax/swing/tree/AbstractLayoutCache.h @@ -0,0 +1,89 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_AbstractLayoutCache__ +#define __javax_swing_tree_AbstractLayoutCache__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class TreeModelEvent; + } + namespace tree + { + class AbstractLayoutCache; + class AbstractLayoutCache$NodeDimensions; + class TreeModel; + class TreePath; + class TreeSelectionModel; + } + } + } +} + +class javax::swing::tree::AbstractLayoutCache : public ::java::lang::Object +{ + +public: + AbstractLayoutCache(); + virtual void setNodeDimensions(::javax::swing::tree::AbstractLayoutCache$NodeDimensions *); + virtual ::javax::swing::tree::AbstractLayoutCache$NodeDimensions * getNodeDimensions(); +public: // actually protected + virtual ::java::awt::Rectangle * getNodeDimensions(::java::lang::Object *, jint, jint, jboolean, ::java::awt::Rectangle *); +public: + virtual void setModel(::javax::swing::tree::TreeModel *); + virtual ::javax::swing::tree::TreeModel * getModel(); + virtual void setRootVisible(jboolean); + virtual jboolean isRootVisible(); + virtual void setRowHeight(jint); + virtual jint getRowHeight(); + virtual void setSelectionModel(::javax::swing::tree::TreeSelectionModel *); + virtual ::javax::swing::tree::TreeSelectionModel * getSelectionModel(); + virtual jint getPreferredHeight(); + virtual jint getPreferredWidth(::java::awt::Rectangle *); + virtual jboolean isExpanded(::javax::swing::tree::TreePath *) = 0; + virtual ::java::awt::Rectangle * getBounds(::javax::swing::tree::TreePath *, ::java::awt::Rectangle *) = 0; + virtual ::javax::swing::tree::TreePath * getPathForRow(jint) = 0; + virtual jint getRowForPath(::javax::swing::tree::TreePath *) = 0; + virtual ::javax::swing::tree::TreePath * getPathClosestTo(jint, jint) = 0; + virtual ::java::util::Enumeration * getVisiblePathsFrom(::javax::swing::tree::TreePath *) = 0; + virtual jint getVisibleChildCount(::javax::swing::tree::TreePath *) = 0; + virtual void setExpandedState(::javax::swing::tree::TreePath *, jboolean) = 0; + virtual jboolean getExpandedState(::javax::swing::tree::TreePath *) = 0; + virtual jint getRowCount() = 0; + virtual void invalidateSizes() = 0; + virtual void invalidatePathBounds(::javax::swing::tree::TreePath *) = 0; + virtual void treeNodesChanged(::javax::swing::event::TreeModelEvent *) = 0; + virtual void treeNodesInserted(::javax::swing::event::TreeModelEvent *) = 0; + virtual void treeNodesRemoved(::javax::swing::event::TreeModelEvent *) = 0; + virtual void treeStructureChanged(::javax::swing::event::TreeModelEvent *) = 0; + virtual JArray< jint > * getRowsForPaths(JArray< ::javax::swing::tree::TreePath * > *); +public: // actually protected + virtual jboolean isFixedRowHeight(); + ::javax::swing::tree::AbstractLayoutCache$NodeDimensions * __attribute__((aligned(__alignof__( ::java::lang::Object)))) nodeDimensions; + ::javax::swing::tree::TreeModel * treeModel; + ::javax::swing::tree::TreeSelectionModel * treeSelectionModel; + jboolean rootVisible; + jint rowHeight; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_AbstractLayoutCache__ diff --git a/libjava/javax/swing/tree/DefaultMutableTreeNode$BreadthFirstEnumeration.h b/libjava/javax/swing/tree/DefaultMutableTreeNode$BreadthFirstEnumeration.h new file mode 100644 index 000000000..9c13e7591 --- /dev/null +++ b/libjava/javax/swing/tree/DefaultMutableTreeNode$BreadthFirstEnumeration.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultMutableTreeNode$BreadthFirstEnumeration__ +#define __javax_swing_tree_DefaultMutableTreeNode$BreadthFirstEnumeration__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class DefaultMutableTreeNode$BreadthFirstEnumeration; + class TreeNode; + } + } + } +} + +class javax::swing::tree::DefaultMutableTreeNode$BreadthFirstEnumeration : public ::java::lang::Object +{ + +public: // actually package-private + DefaultMutableTreeNode$BreadthFirstEnumeration(::javax::swing::tree::TreeNode *); +public: + virtual jboolean hasMoreElements(); + virtual ::javax::swing::tree::TreeNode * DefaultMutableTreeNode$BreadthFirstEnumeration$nextElement(); + virtual ::java::lang::Object * nextElement(); +public: // actually package-private + ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) queue; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultMutableTreeNode$BreadthFirstEnumeration__ diff --git a/libjava/javax/swing/tree/DefaultMutableTreeNode$PostorderEnumeration.h b/libjava/javax/swing/tree/DefaultMutableTreeNode$PostorderEnumeration.h new file mode 100644 index 000000000..31065d669 --- /dev/null +++ b/libjava/javax/swing/tree/DefaultMutableTreeNode$PostorderEnumeration.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultMutableTreeNode$PostorderEnumeration__ +#define __javax_swing_tree_DefaultMutableTreeNode$PostorderEnumeration__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class DefaultMutableTreeNode$PostorderEnumeration; + class TreeNode; + } + } + } +} + +class javax::swing::tree::DefaultMutableTreeNode$PostorderEnumeration : public ::java::lang::Object +{ + +public: // actually package-private + DefaultMutableTreeNode$PostorderEnumeration(::javax::swing::tree::TreeNode *); +public: + virtual jboolean hasMoreElements(); + virtual ::javax::swing::tree::TreeNode * DefaultMutableTreeNode$PostorderEnumeration$nextElement(); +private: + ::javax::swing::tree::TreeNode * traverse(::java::util::Enumeration *); +public: + virtual ::java::lang::Object * nextElement(); +public: // actually package-private + ::java::util::Stack * __attribute__((aligned(__alignof__( ::java::lang::Object)))) nodes; + ::java::util::Stack * childrenEnums; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultMutableTreeNode$PostorderEnumeration__ diff --git a/libjava/javax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration.h b/libjava/javax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration.h new file mode 100644 index 000000000..98117b06f --- /dev/null +++ b/libjava/javax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultMutableTreeNode$PreorderEnumeration__ +#define __javax_swing_tree_DefaultMutableTreeNode$PreorderEnumeration__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class DefaultMutableTreeNode$PreorderEnumeration; + class TreeNode; + } + } + } +} + +class javax::swing::tree::DefaultMutableTreeNode$PreorderEnumeration : public ::java::lang::Object +{ + +public: // actually package-private + DefaultMutableTreeNode$PreorderEnumeration(::javax::swing::tree::TreeNode *); +public: + virtual jboolean hasMoreElements(); + virtual ::javax::swing::tree::TreeNode * DefaultMutableTreeNode$PreorderEnumeration$nextElement(); +private: + ::javax::swing::tree::TreeNode * traverse(::java::util::Enumeration *); +public: + virtual ::java::lang::Object * nextElement(); +public: // actually package-private + ::javax::swing::tree::TreeNode * __attribute__((aligned(__alignof__( ::java::lang::Object)))) next; + ::java::util::Stack * childrenEnums; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultMutableTreeNode$PreorderEnumeration__ diff --git a/libjava/javax/swing/tree/DefaultMutableTreeNode.h b/libjava/javax/swing/tree/DefaultMutableTreeNode.h new file mode 100644 index 000000000..b5a465323 --- /dev/null +++ b/libjava/javax/swing/tree/DefaultMutableTreeNode.h @@ -0,0 +1,105 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultMutableTreeNode__ +#define __javax_swing_tree_DefaultMutableTreeNode__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class DefaultMutableTreeNode; + class MutableTreeNode; + class TreeNode; + } + } + } +} + +class javax::swing::tree::DefaultMutableTreeNode : public ::java::lang::Object +{ + +public: + DefaultMutableTreeNode(); + DefaultMutableTreeNode(::java::lang::Object *); + DefaultMutableTreeNode(::java::lang::Object *, jboolean); + virtual ::java::lang::Object * clone(); + virtual ::java::lang::String * toString(); + virtual void add(::javax::swing::tree::MutableTreeNode *); + virtual ::javax::swing::tree::TreeNode * getParent(); + virtual void remove(jint); + virtual void remove(::javax::swing::tree::MutableTreeNode *); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); +public: + virtual void insert(::javax::swing::tree::MutableTreeNode *, jint); + virtual JArray< ::javax::swing::tree::TreeNode * > * getPath(); + virtual ::java::util::Enumeration * children(); + virtual void setParent(::javax::swing::tree::MutableTreeNode *); + virtual ::javax::swing::tree::TreeNode * getChildAt(jint); + virtual jint getChildCount(); + virtual jint getIndex(::javax::swing::tree::TreeNode *); + virtual void setAllowsChildren(jboolean); + virtual jboolean getAllowsChildren(); + virtual void setUserObject(::java::lang::Object *); + virtual ::java::lang::Object * getUserObject(); + virtual void removeFromParent(); + virtual void removeAllChildren(); + virtual jboolean isNodeAncestor(::javax::swing::tree::TreeNode *); + virtual jboolean isNodeDescendant(::javax::swing::tree::DefaultMutableTreeNode *); + virtual ::javax::swing::tree::TreeNode * getSharedAncestor(::javax::swing::tree::DefaultMutableTreeNode *); + virtual jboolean isNodeRelated(::javax::swing::tree::DefaultMutableTreeNode *); + virtual jint getDepth(); + virtual jint getLevel(); +public: // actually protected + virtual JArray< ::javax::swing::tree::TreeNode * > * getPathToRoot(::javax::swing::tree::TreeNode *, jint); +public: + virtual JArray< ::java::lang::Object * > * getUserObjectPath(); + virtual ::javax::swing::tree::TreeNode * getRoot(); + virtual jboolean isRoot(); + virtual ::javax::swing::tree::DefaultMutableTreeNode * getNextNode(); + virtual ::javax::swing::tree::DefaultMutableTreeNode * getPreviousNode(); + virtual ::java::util::Enumeration * preorderEnumeration(); + virtual ::java::util::Enumeration * postorderEnumeration(); + virtual ::java::util::Enumeration * breadthFirstEnumeration(); + virtual ::java::util::Enumeration * depthFirstEnumeration(); + virtual ::java::util::Enumeration * pathFromAncestorEnumeration(::javax::swing::tree::TreeNode *); + virtual jboolean isNodeChild(::javax::swing::tree::TreeNode *); + virtual ::javax::swing::tree::TreeNode * getFirstChild(); + virtual ::javax::swing::tree::TreeNode * getLastChild(); + virtual ::javax::swing::tree::TreeNode * getChildAfter(::javax::swing::tree::TreeNode *); + virtual ::javax::swing::tree::TreeNode * getChildBefore(::javax::swing::tree::TreeNode *); + virtual jboolean isNodeSibling(::javax::swing::tree::TreeNode *); + virtual jint getSiblingCount(); + virtual ::javax::swing::tree::DefaultMutableTreeNode * getNextSibling(); + virtual ::javax::swing::tree::DefaultMutableTreeNode * getPreviousSibling(); + virtual jboolean isLeaf(); + virtual ::javax::swing::tree::DefaultMutableTreeNode * getFirstLeaf(); + virtual ::javax::swing::tree::DefaultMutableTreeNode * getLastLeaf(); + virtual ::javax::swing::tree::DefaultMutableTreeNode * getNextLeaf(); + virtual ::javax::swing::tree::DefaultMutableTreeNode * getPreviousLeaf(); + virtual jint getLeafCount(); +private: + static const jlong serialVersionUID = -4298474751201349152LL; +public: + static ::java::util::Enumeration * EMPTY_ENUMERATION; +public: // actually protected + ::javax::swing::tree::MutableTreeNode * __attribute__((aligned(__alignof__( ::java::lang::Object)))) parent; + ::java::util::Vector * children__; + ::java::lang::Object * userObject; + jboolean allowsChildren; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultMutableTreeNode__ diff --git a/libjava/javax/swing/tree/DefaultTreeCellEditor$DefaultTextField.h b/libjava/javax/swing/tree/DefaultTreeCellEditor$DefaultTextField.h new file mode 100644 index 000000000..a09a8dcbe --- /dev/null +++ b/libjava/javax/swing/tree/DefaultTreeCellEditor$DefaultTextField.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultTreeCellEditor$DefaultTextField__ +#define __javax_swing_tree_DefaultTreeCellEditor$DefaultTextField__ + +#pragma interface + +#include <javax/swing/JTextField.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Dimension; + class Font; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class Border; + } + namespace tree + { + class DefaultTreeCellEditor; + class DefaultTreeCellEditor$DefaultTextField; + } + } + } +} + +class javax::swing::tree::DefaultTreeCellEditor$DefaultTextField : public ::javax::swing::JTextField +{ + +public: + DefaultTreeCellEditor$DefaultTextField(::javax::swing::tree::DefaultTreeCellEditor *, ::javax::swing::border::Border *); + virtual ::java::awt::Font * getFont(); + virtual ::javax::swing::border::Border * getBorder(); + virtual ::java::awt::Dimension * getPreferredSize(); +public: // actually package-private + static const jlong serialVersionUID = -6629304544265300143LL; +public: // actually protected + ::javax::swing::border::Border * __attribute__((aligned(__alignof__( ::javax::swing::JTextField)))) border; +public: // actually package-private + ::javax::swing::tree::DefaultTreeCellEditor * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultTreeCellEditor$DefaultTextField__ diff --git a/libjava/javax/swing/tree/DefaultTreeCellEditor$EditorContainer.h b/libjava/javax/swing/tree/DefaultTreeCellEditor$EditorContainer.h new file mode 100644 index 000000000..554543398 --- /dev/null +++ b/libjava/javax/swing/tree/DefaultTreeCellEditor$EditorContainer.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultTreeCellEditor$EditorContainer__ +#define __javax_swing_tree_DefaultTreeCellEditor$EditorContainer__ + +#pragma interface + +#include <java/awt/Container.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Dimension; + class Graphics; + } + } + namespace javax + { + namespace swing + { + namespace tree + { + class DefaultTreeCellEditor; + class DefaultTreeCellEditor$EditorContainer; + } + } + } +} + +class javax::swing::tree::DefaultTreeCellEditor$EditorContainer : public ::java::awt::Container +{ + +public: + DefaultTreeCellEditor$EditorContainer(::javax::swing::tree::DefaultTreeCellEditor *); + virtual void EditorContainer(); + virtual void paint(::java::awt::Graphics *); + virtual void doLayout(); + virtual ::java::awt::Dimension * getPreferredSize(); +public: // actually package-private + static const jlong serialVersionUID = 6470339600449699810LL; + ::javax::swing::tree::DefaultTreeCellEditor * __attribute__((aligned(__alignof__( ::java::awt::Container)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultTreeCellEditor$EditorContainer__ diff --git a/libjava/javax/swing/tree/DefaultTreeCellEditor.h b/libjava/javax/swing/tree/DefaultTreeCellEditor.h new file mode 100644 index 000000000..bac3f21ad --- /dev/null +++ b/libjava/javax/swing/tree/DefaultTreeCellEditor.h @@ -0,0 +1,110 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultTreeCellEditor__ +#define __javax_swing_tree_DefaultTreeCellEditor__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Container; + class Font; + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + class Icon; + class JTree; + class Timer; + namespace event + { + class CellEditorListener; + class EventListenerList; + class TreeSelectionEvent; + } + namespace tree + { + class DefaultTreeCellEditor; + class DefaultTreeCellRenderer; + class TreeCellEditor; + class TreePath; + } + } + } +} + +class javax::swing::tree::DefaultTreeCellEditor : public ::java::lang::Object +{ + +public: + DefaultTreeCellEditor(::javax::swing::JTree *, ::javax::swing::tree::DefaultTreeCellRenderer *); + DefaultTreeCellEditor(::javax::swing::JTree *, ::javax::swing::tree::DefaultTreeCellRenderer *, ::javax::swing::tree::TreeCellEditor *); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); +public: + virtual void setBorderSelectionColor(::java::awt::Color *); + virtual ::java::awt::Color * getBorderSelectionColor(); + virtual void setFont(::java::awt::Font *); + virtual ::java::awt::Font * getFont(); + virtual ::java::awt::Component * getTreeCellEditorComponent(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint); + virtual ::java::lang::Object * getCellEditorValue(); + virtual jboolean isCellEditable(::java::util::EventObject *); + virtual jboolean shouldSelectCell(::java::util::EventObject *); + virtual jboolean stopCellEditing(); + virtual void cancelCellEditing(); +private: + void finish(); +public: + virtual void addCellEditorListener(::javax::swing::event::CellEditorListener *); + virtual void removeCellEditorListener(::javax::swing::event::CellEditorListener *); + virtual JArray< ::javax::swing::event::CellEditorListener * > * getCellEditorListeners(); + virtual void valueChanged(::javax::swing::event::TreeSelectionEvent *); + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually protected + virtual void setTree(::javax::swing::JTree *); + virtual jboolean shouldStartEditingTimer(::java::util::EventObject *); + virtual void startEditingTimer(); + virtual jboolean canEditImmediately(::java::util::EventObject *); + virtual jboolean inHitRegion(jint, jint); + virtual void determineOffset(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint); + virtual void prepareForEditing(); + virtual ::java::awt::Container * createContainer(); + virtual ::javax::swing::tree::TreeCellEditor * createTreeCellEditor(); +private: + ::javax::swing::event::EventListenerList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) listenerList; +public: // actually protected + ::javax::swing::tree::TreeCellEditor * realEditor; + ::javax::swing::tree::DefaultTreeCellRenderer * renderer; + ::java::awt::Container * editingContainer; + ::java::awt::Component * editingComponent; + jboolean canEdit; + jint offset; + ::javax::swing::JTree * tree; + ::javax::swing::tree::TreePath * lastPath; + ::javax::swing::Timer * timer; + jint lastRow; + ::java::awt::Color * borderSelectionColor; + ::javax::swing::Icon * editingIcon; + ::java::awt::Font * font; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultTreeCellEditor__ diff --git a/libjava/javax/swing/tree/DefaultTreeCellRenderer.h b/libjava/javax/swing/tree/DefaultTreeCellRenderer.h new file mode 100644 index 000000000..5677bad36 --- /dev/null +++ b/libjava/javax/swing/tree/DefaultTreeCellRenderer.h @@ -0,0 +1,105 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultTreeCellRenderer__ +#define __javax_swing_tree_DefaultTreeCellRenderer__ + +#pragma interface + +#include <javax/swing/JLabel.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Dimension; + class Font; + class Graphics; + class Rectangle; + } + } + namespace javax + { + namespace swing + { + class Icon; + class JTree; + namespace tree + { + class DefaultTreeCellRenderer; + } + } + } +} + +class javax::swing::tree::DefaultTreeCellRenderer : public ::javax::swing::JLabel +{ + +public: + DefaultTreeCellRenderer(); + virtual ::javax::swing::Icon * getDefaultOpenIcon(); + virtual ::javax::swing::Icon * getDefaultClosedIcon(); + virtual ::javax::swing::Icon * getDefaultLeafIcon(); + virtual void setOpenIcon(::javax::swing::Icon *); + virtual ::javax::swing::Icon * getOpenIcon(); + virtual void setClosedIcon(::javax::swing::Icon *); + virtual ::javax::swing::Icon * getClosedIcon(); + virtual void setLeafIcon(::javax::swing::Icon *); + virtual ::javax::swing::Icon * getLeafIcon(); + virtual void setTextSelectionColor(::java::awt::Color *); + virtual ::java::awt::Color * getTextSelectionColor(); + virtual void setTextNonSelectionColor(::java::awt::Color *); + virtual ::java::awt::Color * getTextNonSelectionColor(); + virtual void setBackgroundSelectionColor(::java::awt::Color *); + virtual ::java::awt::Color * getBackgroundSelectionColor(); + virtual void setBackgroundNonSelectionColor(::java::awt::Color *); + virtual ::java::awt::Color * getBackgroundNonSelectionColor(); + virtual void setBorderSelectionColor(::java::awt::Color *); + virtual ::java::awt::Color * getBorderSelectionColor(); + virtual void setFont(::java::awt::Font *); + virtual void setBackground(::java::awt::Color *); + virtual ::java::awt::Component * getTreeCellRendererComponent(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint, jboolean); + virtual ::java::awt::Font * getFont(); + virtual void paint(::java::awt::Graphics *); +private: + void paintFocus(::java::awt::Graphics *, jint, jint, jint, jint); + jint getXOffset(); +public: + virtual ::java::awt::Dimension * getPreferredSize(); + virtual void validate(); + virtual void revalidate(); + virtual void repaint(jlong, jint, jint, jint, jint); + virtual void repaint(::java::awt::Rectangle *); +public: // actually protected + virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *); +public: + virtual void firePropertyChange(::java::lang::String *, jbyte, jbyte); + virtual void firePropertyChange(::java::lang::String *, jchar, jchar); + virtual void firePropertyChange(::java::lang::String *, jshort, jshort); + virtual void firePropertyChange(::java::lang::String *, jint, jint); + virtual void firePropertyChange(::java::lang::String *, jlong, jlong); + virtual void firePropertyChange(::java::lang::String *, jfloat, jfloat); + virtual void firePropertyChange(::java::lang::String *, jdouble, jdouble); + virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean); +public: // actually protected + jboolean __attribute__((aligned(__alignof__( ::javax::swing::JLabel)))) selected; + jboolean hasFocus; +private: + jboolean drawsFocusBorderAroundIcon; +public: // actually protected + ::javax::swing::Icon * closedIcon; + ::javax::swing::Icon * leafIcon; + ::javax::swing::Icon * openIcon; + ::java::awt::Color * textSelectionColor; + ::java::awt::Color * textNonSelectionColor; + ::java::awt::Color * backgroundSelectionColor; + ::java::awt::Color * backgroundNonSelectionColor; + ::java::awt::Color * borderSelectionColor; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultTreeCellRenderer__ diff --git a/libjava/javax/swing/tree/DefaultTreeModel.h b/libjava/javax/swing/tree/DefaultTreeModel.h new file mode 100644 index 000000000..18deb18fa --- /dev/null +++ b/libjava/javax/swing/tree/DefaultTreeModel.h @@ -0,0 +1,86 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultTreeModel__ +#define __javax_swing_tree_DefaultTreeModel__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class EventListenerList; + class TreeModelListener; + } + namespace tree + { + class DefaultTreeModel; + class MutableTreeNode; + class TreeNode; + class TreePath; + } + } + } +} + +class javax::swing::tree::DefaultTreeModel : public ::java::lang::Object +{ + +public: + DefaultTreeModel(::javax::swing::tree::TreeNode *); + DefaultTreeModel(::javax::swing::tree::TreeNode *, jboolean); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); +public: + virtual jboolean asksAllowsChildren(); + virtual void setAsksAllowsChildren(jboolean); + virtual void setRoot(::javax::swing::tree::TreeNode *); + virtual ::java::lang::Object * getRoot(); + virtual jint getIndexOfChild(::java::lang::Object *, ::java::lang::Object *); + virtual ::java::lang::Object * getChild(::java::lang::Object *, jint); + virtual jint getChildCount(::java::lang::Object *); + virtual jboolean isLeaf(::java::lang::Object *); + virtual void reload(); + virtual void reload(::javax::swing::tree::TreeNode *); + virtual void valueForPathChanged(::javax::swing::tree::TreePath *, ::java::lang::Object *); + virtual void insertNodeInto(::javax::swing::tree::MutableTreeNode *, ::javax::swing::tree::MutableTreeNode *, jint); + virtual void removeNodeFromParent(::javax::swing::tree::MutableTreeNode *); + virtual void nodeChanged(::javax::swing::tree::TreeNode *); + virtual void nodesWereInserted(::javax::swing::tree::TreeNode *, JArray< jint > *); + virtual void nodesWereRemoved(::javax::swing::tree::TreeNode *, JArray< jint > *, JArray< ::java::lang::Object * > *); + virtual void nodesChanged(::javax::swing::tree::TreeNode *, JArray< jint > *); + virtual void nodeStructureChanged(::javax::swing::tree::TreeNode *); + virtual JArray< ::javax::swing::tree::TreeNode * > * getPathToRoot(::javax::swing::tree::TreeNode *); +public: // actually protected + virtual JArray< ::javax::swing::tree::TreeNode * > * getPathToRoot(::javax::swing::tree::TreeNode *, jint); +public: + virtual void addTreeModelListener(::javax::swing::event::TreeModelListener *); + virtual void removeTreeModelListener(::javax::swing::event::TreeModelListener *); + virtual JArray< ::javax::swing::event::TreeModelListener * > * getTreeModelListeners(); +public: // actually protected + virtual void fireTreeNodesChanged(::java::lang::Object *, JArray< ::java::lang::Object * > *, JArray< jint > *, JArray< ::java::lang::Object * > *); + virtual void fireTreeNodesInserted(::java::lang::Object *, JArray< ::java::lang::Object * > *, JArray< jint > *, JArray< ::java::lang::Object * > *); + virtual void fireTreeNodesRemoved(::java::lang::Object *, JArray< ::java::lang::Object * > *, JArray< jint > *, JArray< ::java::lang::Object * > *); + virtual void fireTreeStructureChanged(::java::lang::Object *, JArray< ::java::lang::Object * > *, JArray< jint > *, JArray< ::java::lang::Object * > *); +public: + virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *); +public: // actually package-private + static const jlong serialVersionUID = -2621068368932566998LL; +public: // actually protected + ::javax::swing::tree::TreeNode * __attribute__((aligned(__alignof__( ::java::lang::Object)))) root; + ::javax::swing::event::EventListenerList * listenerList; + jboolean asksAllowsChildren__; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultTreeModel__ diff --git a/libjava/javax/swing/tree/DefaultTreeSelectionModel$PathPlaceHolder.h b/libjava/javax/swing/tree/DefaultTreeSelectionModel$PathPlaceHolder.h new file mode 100644 index 000000000..c9544bb46 --- /dev/null +++ b/libjava/javax/swing/tree/DefaultTreeSelectionModel$PathPlaceHolder.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultTreeSelectionModel$PathPlaceHolder__ +#define __javax_swing_tree_DefaultTreeSelectionModel$PathPlaceHolder__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class DefaultTreeSelectionModel$PathPlaceHolder; + class TreePath; + } + } + } +} + +class javax::swing::tree::DefaultTreeSelectionModel$PathPlaceHolder : public ::java::lang::Object +{ + +public: // actually package-private + DefaultTreeSelectionModel$PathPlaceHolder(::javax::swing::tree::TreePath *, jboolean); + ::javax::swing::tree::TreePath * __attribute__((aligned(__alignof__( ::java::lang::Object)))) path; + jboolean isNew; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultTreeSelectionModel$PathPlaceHolder__ diff --git a/libjava/javax/swing/tree/DefaultTreeSelectionModel.h b/libjava/javax/swing/tree/DefaultTreeSelectionModel.h new file mode 100644 index 000000000..07a358d15 --- /dev/null +++ b/libjava/javax/swing/tree/DefaultTreeSelectionModel.h @@ -0,0 +1,119 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_DefaultTreeSelectionModel__ +#define __javax_swing_tree_DefaultTreeSelectionModel__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeListener; + } + } + namespace javax + { + namespace swing + { + class DefaultListSelectionModel; + namespace event + { + class EventListenerList; + class SwingPropertyChangeSupport; + class TreeSelectionEvent; + class TreeSelectionListener; + } + namespace tree + { + class DefaultTreeSelectionModel; + class RowMapper; + class TreePath; + } + } + } +} + +class javax::swing::tree::DefaultTreeSelectionModel : public ::java::lang::Object +{ + +public: + DefaultTreeSelectionModel(); + virtual ::java::lang::Object * clone(); + virtual ::java::lang::String * toString(); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); +public: + virtual void setRowMapper(::javax::swing::tree::RowMapper *); + virtual ::javax::swing::tree::RowMapper * getRowMapper(); + virtual void setSelectionMode(jint); + virtual jint getSelectionMode(); + virtual void setSelectionPath(::javax::swing::tree::TreePath *); +public: // actually package-private + virtual jint getRow(::javax::swing::tree::TreePath *); +public: + virtual void setSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *); + virtual void addSelectionPath(::javax::swing::tree::TreePath *); + virtual void addSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *); + virtual void removeSelectionPath(::javax::swing::tree::TreePath *); + virtual void removeSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *); + virtual ::javax::swing::tree::TreePath * getSelectionPath(); + virtual JArray< ::javax::swing::tree::TreePath * > * getSelectionPaths(); + virtual jint getSelectionCount(); + virtual jboolean isPathSelected(::javax::swing::tree::TreePath *); + virtual jboolean isSelectionEmpty(); + virtual void clearSelection(); + virtual void addTreeSelectionListener(::javax::swing::event::TreeSelectionListener *); + virtual void removeTreeSelectionListener(::javax::swing::event::TreeSelectionListener *); + virtual JArray< ::javax::swing::event::TreeSelectionListener * > * getTreeSelectionListeners(); +public: // actually protected + virtual void fireValueChanged(::javax::swing::event::TreeSelectionEvent *); +public: + virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *); + virtual JArray< jint > * getSelectionRows(); + virtual jint getMinSelectionRow(); + virtual jint getMaxSelectionRow(); + virtual jboolean isRowSelected(jint); + virtual void resetRowSelection(); + virtual jint getLeadSelectionRow(); + virtual ::javax::swing::tree::TreePath * getLeadSelectionPath(); + virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *); + virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *); + virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(); +public: // actually protected + virtual void insureRowContinuity(); + virtual jboolean arePathsContiguous(JArray< ::javax::swing::tree::TreePath * > *); + virtual jboolean canPathsBeAdded(JArray< ::javax::swing::tree::TreePath * > *); + virtual jboolean canPathsBeRemoved(JArray< ::javax::swing::tree::TreePath * > *); + virtual void notifyPathChange(::java::util::Vector *, ::javax::swing::tree::TreePath *); + virtual void updateLeadIndex(); + virtual void insureUniqueness(); +public: // actually package-private + static const jlong serialVersionUID = 3288129636638950196LL; +public: + static ::java::lang::String * SELECTION_MODE_PROPERTY; +public: // actually protected + ::javax::swing::event::SwingPropertyChangeSupport * __attribute__((aligned(__alignof__( ::java::lang::Object)))) changeSupport; + JArray< ::javax::swing::tree::TreePath * > * selection; + ::javax::swing::event::EventListenerList * listenerList; + ::javax::swing::tree::RowMapper * rowMapper; + ::javax::swing::DefaultListSelectionModel * listSelectionModel; + jint selectionMode; + ::javax::swing::tree::TreePath * leadPath; + jint leadIndex; + jint leadRow; +private: + ::java::util::HashSet * selectedPaths; + ::java::util::HashSet * tmpPaths; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_DefaultTreeSelectionModel__ diff --git a/libjava/javax/swing/tree/ExpandVetoException.h b/libjava/javax/swing/tree/ExpandVetoException.h new file mode 100644 index 000000000..174bcb897 --- /dev/null +++ b/libjava/javax/swing/tree/ExpandVetoException.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_ExpandVetoException__ +#define __javax_swing_tree_ExpandVetoException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class TreeExpansionEvent; + } + namespace tree + { + class ExpandVetoException; + } + } + } +} + +class javax::swing::tree::ExpandVetoException : public ::java::lang::Exception +{ + +public: + ExpandVetoException(::javax::swing::event::TreeExpansionEvent *); + ExpandVetoException(::javax::swing::event::TreeExpansionEvent *, ::java::lang::String *); +public: // actually protected + ::javax::swing::event::TreeExpansionEvent * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) event; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_ExpandVetoException__ diff --git a/libjava/javax/swing/tree/FixedHeightLayoutCache$NodeRecord.h b/libjava/javax/swing/tree/FixedHeightLayoutCache$NodeRecord.h new file mode 100644 index 000000000..7d128e396 --- /dev/null +++ b/libjava/javax/swing/tree/FixedHeightLayoutCache$NodeRecord.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_FixedHeightLayoutCache$NodeRecord__ +#define __javax_swing_tree_FixedHeightLayoutCache$NodeRecord__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace tree + { + class FixedHeightLayoutCache; + class FixedHeightLayoutCache$NodeRecord; + class TreePath; + } + } + } +} + +class javax::swing::tree::FixedHeightLayoutCache$NodeRecord : public ::java::lang::Object +{ + +public: // actually package-private + FixedHeightLayoutCache$NodeRecord(::javax::swing::tree::FixedHeightLayoutCache *, jint, jint, ::java::lang::Object *, ::java::lang::Object *); + virtual ::javax::swing::tree::TreePath * getPath(); + virtual ::java::awt::Rectangle * getBounds(); + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) row; + jint depth; + ::java::lang::Object * parent; + ::java::lang::Object * node; + jboolean isExpanded; + ::java::awt::Rectangle * bounds; +private: + ::javax::swing::tree::TreePath * path; +public: // actually package-private + ::javax::swing::tree::FixedHeightLayoutCache * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_FixedHeightLayoutCache$NodeRecord__ 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__ diff --git a/libjava/javax/swing/tree/MutableTreeNode.h b/libjava/javax/swing/tree/MutableTreeNode.h new file mode 100644 index 000000000..221f6750d --- /dev/null +++ b/libjava/javax/swing/tree/MutableTreeNode.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_MutableTreeNode__ +#define __javax_swing_tree_MutableTreeNode__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class MutableTreeNode; + class TreeNode; + } + } + } +} + +class javax::swing::tree::MutableTreeNode : public ::java::lang::Object +{ + +public: + virtual void insert(::javax::swing::tree::MutableTreeNode *, jint) = 0; + virtual void remove(jint) = 0; + virtual void remove(::javax::swing::tree::MutableTreeNode *) = 0; + virtual void setUserObject(::java::lang::Object *) = 0; + virtual void removeFromParent() = 0; + virtual void setParent(::javax::swing::tree::MutableTreeNode *) = 0; + virtual ::javax::swing::tree::TreeNode * getParent() = 0; + virtual jint getIndex(::javax::swing::tree::TreeNode *) = 0; + virtual ::javax::swing::tree::TreeNode * getChildAt(jint) = 0; + virtual jint getChildCount() = 0; + virtual jboolean getAllowsChildren() = 0; + virtual jboolean isLeaf() = 0; + virtual ::java::util::Enumeration * children() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_tree_MutableTreeNode__ diff --git a/libjava/javax/swing/tree/RowMapper.h b/libjava/javax/swing/tree/RowMapper.h new file mode 100644 index 000000000..d7310d3fc --- /dev/null +++ b/libjava/javax/swing/tree/RowMapper.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_RowMapper__ +#define __javax_swing_tree_RowMapper__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class RowMapper; + class TreePath; + } + } + } +} + +class javax::swing::tree::RowMapper : public ::java::lang::Object +{ + +public: + virtual JArray< jint > * getRowsForPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_tree_RowMapper__ diff --git a/libjava/javax/swing/tree/TreeCellEditor.h b/libjava/javax/swing/tree/TreeCellEditor.h new file mode 100644 index 000000000..0b18ec605 --- /dev/null +++ b/libjava/javax/swing/tree/TreeCellEditor.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_TreeCellEditor__ +#define __javax_swing_tree_TreeCellEditor__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + } + } + namespace javax + { + namespace swing + { + class JTree; + namespace event + { + class CellEditorListener; + } + namespace tree + { + class TreeCellEditor; + } + } + } +} + +class javax::swing::tree::TreeCellEditor : public ::java::lang::Object +{ + +public: + virtual ::java::awt::Component * getTreeCellEditorComponent(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint) = 0; + virtual ::java::lang::Object * getCellEditorValue() = 0; + virtual jboolean isCellEditable(::java::util::EventObject *) = 0; + virtual jboolean shouldSelectCell(::java::util::EventObject *) = 0; + virtual jboolean stopCellEditing() = 0; + virtual void cancelCellEditing() = 0; + virtual void addCellEditorListener(::javax::swing::event::CellEditorListener *) = 0; + virtual void removeCellEditorListener(::javax::swing::event::CellEditorListener *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_tree_TreeCellEditor__ diff --git a/libjava/javax/swing/tree/TreeCellRenderer.h b/libjava/javax/swing/tree/TreeCellRenderer.h new file mode 100644 index 000000000..2043386d1 --- /dev/null +++ b/libjava/javax/swing/tree/TreeCellRenderer.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_TreeCellRenderer__ +#define __javax_swing_tree_TreeCellRenderer__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + } + } + namespace javax + { + namespace swing + { + class JTree; + namespace tree + { + class TreeCellRenderer; + } + } + } +} + +class javax::swing::tree::TreeCellRenderer : public ::java::lang::Object +{ + +public: + virtual ::java::awt::Component * getTreeCellRendererComponent(::javax::swing::JTree *, ::java::lang::Object *, jboolean, jboolean, jboolean, jint, jboolean) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_tree_TreeCellRenderer__ diff --git a/libjava/javax/swing/tree/TreeModel.h b/libjava/javax/swing/tree/TreeModel.h new file mode 100644 index 000000000..981d53fb5 --- /dev/null +++ b/libjava/javax/swing/tree/TreeModel.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_TreeModel__ +#define __javax_swing_tree_TreeModel__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class TreeModelListener; + } + namespace tree + { + class TreeModel; + class TreePath; + } + } + } +} + +class javax::swing::tree::TreeModel : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * getRoot() = 0; + virtual ::java::lang::Object * getChild(::java::lang::Object *, jint) = 0; + virtual jint getChildCount(::java::lang::Object *) = 0; + virtual jboolean isLeaf(::java::lang::Object *) = 0; + virtual void valueForPathChanged(::javax::swing::tree::TreePath *, ::java::lang::Object *) = 0; + virtual jint getIndexOfChild(::java::lang::Object *, ::java::lang::Object *) = 0; + virtual void addTreeModelListener(::javax::swing::event::TreeModelListener *) = 0; + virtual void removeTreeModelListener(::javax::swing::event::TreeModelListener *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_tree_TreeModel__ diff --git a/libjava/javax/swing/tree/TreeNode.h b/libjava/javax/swing/tree/TreeNode.h new file mode 100644 index 000000000..3307c09c6 --- /dev/null +++ b/libjava/javax/swing/tree/TreeNode.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_TreeNode__ +#define __javax_swing_tree_TreeNode__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class TreeNode; + } + } + } +} + +class javax::swing::tree::TreeNode : public ::java::lang::Object +{ + +public: + virtual ::javax::swing::tree::TreeNode * getParent() = 0; + virtual jint getIndex(::javax::swing::tree::TreeNode *) = 0; + virtual ::javax::swing::tree::TreeNode * getChildAt(jint) = 0; + virtual jint getChildCount() = 0; + virtual jboolean getAllowsChildren() = 0; + virtual jboolean isLeaf() = 0; + virtual ::java::util::Enumeration * children() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_tree_TreeNode__ diff --git a/libjava/javax/swing/tree/TreePath.h b/libjava/javax/swing/tree/TreePath.h new file mode 100644 index 000000000..9c99e2720 --- /dev/null +++ b/libjava/javax/swing/tree/TreePath.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_TreePath__ +#define __javax_swing_tree_TreePath__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace tree + { + class TreePath; + } + } + } +} + +class javax::swing::tree::TreePath : public ::java::lang::Object +{ + +public: + TreePath(JArray< ::java::lang::Object * > *); + TreePath(::java::lang::Object *); +public: // actually protected + TreePath(::javax::swing::tree::TreePath *, ::java::lang::Object *); + TreePath(JArray< ::java::lang::Object * > *, jint); + TreePath(); +public: + virtual jint hashCode(); + virtual jboolean equals(::java::lang::Object *); + virtual ::java::lang::String * toString(); + virtual JArray< ::java::lang::Object * > * getPath(); + virtual ::java::lang::Object * getLastPathComponent(); + virtual jint getPathCount(); + virtual ::java::lang::Object * getPathComponent(jint); + virtual jboolean isDescendant(::javax::swing::tree::TreePath *); + virtual ::javax::swing::tree::TreePath * pathByAddingChild(::java::lang::Object *); + virtual ::javax::swing::tree::TreePath * getParentPath(); +public: // actually package-private + static const jlong serialVersionUID = 4380036194768077479LL; +private: + JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) path; + ::javax::swing::tree::TreePath * parentPath; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_TreePath__ diff --git a/libjava/javax/swing/tree/TreeSelectionModel.h b/libjava/javax/swing/tree/TreeSelectionModel.h new file mode 100644 index 000000000..3c0194d18 --- /dev/null +++ b/libjava/javax/swing/tree/TreeSelectionModel.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_TreeSelectionModel__ +#define __javax_swing_tree_TreeSelectionModel__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeListener; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class TreeSelectionListener; + } + namespace tree + { + class RowMapper; + class TreePath; + class TreeSelectionModel; + } + } + } +} + +class javax::swing::tree::TreeSelectionModel : public ::java::lang::Object +{ + +public: + virtual void setSelectionMode(jint) = 0; + virtual jint getSelectionMode() = 0; + virtual void setSelectionPath(::javax::swing::tree::TreePath *) = 0; + virtual void setSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0; + virtual void addSelectionPath(::javax::swing::tree::TreePath *) = 0; + virtual void addSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0; + virtual void removeSelectionPath(::javax::swing::tree::TreePath *) = 0; + virtual void removeSelectionPaths(JArray< ::javax::swing::tree::TreePath * > *) = 0; + virtual ::javax::swing::tree::TreePath * getSelectionPath() = 0; + virtual JArray< ::javax::swing::tree::TreePath * > * getSelectionPaths() = 0; + virtual jint getSelectionCount() = 0; + virtual jboolean isPathSelected(::javax::swing::tree::TreePath *) = 0; + virtual jboolean isSelectionEmpty() = 0; + virtual void clearSelection() = 0; + virtual void setRowMapper(::javax::swing::tree::RowMapper *) = 0; + virtual ::javax::swing::tree::RowMapper * getRowMapper() = 0; + virtual JArray< jint > * getSelectionRows() = 0; + virtual jint getMinSelectionRow() = 0; + virtual jint getMaxSelectionRow() = 0; + virtual jboolean isRowSelected(jint) = 0; + virtual void resetRowSelection() = 0; + virtual jint getLeadSelectionRow() = 0; + virtual ::javax::swing::tree::TreePath * getLeadSelectionPath() = 0; + virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *) = 0; + virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *) = 0; + virtual void addTreeSelectionListener(::javax::swing::event::TreeSelectionListener *) = 0; + virtual void removeTreeSelectionListener(::javax::swing::event::TreeSelectionListener *) = 0; + static const jint SINGLE_TREE_SELECTION = 1; + static const jint CONTIGUOUS_TREE_SELECTION = 2; + static const jint DISCONTIGUOUS_TREE_SELECTION = 4; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_tree_TreeSelectionModel__ diff --git a/libjava/javax/swing/tree/VariableHeightLayoutCache$NodeRecord.h b/libjava/javax/swing/tree/VariableHeightLayoutCache$NodeRecord.h new file mode 100644 index 000000000..1555726c9 --- /dev/null +++ b/libjava/javax/swing/tree/VariableHeightLayoutCache$NodeRecord.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_VariableHeightLayoutCache$NodeRecord__ +#define __javax_swing_tree_VariableHeightLayoutCache$NodeRecord__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace tree + { + class TreePath; + class VariableHeightLayoutCache; + class VariableHeightLayoutCache$NodeRecord; + } + } + } +} + +class javax::swing::tree::VariableHeightLayoutCache$NodeRecord : public ::java::lang::Object +{ + +public: // actually package-private + VariableHeightLayoutCache$NodeRecord(::javax::swing::tree::VariableHeightLayoutCache *, jint, jint, ::java::lang::Object *, ::java::lang::Object *); + virtual ::javax::swing::tree::TreePath * getPath(); + virtual ::java::awt::Rectangle * getBounds(); + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) row; + jint depth; + ::java::lang::Object * parent; + ::java::lang::Object * node; + jboolean isExpanded; + ::java::awt::Rectangle * bounds; +private: + ::javax::swing::tree::TreePath * path; +public: // actually package-private + ::javax::swing::tree::VariableHeightLayoutCache * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_VariableHeightLayoutCache$NodeRecord__ diff --git a/libjava/javax/swing/tree/VariableHeightLayoutCache.h b/libjava/javax/swing/tree/VariableHeightLayoutCache.h new file mode 100644 index 000000000..81a85bad4 --- /dev/null +++ b/libjava/javax/swing/tree/VariableHeightLayoutCache.h @@ -0,0 +1,85 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_tree_VariableHeightLayoutCache__ +#define __javax_swing_tree_VariableHeightLayoutCache__ + +#pragma interface + +#include <javax/swing/tree/AbstractLayoutCache.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class TreeModelEvent; + } + namespace tree + { + class AbstractLayoutCache$NodeDimensions; + class TreeModel; + class TreePath; + class VariableHeightLayoutCache; + } + } + } +} + +class javax::swing::tree::VariableHeightLayoutCache : public ::javax::swing::tree::AbstractLayoutCache +{ + +public: + VariableHeightLayoutCache(); + virtual jint getRowCount(); +private: + void update(); + jint countRows(::java::lang::Object *, ::java::lang::Object *, jint, 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 *); + virtual void setNodeDimensions(::javax::swing::tree::AbstractLayoutCache$NodeDimensions *); + virtual void setRowHeight(jint); +private: + static ::java::awt::Rectangle * RECT_CACHE; +public: // actually package-private + ::java::util::Set * __attribute__((aligned(__alignof__( ::javax::swing::tree::AbstractLayoutCache)))) expanded; + ::java::util::Hashtable * nodes; + ::java::util::ArrayList * row2node; + jboolean dirty; + jint totalHeight; + jint maximalWidth; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_tree_VariableHeightLayoutCache__ |