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/text/DefaultStyledDocument$ElementBuffer.h | |
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/text/DefaultStyledDocument$ElementBuffer.h')
-rw-r--r-- | libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer.h | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer.h b/libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer.h new file mode 100644 index 000000000..17151db0e --- /dev/null +++ b/libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer.h @@ -0,0 +1,93 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultStyledDocument$ElementBuffer__ +#define __javax_swing_text_DefaultStyledDocument$ElementBuffer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument$DefaultDocumentEvent; + class DefaultStyledDocument; + class DefaultStyledDocument$ElementBuffer; + class DefaultStyledDocument$ElementBuffer$Edit; + class DefaultStyledDocument$ElementSpec; + class Element; + } + } + } +} + +class javax::swing::text::DefaultStyledDocument$ElementBuffer : public ::java::lang::Object +{ + +public: + DefaultStyledDocument$ElementBuffer(::javax::swing::text::DefaultStyledDocument *, ::javax::swing::text::Element *); + virtual ::javax::swing::text::Element * getRootElement(); + virtual void remove(jint, jint, ::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); +public: // actually protected + virtual void removeUpdate(); +private: + jboolean removeElements(::javax::swing::text::Element *, jint, jint); +public: // actually package-private + virtual void create(jint, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *, ::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); +private: + jboolean canJoin(::javax::swing::text::Element *, ::javax::swing::text::Element *); + ::javax::swing::text::Element * join(::javax::swing::text::Element *, ::javax::swing::text::Element *, ::javax::swing::text::Element *, jint, jint); +public: // actually protected + virtual void changeUpdate(); +public: + virtual void change(jint, jint, ::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); + virtual ::javax::swing::text::Element * clone(::javax::swing::text::Element *, ::javax::swing::text::Element *); +private: + ::javax::swing::text::Element * cloneAsNecessary(::javax::swing::text::Element *, ::javax::swing::text::Element *, jint, jint); +public: + virtual void insert(jint, jint, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *, ::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); +private: + void prepareEdit(jint, jint); + void finishEdit(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); +public: // actually protected + virtual void insertUpdate(JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *); +private: + void pop(); + void insertElement(::javax::swing::text::DefaultStyledDocument$ElementSpec *); + void insertFirstContentTag(JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *); + void insertContentTag(::javax::swing::text::DefaultStyledDocument$ElementSpec *, ::javax::swing::text::DefaultStyledDocument$ElementBuffer$Edit *); + void createFracture(JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *); + void fracture(jint); + void recreate(jint, jint); + ::javax::swing::text::Element * recreateFracturedElement(::javax::swing::text::Element *, ::javax::swing::text::Element *); + jboolean split(jint, jint); + static const jlong serialVersionUID = 1688745877691146623LL; + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) root; + jint offset; + jint endOffset; + jint length; + jint pos; + ::javax::swing::text::Element * fracturedParent; + ::javax::swing::text::Element * fracturedChild; + jboolean createdFracture; + ::java::util::Stack * elementStack; + JArray< ::javax::swing::text::DefaultStyledDocument$ElementBuffer$Edit * > * insertPath; + jboolean recreateLeafs; + ::java::util::ArrayList * edits; + jboolean offsetLastIndex; + jboolean offsetLastIndexReplace; +public: // actually package-private + ::javax::swing::text::DefaultStyledDocument * this$0; + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultStyledDocument$ElementBuffer__ |