47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
|
|
||
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
||
|
|
||
|
#ifndef __javax_swing_text_ElementIterator__
|
||
|
#define __javax_swing_text_ElementIterator__
|
||
|
|
||
|
#pragma interface
|
||
|
|
||
|
#include <java/lang/Object.h>
|
||
|
extern "Java"
|
||
|
{
|
||
|
namespace javax
|
||
|
{
|
||
|
namespace swing
|
||
|
{
|
||
|
namespace text
|
||
|
{
|
||
|
class Document;
|
||
|
class Element;
|
||
|
class ElementIterator;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class javax::swing::text::ElementIterator : public ::java::lang::Object
|
||
|
{
|
||
|
|
||
|
public:
|
||
|
ElementIterator(::javax::swing::text::Document *);
|
||
|
ElementIterator(::javax::swing::text::Element *);
|
||
|
virtual ::java::lang::Object * clone();
|
||
|
virtual ::javax::swing::text::Element * current();
|
||
|
virtual jint depth();
|
||
|
virtual ::javax::swing::text::Element * first();
|
||
|
virtual ::javax::swing::text::Element * next();
|
||
|
virtual ::javax::swing::text::Element * previous();
|
||
|
private:
|
||
|
::javax::swing::text::Element * deepestLeaf(::javax::swing::text::Element *);
|
||
|
::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) root;
|
||
|
::java::util::Stack * stack;
|
||
|
public:
|
||
|
static ::java::lang::Class class$;
|
||
|
};
|
||
|
|
||
|
#endif // __javax_swing_text_ElementIterator__
|