diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-09 19:58:05 +0000 |
commit | 65bf3316cf384588453604be6b4f0ed3751a8b0f (patch) | |
tree | 996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/javax/swing/text | |
parent | 8fc56618a84446beccd45b80381cdfe0e94050df (diff) | |
download | gcc-65bf3316cf384588453604be6b4f0ed3751a8b0f.tar.gz |
Merged gcj-eclipse branch to trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax/swing/text')
302 files changed, 16746 insertions, 0 deletions
diff --git a/libjava/javax/swing/text/AbstractDocument$1.h b/libjava/javax/swing/text/AbstractDocument$1.h new file mode 100644 index 00000000000..b433e142189 --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$1.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$1__ +#define __javax_swing_text_AbstractDocument$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument; + class AbstractDocument$1; + } + } + } +} + +class javax::swing::text::AbstractDocument$1 : public ::java::lang::Object +{ + +public: // actually package-private + AbstractDocument$1(::javax::swing::text::AbstractDocument *); +public: + jint getOffset(); +public: // actually package-private + ::javax::swing::text::AbstractDocument * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$1__ diff --git a/libjava/javax/swing/text/AbstractDocument$2.h b/libjava/javax/swing/text/AbstractDocument$2.h new file mode 100644 index 00000000000..dc504ce9eea --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$2.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$2__ +#define __javax_swing_text_AbstractDocument$2__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument; + class AbstractDocument$2; + } + } + } +} + +class javax::swing::text::AbstractDocument$2 : public ::java::lang::Object +{ + +public: // actually package-private + AbstractDocument$2(::javax::swing::text::AbstractDocument *); +public: + jint getOffset(); +public: // actually package-private + ::javax::swing::text::AbstractDocument * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$2__ diff --git a/libjava/javax/swing/text/AbstractDocument$AbstractElement.h b/libjava/javax/swing/text/AbstractDocument$AbstractElement.h new file mode 100644 index 00000000000..1aae4dc3660 --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$AbstractElement.h @@ -0,0 +1,83 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$AbstractElement__ +#define __javax_swing_text_AbstractDocument$AbstractElement__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument; + class AbstractDocument$AbstractElement; + class AttributeSet; + class Document; + class Element; + } + namespace tree + { + class TreeNode; + } + } + } +} + +class javax::swing::text::AbstractDocument$AbstractElement : public ::java::lang::Object +{ + +public: + AbstractDocument$AbstractElement(::javax::swing::text::AbstractDocument *, ::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *); + virtual ::java::util::Enumeration * children() = 0; + virtual jboolean getAllowsChildren() = 0; + virtual ::javax::swing::tree::TreeNode * getChildAt(jint); + virtual jint getChildCount(); + virtual jint getIndex(::javax::swing::tree::TreeNode *); + virtual ::javax::swing::tree::TreeNode * getParent(); + virtual jboolean isLeaf() = 0; + virtual void addAttribute(::java::lang::Object *, ::java::lang::Object *); + virtual void addAttributes(::javax::swing::text::AttributeSet *); + virtual void removeAttribute(::java::lang::Object *); + virtual void removeAttributes(::javax::swing::text::AttributeSet *); + virtual void removeAttributes(::java::util::Enumeration *); + virtual void setResolveParent(::javax::swing::text::AttributeSet *); + virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *); + virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * copyAttributes(); + virtual ::java::lang::Object * getAttribute(::java::lang::Object *); + virtual jint getAttributeCount(); + virtual ::java::util::Enumeration * getAttributeNames(); + virtual ::javax::swing::text::AttributeSet * getResolveParent(); + virtual jboolean isDefined(::java::lang::Object *); + virtual jboolean isEqual(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * getAttributes(); + virtual ::javax::swing::text::Document * getDocument(); + virtual ::javax::swing::text::Element * getElement(jint) = 0; + virtual ::java::lang::String * getName(); + virtual ::javax::swing::text::Element * getParentElement(); + virtual jint getEndOffset() = 0; + virtual jint getElementCount() = 0; + virtual jint getElementIndex(jint) = 0; + virtual jint getStartOffset() = 0; + virtual void dump(::java::io::PrintStream *, jint); +private: + static const jlong serialVersionUID = 1712240033321461704LL; +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count; + jint offset; + ::javax::swing::text::AttributeSet * attributes; + ::javax::swing::text::Element * element_parent; + ::javax::swing::tree::TreeNode * tree_parent; + ::java::util::Vector * tree_children; + ::javax::swing::text::AbstractDocument * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$AbstractElement__ diff --git a/libjava/javax/swing/text/AbstractDocument$AttributeContext.h b/libjava/javax/swing/text/AbstractDocument$AttributeContext.h new file mode 100644 index 00000000000..d02f88831e1 --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$AttributeContext.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$AttributeContext__ +#define __javax_swing_text_AbstractDocument$AttributeContext__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument$AttributeContext; + class AttributeSet; + } + } + } +} + +class javax::swing::text::AbstractDocument$AttributeContext : public ::java::lang::Object +{ + +public: + virtual ::javax::swing::text::AttributeSet * addAttribute(::javax::swing::text::AttributeSet *, ::java::lang::Object *, ::java::lang::Object *) = 0; + virtual ::javax::swing::text::AttributeSet * addAttributes(::javax::swing::text::AttributeSet *, ::javax::swing::text::AttributeSet *) = 0; + virtual ::javax::swing::text::AttributeSet * getEmptySet() = 0; + virtual void reclaim(::javax::swing::text::AttributeSet *) = 0; + virtual ::javax::swing::text::AttributeSet * removeAttribute(::javax::swing::text::AttributeSet *, ::java::lang::Object *) = 0; + virtual ::javax::swing::text::AttributeSet * removeAttributes(::javax::swing::text::AttributeSet *, ::javax::swing::text::AttributeSet *) = 0; + virtual ::javax::swing::text::AttributeSet * removeAttributes(::javax::swing::text::AttributeSet *, ::java::util::Enumeration *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_AbstractDocument$AttributeContext__ diff --git a/libjava/javax/swing/text/AbstractDocument$BidiElement.h b/libjava/javax/swing/text/AbstractDocument$BidiElement.h new file mode 100644 index 00000000000..4d8a0c8dfca --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$BidiElement.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$BidiElement__ +#define __javax_swing_text_AbstractDocument$BidiElement__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument$LeafElement.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument; + class AbstractDocument$BidiElement; + class Element; + } + } + } +} + +class javax::swing::text::AbstractDocument$BidiElement : public ::javax::swing::text::AbstractDocument$LeafElement +{ + +public: // actually package-private + AbstractDocument$BidiElement(::javax::swing::text::AbstractDocument *, ::javax::swing::text::Element *, jint, jint, jint); +public: + virtual ::java::lang::String * getName(); +public: // actually package-private + ::javax::swing::text::AbstractDocument * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument$LeafElement)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$BidiElement__ diff --git a/libjava/javax/swing/text/AbstractDocument$BidiRootElement.h b/libjava/javax/swing/text/AbstractDocument$BidiRootElement.h new file mode 100644 index 00000000000..b9a908b7ba1 --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$BidiRootElement.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$BidiRootElement__ +#define __javax_swing_text_AbstractDocument$BidiRootElement__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument$BranchElement.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument; + class AbstractDocument$BidiRootElement; + } + } + } +} + +class javax::swing::text::AbstractDocument$BidiRootElement : public ::javax::swing::text::AbstractDocument$BranchElement +{ + +public: // actually package-private + AbstractDocument$BidiRootElement(::javax::swing::text::AbstractDocument *); +public: + virtual ::java::lang::String * getName(); +public: // actually package-private + ::javax::swing::text::AbstractDocument * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument$BranchElement)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$BidiRootElement__ diff --git a/libjava/javax/swing/text/AbstractDocument$BranchElement.h b/libjava/javax/swing/text/AbstractDocument$BranchElement.h new file mode 100644 index 00000000000..1fb3a680aff --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$BranchElement.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$BranchElement__ +#define __javax_swing_text_AbstractDocument$BranchElement__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument$AbstractElement.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument; + class AbstractDocument$BranchElement; + class AttributeSet; + class Element; + } + } + } +} + +class javax::swing::text::AbstractDocument$BranchElement : public ::javax::swing::text::AbstractDocument$AbstractElement +{ + +public: + AbstractDocument$BranchElement(::javax::swing::text::AbstractDocument *, ::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *); + virtual ::java::util::Enumeration * children(); + virtual jboolean getAllowsChildren(); + virtual ::javax::swing::text::Element * getElement(jint); + virtual jint getElementCount(); + virtual jint getElementIndex(jint); + virtual jint getEndOffset(); + virtual ::java::lang::String * getName(); + virtual jint getStartOffset(); + virtual jboolean isLeaf(); + virtual ::javax::swing::text::Element * positionToElement(jint); + virtual void replace(jint, jint, JArray< ::javax::swing::text::Element * > *); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = -6037216547466333183LL; + JArray< ::javax::swing::text::Element * > * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument$AbstractElement)))) children__; + jint numChildren; + jint lastIndex; +public: // actually package-private + ::javax::swing::text::AbstractDocument * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$BranchElement__ diff --git a/libjava/javax/swing/text/AbstractDocument$Bypass.h b/libjava/javax/swing/text/AbstractDocument$Bypass.h new file mode 100644 index 00000000000..bb850d91e09 --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$Bypass.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$Bypass__ +#define __javax_swing_text_AbstractDocument$Bypass__ + +#pragma interface + +#include <javax/swing/text/DocumentFilter$FilterBypass.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument; + class AbstractDocument$Bypass; + class AttributeSet; + class Document; + } + } + } +} + +class javax::swing::text::AbstractDocument$Bypass : public ::javax::swing::text::DocumentFilter$FilterBypass +{ + +public: // actually package-private + AbstractDocument$Bypass(::javax::swing::text::AbstractDocument *); +public: + virtual ::javax::swing::text::Document * getDocument(); + virtual void insertString(jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); + virtual void remove(jint, jint); + virtual void replace(jint, jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); +public: // actually package-private + ::javax::swing::text::AbstractDocument * __attribute__((aligned(__alignof__( ::javax::swing::text::DocumentFilter$FilterBypass)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$Bypass__ diff --git a/libjava/javax/swing/text/AbstractDocument$Content.h b/libjava/javax/swing/text/AbstractDocument$Content.h new file mode 100644 index 00000000000..be16e410b1b --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$Content.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$Content__ +#define __javax_swing_text_AbstractDocument$Content__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument$Content; + class Position; + class Segment; + } + namespace undo + { + class UndoableEdit; + } + } + } +} + +class javax::swing::text::AbstractDocument$Content : public ::java::lang::Object +{ + +public: + virtual ::javax::swing::text::Position * createPosition(jint) = 0; + virtual jint length() = 0; + virtual ::javax::swing::undo::UndoableEdit * insertString(jint, ::java::lang::String *) = 0; + virtual ::javax::swing::undo::UndoableEdit * remove(jint, jint) = 0; + virtual ::java::lang::String * getString(jint, jint) = 0; + virtual void getChars(jint, jint, ::javax::swing::text::Segment *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_AbstractDocument$Content__ diff --git a/libjava/javax/swing/text/AbstractDocument$DefaultDocumentEvent.h b/libjava/javax/swing/text/AbstractDocument$DefaultDocumentEvent.h new file mode 100644 index 00000000000..ab7c2a01ccf --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$DefaultDocumentEvent.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$DefaultDocumentEvent__ +#define __javax_swing_text_AbstractDocument$DefaultDocumentEvent__ + +#pragma interface + +#include <javax/swing/undo/CompoundEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent$ElementChange; + class DocumentEvent$EventType; + } + namespace text + { + class AbstractDocument; + class AbstractDocument$DefaultDocumentEvent; + class Document; + class Element; + } + namespace undo + { + class UndoableEdit; + } + } + } +} + +class javax::swing::text::AbstractDocument$DefaultDocumentEvent : public ::javax::swing::undo::CompoundEdit +{ + +public: + AbstractDocument$DefaultDocumentEvent(::javax::swing::text::AbstractDocument *, jint, jint, ::javax::swing::event::DocumentEvent$EventType *); + virtual jboolean addEdit(::javax::swing::undo::UndoableEdit *); + virtual ::javax::swing::text::Document * getDocument(); + virtual jint getLength(); + virtual jint getOffset(); + virtual ::javax::swing::event::DocumentEvent$EventType * getType(); + virtual ::javax::swing::event::DocumentEvent$ElementChange * getChange(::javax::swing::text::Element *); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = 5230037221564563284LL; + static const jint THRESHOLD = 10; + jint __attribute__((aligned(__alignof__( ::javax::swing::undo::CompoundEdit)))) offset; + jint length; + ::javax::swing::event::DocumentEvent$EventType * type; + ::java::util::HashMap * changes; + jboolean modified; +public: // actually package-private + ::javax::swing::text::AbstractDocument * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$DefaultDocumentEvent__ diff --git a/libjava/javax/swing/text/AbstractDocument$ElementEdit.h b/libjava/javax/swing/text/AbstractDocument$ElementEdit.h new file mode 100644 index 00000000000..68eb020d11b --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$ElementEdit.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$ElementEdit__ +#define __javax_swing_text_AbstractDocument$ElementEdit__ + +#pragma interface + +#include <javax/swing/undo/AbstractUndoableEdit.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument$ElementEdit; + class Element; + } + } + } +} + +class javax::swing::text::AbstractDocument$ElementEdit : public ::javax::swing::undo::AbstractUndoableEdit +{ + +public: + AbstractDocument$ElementEdit(::javax::swing::text::Element *, jint, JArray< ::javax::swing::text::Element * > *, JArray< ::javax::swing::text::Element * > *); + virtual JArray< ::javax::swing::text::Element * > * getChildrenAdded(); + virtual JArray< ::javax::swing::text::Element * > * getChildrenRemoved(); + virtual ::javax::swing::text::Element * getElement(); + virtual jint getIndex(); +private: + static const jlong serialVersionUID = -1216620962142928304LL; + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::javax::swing::undo::AbstractUndoableEdit)))) elem; + jint index; + JArray< ::javax::swing::text::Element * > * removed; + JArray< ::javax::swing::text::Element * > * added; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$ElementEdit__ diff --git a/libjava/javax/swing/text/AbstractDocument$LeafElement.h b/libjava/javax/swing/text/AbstractDocument$LeafElement.h new file mode 100644 index 00000000000..0b8d671b6ce --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument$LeafElement.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument$LeafElement__ +#define __javax_swing_text_AbstractDocument$LeafElement__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument$AbstractElement.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument; + class AbstractDocument$LeafElement; + class AttributeSet; + class Element; + class Position; + } + } + } +} + +class javax::swing::text::AbstractDocument$LeafElement : public ::javax::swing::text::AbstractDocument$AbstractElement +{ + +public: + AbstractDocument$LeafElement(::javax::swing::text::AbstractDocument *, ::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *, jint, jint); + virtual ::java::util::Enumeration * children(); + virtual jboolean getAllowsChildren(); + virtual ::javax::swing::text::Element * getElement(jint); + virtual jint getElementCount(); + virtual jint getElementIndex(jint); + virtual jint getEndOffset(); + virtual ::java::lang::String * getName(); + virtual jint getStartOffset(); + virtual jboolean isLeaf(); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = -8906306331347768017LL; + ::javax::swing::text::Position * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument$AbstractElement)))) startPos; + ::javax::swing::text::Position * endPos; +public: // actually package-private + ::javax::swing::text::AbstractDocument * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument$LeafElement__ diff --git a/libjava/javax/swing/text/AbstractDocument.h b/libjava/javax/swing/text/AbstractDocument.h new file mode 100644 index 00000000000..65110f0cee7 --- /dev/null +++ b/libjava/javax/swing/text/AbstractDocument.h @@ -0,0 +1,166 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractDocument__ +#define __javax_swing_text_AbstractDocument__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace text + { + class Bidi; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + class DocumentListener; + class EventListenerList; + class UndoableEditEvent; + class UndoableEditListener; + } + namespace text + { + class AbstractDocument; + class AbstractDocument$AttributeContext; + class AbstractDocument$BidiRootElement; + class AbstractDocument$Content; + class AbstractDocument$DefaultDocumentEvent; + class AttributeSet; + class DocumentFilter; + class DocumentFilter$FilterBypass; + class Element; + class Position; + class Segment; + } + } + } +} + +class javax::swing::text::AbstractDocument : public ::java::lang::Object +{ + +public: // actually protected + AbstractDocument(::javax::swing::text::AbstractDocument$Content *); + AbstractDocument(::javax::swing::text::AbstractDocument$Content *, ::javax::swing::text::AbstractDocument$AttributeContext *); +private: + ::javax::swing::text::DocumentFilter$FilterBypass * getBypass(); +public: + virtual ::javax::swing::text::Element * getParagraphElement(jint) = 0; + virtual ::javax::swing::text::Element * getDefaultRootElement() = 0; +public: // actually protected + virtual ::javax::swing::text::Element * createBranchElement(::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::Element * createLeafElement(::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *, jint, jint); +public: + virtual ::javax::swing::text::Position * createPosition(jint); +public: // actually protected + virtual void fireChangedUpdate(::javax::swing::event::DocumentEvent *); + virtual void fireInsertUpdate(::javax::swing::event::DocumentEvent *); + virtual void fireRemoveUpdate(::javax::swing::event::DocumentEvent *); + virtual void fireUndoableEditUpdate(::javax::swing::event::UndoableEditEvent *); +public: + virtual jint getAsynchronousLoadPriority(); +public: // actually protected + virtual ::javax::swing::text::AbstractDocument$AttributeContext * getAttributeContext(); +public: + virtual ::javax::swing::text::Element * getBidiRootElement(); +public: // actually protected + virtual ::javax::swing::text::AbstractDocument$Content * getContent(); + virtual ::java::lang::Thread * getCurrentWriter(); +public: + virtual ::java::util::Dictionary * getDocumentProperties(); + virtual ::javax::swing::text::Position * getEndPosition(); + virtual jint getLength(); + virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *); + virtual ::java::lang::Object * getProperty(::java::lang::Object *); + virtual JArray< ::javax::swing::text::Element * > * getRootElements(); + virtual ::javax::swing::text::Position * getStartPosition(); + virtual ::java::lang::String * getText(jint, jint); + virtual void getText(jint, jint, ::javax::swing::text::Segment *); + virtual void insertString(jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); +public: // actually package-private + virtual void insertStringImpl(jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); +public: // actually protected + virtual void insertUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *, ::javax::swing::text::AttributeSet *); + virtual void postRemoveUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); +public: + virtual void putProperty(::java::lang::Object *, ::java::lang::Object *); +private: + void updateBidi(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); + JArray< ::java::text::Bidi * > * getBidis(jint, jint); +public: + virtual void readLock(); + virtual void readUnlock(); + virtual void remove(jint, jint); +public: // actually package-private + virtual void removeImpl(jint, jint); +public: + virtual void replace(jint, jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); +public: // actually package-private + virtual void replaceImpl(jint, jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); +public: + virtual void addDocumentListener(::javax::swing::event::DocumentListener *); + virtual void removeDocumentListener(::javax::swing::event::DocumentListener *); + virtual JArray< ::javax::swing::event::DocumentListener * > * getDocumentListeners(); + virtual void addUndoableEditListener(::javax::swing::event::UndoableEditListener *); + virtual void removeUndoableEditListener(::javax::swing::event::UndoableEditListener *); + virtual JArray< ::javax::swing::event::UndoableEditListener * > * getUndoableEditListeners(); +public: // actually protected + virtual void removeUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); +public: + virtual void render(::java::lang::Runnable *); + virtual void setAsynchronousLoadPriority(jint); + virtual void setDocumentProperties(::java::util::Dictionary *); +public: // actually protected + virtual void writeLock(); + virtual void writeUnlock(); +public: + virtual ::javax::swing::text::DocumentFilter * getDocumentFilter(); + virtual void setDocumentFilter(::javax::swing::text::DocumentFilter *); + virtual void dump(::java::io::PrintStream *); +private: + static const jlong serialVersionUID = 6842927725919637215LL; +public: // actually protected + static ::java::lang::String * BAD_LOCATION; +public: + static ::java::lang::String * BidiElementName; + static ::java::lang::String * ContentElementName; + static ::java::lang::String * ParagraphElementName; + static ::java::lang::String * SectionElementName; + static ::java::lang::String * ElementNameAttribute; +private: + static ::java::lang::String * BidiRootName; + static ::java::lang::String * AsyncLoadPriority; + static ::java::lang::String * I18N; +public: // actually package-private + ::javax::swing::text::AbstractDocument$Content * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content; + ::javax::swing::text::AbstractDocument$AttributeContext * context; + ::javax::swing::text::DocumentFilter * documentFilter; + ::java::util::Dictionary * properties; +public: // actually protected + ::javax::swing::event::EventListenerList * listenerList; +private: + ::java::lang::Thread * currentWriter; + jint numReaders; + jint numWriters; + ::javax::swing::text::DocumentFilter$FilterBypass * bypass; + ::javax::swing::text::AbstractDocument$BidiRootElement * bidiRoot; + jboolean notifyListeners; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractDocument__ diff --git a/libjava/javax/swing/text/AbstractWriter.h b/libjava/javax/swing/text/AbstractWriter.h new file mode 100644 index 00000000000..b22be6e6fa1 --- /dev/null +++ b/libjava/javax/swing/text/AbstractWriter.h @@ -0,0 +1,91 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AbstractWriter__ +#define __javax_swing_text_AbstractWriter__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractWriter; + class AttributeSet; + class Document; + class Element; + class ElementIterator; + } + } + } +} + +class javax::swing::text::AbstractWriter : public ::java::lang::Object +{ + +public: // actually protected + AbstractWriter(::java::io::Writer *, ::javax::swing::text::Document *); + AbstractWriter(::java::io::Writer *, ::javax::swing::text::Document *, jint, jint); + AbstractWriter(::java::io::Writer *, ::javax::swing::text::Element *); + AbstractWriter(::java::io::Writer *, ::javax::swing::text::Element *, jint, jint); + virtual ::javax::swing::text::ElementIterator * getElementIterator(); + virtual ::java::io::Writer * getWriter(); + virtual ::javax::swing::text::Document * getDocument(); + virtual void write() = 0; + virtual ::java::lang::String * getText(::javax::swing::text::Element *); + virtual void output(JArray< jchar > *, jint, jint); + virtual void writeLineSeparator(); + virtual void write(jchar); + virtual void write(::java::lang::String *); + virtual void write(JArray< jchar > *, jint, jint); + virtual void indent(); +public: + virtual jint getStartOffset(); + virtual jint getEndOffset(); +public: // actually protected + virtual jboolean inRange(::javax::swing::text::Element *); + virtual void text(::javax::swing::text::Element *); + virtual void setLineLength(jint); + virtual jint getLineLength(); + virtual void setCurrentLineLength(jint); + virtual jint getCurrentLineLength(); + virtual jboolean isLineEmpty(); + virtual void setCanWrapLines(jboolean); + virtual jboolean getCanWrapLines(); + virtual void setIndentSpace(jint); + virtual jint getIndentSpace(); +public: + virtual void setLineSeparator(::java::lang::String *); + virtual ::java::lang::String * getLineSeparator(); +public: // actually protected + virtual void incrIndent(); + virtual void decrIndent(); + virtual jint getIndentLevel(); + virtual void writeAttributes(::javax::swing::text::AttributeSet *); + static const jchar NEWLINE = 10; +private: + ::java::io::Writer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) writer; + ::javax::swing::text::ElementIterator * iter; + ::javax::swing::text::Document * document; + jint maxLineLength; + jint lineLength; + jboolean canWrapLines; + jint indentSpace; + jint indentLevel; + jboolean indented; + jint startOffset; + jint endOffset; + ::java::lang::String * lineSeparator; + JArray< jchar > * lineSeparatorChars; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AbstractWriter__ diff --git a/libjava/javax/swing/text/AsyncBoxView$ChildLocator.h b/libjava/javax/swing/text/AsyncBoxView$ChildLocator.h new file mode 100644 index 00000000000..72b0f9a6c3c --- /dev/null +++ b/libjava/javax/swing/text/AsyncBoxView$ChildLocator.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AsyncBoxView$ChildLocator__ +#define __javax_swing_text_AsyncBoxView$ChildLocator__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AsyncBoxView; + class AsyncBoxView$ChildLocator; + class AsyncBoxView$ChildState; + } + } + } +} + +class javax::swing::text::AsyncBoxView$ChildLocator : public ::java::lang::Object +{ + +public: + AsyncBoxView$ChildLocator(::javax::swing::text::AsyncBoxView *); + virtual void childChanged(::javax::swing::text::AsyncBoxView$ChildState *); + virtual jint getViewIndexAtPoint(jfloat, jfloat, ::java::awt::Shape *); + virtual ::java::awt::Shape * getChildAllocation(jint, ::java::awt::Shape *); + virtual void paintChildren(::java::awt::Graphics *); +public: // actually protected + virtual ::java::awt::Shape * getChildAllocation(jint); + virtual void setAllocation(::java::awt::Shape *); + virtual jint getViewIndexAtVisualOffset(jfloat); +private: + jint updateChildOffsets(jfloat); + void updateChildOffsetsToIndex(jint); +public: // actually protected + ::javax::swing::text::AsyncBoxView$ChildState * __attribute__((aligned(__alignof__( ::java::lang::Object)))) lastValidOffset; + ::java::awt::Rectangle * lastAlloc; + ::java::awt::Rectangle * childAlloc; +public: // actually package-private + ::javax::swing::text::AsyncBoxView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AsyncBoxView$ChildLocator__ diff --git a/libjava/javax/swing/text/AsyncBoxView$ChildState.h b/libjava/javax/swing/text/AsyncBoxView$ChildState.h new file mode 100644 index 00000000000..3bce589a205 --- /dev/null +++ b/libjava/javax/swing/text/AsyncBoxView$ChildState.h @@ -0,0 +1,63 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AsyncBoxView$ChildState__ +#define __javax_swing_text_AsyncBoxView$ChildState__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AsyncBoxView; + class AsyncBoxView$ChildState; + class View; + } + } + } +} + +class javax::swing::text::AsyncBoxView$ChildState : public ::java::lang::Object +{ + +public: + AsyncBoxView$ChildState(::javax::swing::text::AsyncBoxView *, ::javax::swing::text::View *); + virtual ::javax::swing::text::View * getChildView(); + virtual jboolean isLayoutValid(); + virtual void run(); +private: + void update(); +public: + virtual jfloat getMinorSpan(); + virtual jfloat getMinorOffset(); + virtual jfloat getMajorSpan(); + virtual jfloat getMajorOffset(); + virtual void setMajorOffset(jfloat); + virtual void preferenceChanged(jboolean, jboolean); +private: + ::javax::swing::text::View * __attribute__((aligned(__alignof__( ::java::lang::Object)))) childView; + jboolean minorValid; + jboolean majorValid; +public: // actually package-private + jboolean childSizeValid; + jfloat minimum; + jfloat preferred; +private: + jfloat majorSpan; + jfloat majorOffset; + jfloat minorSpan; + jfloat minorOffset; + jfloat maximum; +public: // actually package-private + ::javax::swing::text::AsyncBoxView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AsyncBoxView$ChildState__ diff --git a/libjava/javax/swing/text/AsyncBoxView$FlushTask.h b/libjava/javax/swing/text/AsyncBoxView$FlushTask.h new file mode 100644 index 00000000000..bd9378b4ead --- /dev/null +++ b/libjava/javax/swing/text/AsyncBoxView$FlushTask.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AsyncBoxView$FlushTask__ +#define __javax_swing_text_AsyncBoxView$FlushTask__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AsyncBoxView; + class AsyncBoxView$FlushTask; + } + } + } +} + +class javax::swing::text::AsyncBoxView$FlushTask : public ::java::lang::Object +{ + + AsyncBoxView$FlushTask(::javax::swing::text::AsyncBoxView *); +public: + virtual void run(); +public: // actually package-private + AsyncBoxView$FlushTask(::javax::swing::text::AsyncBoxView *, ::javax::swing::text::AsyncBoxView$FlushTask *); + ::javax::swing::text::AsyncBoxView * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AsyncBoxView$FlushTask__ diff --git a/libjava/javax/swing/text/AsyncBoxView.h b/libjava/javax/swing/text/AsyncBoxView.h new file mode 100644 index 00000000000..80a965f49a0 --- /dev/null +++ b/libjava/javax/swing/text/AsyncBoxView.h @@ -0,0 +1,116 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AsyncBoxView__ +#define __javax_swing_text_AsyncBoxView__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + class DocumentEvent$ElementChange; + } + namespace text + { + class AsyncBoxView; + class AsyncBoxView$ChildLocator; + class AsyncBoxView$ChildState; + class Element; + class LayoutQueue; + class Position$Bias; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::AsyncBoxView : public ::javax::swing::text::View +{ + +public: + AsyncBoxView(::javax::swing::text::Element *, jint); + virtual jint getMajorAxis(); + virtual jint getMinorAxis(); + virtual ::javax::swing::text::View * getView(jint); + virtual jint getViewCount(); + virtual jint getViewIndex(jint, ::javax::swing::text::Position$Bias *); + virtual jfloat getTopInset(); + virtual void setTopInset(jfloat); + virtual jfloat getBottomInset(); + virtual void setBottomInset(jfloat); + virtual jfloat getLeftInset(); + virtual void setLeftInset(jfloat); + virtual jfloat getRightInset(); + virtual void setRightInset(jfloat); +public: // actually protected + virtual void loadChildren(::javax::swing::text::ViewFactory *); + virtual jfloat getInsetSpan(jint); + virtual void setEstimatedMajorSpan(jboolean); + virtual jboolean getEstimatedMajorSpan(); + virtual void minorRequirementChange(::javax::swing::text::AsyncBoxView$ChildState *); + virtual void majorRequirementChange(::javax::swing::text::AsyncBoxView$ChildState *, jfloat); +public: + virtual void setParent(::javax::swing::text::View *); + virtual void setSize(jfloat, jfloat); + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual jfloat getPreferredSpan(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); + virtual ::java::awt::Shape * getChildAllocation(jint, ::java::awt::Shape *); + virtual jfloat getMaximumSpan(jint); + virtual jfloat getMinimumSpan(jint); + virtual void preferenceChanged(::javax::swing::text::View *, jboolean, jboolean); +public: // actually protected + virtual void updateLayout(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *); + virtual ::javax::swing::text::AsyncBoxView$ChildState * getChildState(jint); + virtual ::javax::swing::text::LayoutQueue * getLayoutQueue(); + virtual jint getViewIndexAtPosition(jint, ::javax::swing::text::Position$Bias *); + virtual ::javax::swing::text::AsyncBoxView$ChildState * createChildState(::javax::swing::text::View *); + virtual void flushRequirementChanges(); +private: + jint __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) majorAxis; + jfloat topInset; + jfloat bottomInset; + jfloat leftInset; + jboolean estimatedMajorSpan; + jfloat rightInset; + ::java::util::ArrayList * childStates; +public: // actually package-private + ::javax::swing::text::AsyncBoxView$ChildState * changing; + ::javax::swing::text::AsyncBoxView$ChildState * minReq; + ::javax::swing::text::AsyncBoxView$ChildState * prefReq; +private: + jboolean majorChanged; +public: // actually package-private + jboolean minorChanged; + jfloat majorSpan; + jfloat minorSpan; +private: + ::java::lang::Runnable * flushTask; +public: // actually protected + ::javax::swing::text::AsyncBoxView$ChildLocator * locator; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_AsyncBoxView__ diff --git a/libjava/javax/swing/text/AttributeSet$CharacterAttribute.h b/libjava/javax/swing/text/AttributeSet$CharacterAttribute.h new file mode 100644 index 00000000000..ddc9c19f482 --- /dev/null +++ b/libjava/javax/swing/text/AttributeSet$CharacterAttribute.h @@ -0,0 +1,31 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AttributeSet$CharacterAttribute__ +#define __javax_swing_text_AttributeSet$CharacterAttribute__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet$CharacterAttribute; + } + } + } +} + +class javax::swing::text::AttributeSet$CharacterAttribute : public ::java::lang::Object +{ + +public: + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_AttributeSet$CharacterAttribute__ diff --git a/libjava/javax/swing/text/AttributeSet$ColorAttribute.h b/libjava/javax/swing/text/AttributeSet$ColorAttribute.h new file mode 100644 index 00000000000..c04b096d06b --- /dev/null +++ b/libjava/javax/swing/text/AttributeSet$ColorAttribute.h @@ -0,0 +1,31 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AttributeSet$ColorAttribute__ +#define __javax_swing_text_AttributeSet$ColorAttribute__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet$ColorAttribute; + } + } + } +} + +class javax::swing::text::AttributeSet$ColorAttribute : public ::java::lang::Object +{ + +public: + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_AttributeSet$ColorAttribute__ diff --git a/libjava/javax/swing/text/AttributeSet$FontAttribute.h b/libjava/javax/swing/text/AttributeSet$FontAttribute.h new file mode 100644 index 00000000000..eff25222ae2 --- /dev/null +++ b/libjava/javax/swing/text/AttributeSet$FontAttribute.h @@ -0,0 +1,31 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AttributeSet$FontAttribute__ +#define __javax_swing_text_AttributeSet$FontAttribute__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet$FontAttribute; + } + } + } +} + +class javax::swing::text::AttributeSet$FontAttribute : public ::java::lang::Object +{ + +public: + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_AttributeSet$FontAttribute__ diff --git a/libjava/javax/swing/text/AttributeSet$ParagraphAttribute.h b/libjava/javax/swing/text/AttributeSet$ParagraphAttribute.h new file mode 100644 index 00000000000..05f67c16b7e --- /dev/null +++ b/libjava/javax/swing/text/AttributeSet$ParagraphAttribute.h @@ -0,0 +1,31 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AttributeSet$ParagraphAttribute__ +#define __javax_swing_text_AttributeSet$ParagraphAttribute__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet$ParagraphAttribute; + } + } + } +} + +class javax::swing::text::AttributeSet$ParagraphAttribute : public ::java::lang::Object +{ + +public: + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_AttributeSet$ParagraphAttribute__ diff --git a/libjava/javax/swing/text/AttributeSet.h b/libjava/javax/swing/text/AttributeSet.h new file mode 100644 index 00000000000..ba1f4d100e9 --- /dev/null +++ b/libjava/javax/swing/text/AttributeSet.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_AttributeSet__ +#define __javax_swing_text_AttributeSet__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + } + } + } +} + +class javax::swing::text::AttributeSet : public ::java::lang::Object +{ + +public: + virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *) = 0; + virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *) = 0; + virtual ::javax::swing::text::AttributeSet * copyAttributes() = 0; + virtual ::java::lang::Object * getAttribute(::java::lang::Object *) = 0; + virtual jint getAttributeCount() = 0; + virtual ::java::util::Enumeration * getAttributeNames() = 0; + virtual ::javax::swing::text::AttributeSet * getResolveParent() = 0; + virtual jboolean isDefined(::java::lang::Object *) = 0; + virtual jboolean isEqual(::javax::swing::text::AttributeSet *) = 0; + static ::java::lang::Object * NameAttribute; + static ::java::lang::Object * ResolveAttribute; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_AttributeSet__ diff --git a/libjava/javax/swing/text/BadLocationException.h b/libjava/javax/swing/text/BadLocationException.h new file mode 100644 index 00000000000..3102b7a37a5 --- /dev/null +++ b/libjava/javax/swing/text/BadLocationException.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_BadLocationException__ +#define __javax_swing_text_BadLocationException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class BadLocationException; + } + } + } +} + +class javax::swing::text::BadLocationException : public ::java::lang::Exception +{ + +public: + BadLocationException(::java::lang::String *, jint); + virtual jint offsetRequested(); +private: + static const jlong serialVersionUID = -7712259886815656766LL; +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::java::lang::Exception)))) offset; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_BadLocationException__ diff --git a/libjava/javax/swing/text/BoxView.h b/libjava/javax/swing/text/BoxView.h new file mode 100644 index 00000000000..c00436887f6 --- /dev/null +++ b/libjava/javax/swing/text/BoxView.h @@ -0,0 +1,115 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_BoxView__ +#define __javax_swing_text_BoxView__ + +#pragma interface + +#include <javax/swing/text/CompositeView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace event + { + class DocumentEvent; + class DocumentEvent$ElementChange; + } + namespace text + { + class BoxView; + class Element; + class Position$Bias; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::BoxView : public ::javax::swing::text::CompositeView +{ + +public: + BoxView(::javax::swing::text::Element *, jint); + virtual jint getAxis(); + virtual void setAxis(jint); + virtual void layoutChanged(jint); +public: // actually protected + virtual jboolean isLayoutValid(jint); + virtual void paintChild(::java::awt::Graphics *, ::java::awt::Rectangle *, jint); +public: + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); +private: + JArray< jint > * replaceLayoutArray(JArray< jint > *, jint, jint); +public: + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual jfloat getPreferredSpan(jint); + virtual jfloat getMaximumSpan(jint); + virtual jfloat getMinimumSpan(jint); +public: // actually protected + virtual ::javax::swing::SizeRequirements * baselineRequirements(jint, ::javax::swing::SizeRequirements *); + virtual void baselineLayout(jint, jint, JArray< jint > *, JArray< jint > *); + virtual ::javax::swing::SizeRequirements * calculateMajorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual jboolean isBefore(jint, jint, ::java::awt::Rectangle *); + virtual jboolean isAfter(jint, jint, ::java::awt::Rectangle *); + virtual ::javax::swing::text::View * getViewAtPoint(jint, jint, ::java::awt::Rectangle *); + virtual void childAllocation(jint, ::java::awt::Rectangle *); + virtual void layout(jint, jint); +private: + void layoutAxis(jint, jint); +public: // actually protected + virtual void layoutMajorAxis(jint, jint, JArray< jint > *, JArray< jint > *); + virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *); + virtual jboolean isAllocationValid(); +public: + virtual jint getWidth(); + virtual jint getHeight(); + virtual void setSize(jfloat, jfloat); +public: // actually protected + virtual jint getSpan(jint, jint); + virtual jint getOffset(jint, jint); +public: + virtual jfloat getAlignment(jint); + virtual void preferenceChanged(::javax::swing::text::View *, jboolean, jboolean); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual jint getResizeWeight(jint); + virtual ::java::awt::Shape * getChildAllocation(jint, ::java::awt::Shape *); +public: // actually protected + virtual void forwardUpdate(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +public: + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +public: // actually protected + virtual jboolean flipEastAndWestAtEnds(jint, ::javax::swing::text::Position$Bias *); +private: + void updateRequirements(jint); + jint __attribute__((aligned(__alignof__( ::javax::swing::text::CompositeView)))) myAxis; + JArray< jboolean > * layoutValid; + JArray< jboolean > * requirementsValid; + JArray< JArray< jint > * > * spans; + JArray< JArray< jint > * > * offsets; + JArray< ::javax::swing::SizeRequirements * > * requirements; + JArray< jint > * span; + ::java::awt::Rectangle * tmpRect; + ::java::awt::Rectangle * clipRect; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_BoxView__ diff --git a/libjava/javax/swing/text/Caret.h b/libjava/javax/swing/text/Caret.h new file mode 100644 index 00000000000..024933a0485 --- /dev/null +++ b/libjava/javax/swing/text/Caret.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Caret__ +#define __javax_swing_text_Caret__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Point; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class ChangeListener; + } + namespace text + { + class Caret; + class JTextComponent; + } + } + } +} + +class javax::swing::text::Caret : public ::java::lang::Object +{ + +public: + virtual void addChangeListener(::javax::swing::event::ChangeListener *) = 0; + virtual void removeChangeListener(::javax::swing::event::ChangeListener *) = 0; + virtual void install(::javax::swing::text::JTextComponent *) = 0; + virtual void deinstall(::javax::swing::text::JTextComponent *) = 0; + virtual jint getBlinkRate() = 0; + virtual void setBlinkRate(jint) = 0; + virtual jint getDot() = 0; + virtual void setDot(jint) = 0; + virtual void moveDot(jint) = 0; + virtual jint getMark() = 0; + virtual ::java::awt::Point * getMagicCaretPosition() = 0; + virtual void setMagicCaretPosition(::java::awt::Point *) = 0; + virtual jboolean isSelectionVisible() = 0; + virtual void setSelectionVisible(jboolean) = 0; + virtual jboolean isVisible() = 0; + virtual void setVisible(jboolean) = 0; + virtual void paint(::java::awt::Graphics *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Caret__ diff --git a/libjava/javax/swing/text/ChangedCharSetException.h b/libjava/javax/swing/text/ChangedCharSetException.h new file mode 100644 index 00000000000..d25d88cd98c --- /dev/null +++ b/libjava/javax/swing/text/ChangedCharSetException.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ChangedCharSetException__ +#define __javax_swing_text_ChangedCharSetException__ + +#pragma interface + +#include <java/io/IOException.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class ChangedCharSetException; + } + } + } +} + +class javax::swing::text::ChangedCharSetException : public ::java::io::IOException +{ + +public: + ChangedCharSetException(::java::lang::String *, jboolean); + virtual ::java::lang::String * getCharSetSpec(); + virtual jboolean keyEqualsCharSet(); +private: + static const jlong serialVersionUID = 9119851554465432389LL; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::io::IOException)))) m_charSetSpec; + jboolean m_charSetKey; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ChangedCharSetException__ diff --git a/libjava/javax/swing/text/ComponentView$1.h b/libjava/javax/swing/text/ComponentView$1.h new file mode 100644 index 00000000000..fa00c157eb7 --- /dev/null +++ b/libjava/javax/swing/text/ComponentView$1.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ComponentView$1__ +#define __javax_swing_text_ComponentView$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class ComponentView; + class ComponentView$1; + } + } + } +} + +class javax::swing::text::ComponentView$1 : public ::java::lang::Object +{ + +public: // actually package-private + ComponentView$1(::javax::swing::text::ComponentView *); +public: + void run(); +public: // actually package-private + ::javax::swing::text::ComponentView * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ComponentView$1__ diff --git a/libjava/javax/swing/text/ComponentView$Interceptor.h b/libjava/javax/swing/text/ComponentView$Interceptor.h new file mode 100644 index 00000000000..57a14a5abac --- /dev/null +++ b/libjava/javax/swing/text/ComponentView$Interceptor.h @@ -0,0 +1,63 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ComponentView$Interceptor__ +#define __javax_swing_text_ComponentView$Interceptor__ + +#pragma interface + +#include <java/awt/Container.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + class Dimension; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class ComponentView; + class ComponentView$Interceptor; + } + } + } +} + +class javax::swing::text::ComponentView$Interceptor : public ::java::awt::Container +{ + +public: // actually package-private + ComponentView$Interceptor(::javax::swing::text::ComponentView *, ::java::awt::Component *); +public: + virtual void invalidate(); + virtual void doLayout(); + virtual void reshape(jint, jint, jint, jint); + virtual void show(); + virtual void hide(); + virtual ::java::awt::Dimension * getMinimumSize(); + virtual ::java::awt::Dimension * getPreferredSize(); + virtual ::java::awt::Dimension * getMaximumSize(); + virtual jfloat getAlignmentX(); + virtual jfloat getAlignmentY(); +private: + void maybeValidate(); + void cacheComponentSizes(); +public: // actually package-private + ::java::awt::Dimension * __attribute__((aligned(__alignof__( ::java::awt::Container)))) min; + ::java::awt::Dimension * pref; + ::java::awt::Dimension * max; + jfloat alignX; + jfloat alignY; + ::javax::swing::text::ComponentView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ComponentView$Interceptor__ diff --git a/libjava/javax/swing/text/ComponentView.h b/libjava/javax/swing/text/ComponentView.h new file mode 100644 index 00000000000..0a333cf86d7 --- /dev/null +++ b/libjava/javax/swing/text/ComponentView.h @@ -0,0 +1,68 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ComponentView__ +#define __javax_swing_text_ComponentView__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class ComponentView; + class ComponentView$Interceptor; + class Element; + class Position$Bias; + class View; + } + } + } +} + +class javax::swing::text::ComponentView : public ::javax::swing::text::View +{ + +public: + ComponentView(::javax::swing::text::Element *); +public: // actually protected + virtual ::java::awt::Component * createComponent(); +public: + virtual jfloat getAlignment(jint); + virtual ::java::awt::Component * getComponent(); + virtual jfloat getMaximumSpan(jint); + virtual jfloat getMinimumSpan(jint); + virtual jfloat getPreferredSpan(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual void setParent(::javax::swing::text::View *); +public: // actually package-private + virtual void setParentImpl(); +public: + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +private: + ::java::awt::Component * __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) comp; + ::javax::swing::text::ComponentView$Interceptor * interceptor; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ComponentView__ diff --git a/libjava/javax/swing/text/CompositeView.h b/libjava/javax/swing/text/CompositeView.h new file mode 100644 index 00000000000..2e708ffa1cc --- /dev/null +++ b/libjava/javax/swing/text/CompositeView.h @@ -0,0 +1,86 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_CompositeView__ +#define __javax_swing_text_CompositeView__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class CompositeView; + class Element; + class Position$Bias; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::CompositeView : public ::javax::swing::text::View +{ + +public: + CompositeView(::javax::swing::text::Element *); +public: // actually protected + virtual void loadChildren(::javax::swing::text::ViewFactory *); +public: + virtual void setParent(::javax::swing::text::View *); + virtual jint getViewCount(); + virtual ::javax::swing::text::View * getView(jint); + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); + virtual ::java::awt::Shape * getChildAllocation(jint, ::java::awt::Shape *); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual ::java::awt::Shape * modelToView(jint, ::javax::swing::text::Position$Bias *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); + virtual jint getNextVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *); + virtual jint getViewIndex(jint, ::javax::swing::text::Position$Bias *); +public: // actually protected + virtual jboolean isBefore(jint, jint, ::java::awt::Rectangle *) = 0; + virtual jboolean isAfter(jint, jint, ::java::awt::Rectangle *) = 0; + virtual ::javax::swing::text::View * getViewAtPoint(jint, jint, ::java::awt::Rectangle *) = 0; + virtual void childAllocation(jint, ::java::awt::Rectangle *) = 0; + virtual ::javax::swing::text::View * getViewAtPosition(jint, ::java::awt::Rectangle *); + virtual jint getViewIndexAtPosition(jint); + virtual ::java::awt::Rectangle * getInsideAllocation(::java::awt::Shape *); + virtual void setParagraphInsets(::javax::swing::text::AttributeSet *); + virtual void setInsets(jshort, jshort, jshort, jshort); + virtual jshort getLeftInset(); + virtual jshort getRightInset(); + virtual jshort getTopInset(); + virtual jshort getBottomInset(); + virtual jint getNextNorthSouthVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *); + virtual jint getNextEastWestVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *); + virtual jboolean flipEastAndWestAtEnds(jint, ::javax::swing::text::Position$Bias *); +private: + JArray< ::javax::swing::text::View * > * __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) children; + jint numChildren; + ::java::awt::Rectangle * insideAllocation; + jshort top; + jshort bottom; + jshort left; + jshort right; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_CompositeView__ diff --git a/libjava/javax/swing/text/DateFormatter.h b/libjava/javax/swing/text/DateFormatter.h new file mode 100644 index 00000000000..47da776dacb --- /dev/null +++ b/libjava/javax/swing/text/DateFormatter.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DateFormatter__ +#define __javax_swing_text_DateFormatter__ + +#pragma interface + +#include <javax/swing/text/InternationalFormatter.h> +extern "Java" +{ + namespace java + { + namespace text + { + class DateFormat; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DateFormatter; + } + } + } +} + +class javax::swing::text::DateFormatter : public ::javax::swing::text::InternationalFormatter +{ + +public: + DateFormatter(); + DateFormatter(::java::text::DateFormat *); + virtual void setFormat(::java::text::DateFormat *); +private: + static const jlong serialVersionUID = 5423279572591848797LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DateFormatter__ diff --git a/libjava/javax/swing/text/DefaultCaret$BlinkTimerListener.h b/libjava/javax/swing/text/DefaultCaret$BlinkTimerListener.h new file mode 100644 index 00000000000..a29c4aaa2bf --- /dev/null +++ b/libjava/javax/swing/text/DefaultCaret$BlinkTimerListener.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultCaret$BlinkTimerListener__ +#define __javax_swing_text_DefaultCaret$BlinkTimerListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultCaret; + class DefaultCaret$BlinkTimerListener; + } + } + } +} + +class javax::swing::text::DefaultCaret$BlinkTimerListener : public ::java::lang::Object +{ + + DefaultCaret$BlinkTimerListener(::javax::swing::text::DefaultCaret *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + DefaultCaret$BlinkTimerListener(::javax::swing::text::DefaultCaret *, ::javax::swing::text::DefaultCaret$BlinkTimerListener *); + jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) ignoreNextEvent; + ::javax::swing::text::DefaultCaret * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultCaret$BlinkTimerListener__ diff --git a/libjava/javax/swing/text/DefaultCaret$Bypass.h b/libjava/javax/swing/text/DefaultCaret$Bypass.h new file mode 100644 index 00000000000..045d191f153 --- /dev/null +++ b/libjava/javax/swing/text/DefaultCaret$Bypass.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultCaret$Bypass__ +#define __javax_swing_text_DefaultCaret$Bypass__ + +#pragma interface + +#include <javax/swing/text/NavigationFilter$FilterBypass.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultCaret; + class DefaultCaret$Bypass; + class Position$Bias; + } + } + } +} + +class javax::swing::text::DefaultCaret$Bypass : public ::javax::swing::text::NavigationFilter$FilterBypass +{ + +public: // actually package-private + DefaultCaret$Bypass(::javax::swing::text::DefaultCaret *); +public: + virtual ::javax::swing::text::Caret * getCaret(); + virtual void moveDot(jint, ::javax::swing::text::Position$Bias *); + virtual void setDot(jint, ::javax::swing::text::Position$Bias *); +public: // actually package-private + ::javax::swing::text::DefaultCaret * __attribute__((aligned(__alignof__( ::javax::swing::text::NavigationFilter$FilterBypass)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultCaret$Bypass__ diff --git a/libjava/javax/swing/text/DefaultCaret$DocumentHandler.h b/libjava/javax/swing/text/DefaultCaret$DocumentHandler.h new file mode 100644 index 00000000000..64b15b178d4 --- /dev/null +++ b/libjava/javax/swing/text/DefaultCaret$DocumentHandler.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultCaret$DocumentHandler__ +#define __javax_swing_text_DefaultCaret$DocumentHandler__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class DefaultCaret; + class DefaultCaret$DocumentHandler; + } + } + } +} + +class javax::swing::text::DefaultCaret$DocumentHandler : public ::java::lang::Object +{ + + DefaultCaret$DocumentHandler(::javax::swing::text::DefaultCaret *); +public: + virtual void changedUpdate(::javax::swing::event::DocumentEvent *); + virtual void insertUpdate(::javax::swing::event::DocumentEvent *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *); +public: // actually package-private + DefaultCaret$DocumentHandler(::javax::swing::text::DefaultCaret *, ::javax::swing::text::DefaultCaret$DocumentHandler *); + ::javax::swing::text::DefaultCaret * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultCaret$DocumentHandler__ diff --git a/libjava/javax/swing/text/DefaultCaret$PropertyChangeHandler.h b/libjava/javax/swing/text/DefaultCaret$PropertyChangeHandler.h new file mode 100644 index 00000000000..469a8858ed7 --- /dev/null +++ b/libjava/javax/swing/text/DefaultCaret$PropertyChangeHandler.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultCaret$PropertyChangeHandler__ +#define __javax_swing_text_DefaultCaret$PropertyChangeHandler__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeEvent; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultCaret; + class DefaultCaret$PropertyChangeHandler; + } + } + } +} + +class javax::swing::text::DefaultCaret$PropertyChangeHandler : public ::java::lang::Object +{ + + DefaultCaret$PropertyChangeHandler(::javax::swing::text::DefaultCaret *); +public: + virtual void propertyChange(::java::beans::PropertyChangeEvent *); +public: // actually package-private + DefaultCaret$PropertyChangeHandler(::javax::swing::text::DefaultCaret *, ::javax::swing::text::DefaultCaret$PropertyChangeHandler *); + ::javax::swing::text::DefaultCaret * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultCaret$PropertyChangeHandler__ diff --git a/libjava/javax/swing/text/DefaultCaret.h b/libjava/javax/swing/text/DefaultCaret.h new file mode 100644 index 00000000000..882bda70ca2 --- /dev/null +++ b/libjava/javax/swing/text/DefaultCaret.h @@ -0,0 +1,161 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultCaret__ +#define __javax_swing_text_DefaultCaret__ + +#pragma interface + +#include <java/awt/Rectangle.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Point; + class Rectangle; + namespace event + { + class FocusEvent; + class MouseEvent; + } + } + namespace beans + { + class PropertyChangeListener; + } + } + namespace javax + { + namespace swing + { + class Timer; + namespace event + { + class ChangeEvent; + class ChangeListener; + class DocumentListener; + class EventListenerList; + } + namespace text + { + class DefaultCaret; + class DefaultCaret$BlinkTimerListener; + class Highlighter$HighlightPainter; + class JTextComponent; + class NavigationFilter$FilterBypass; + } + } + } +} + +class javax::swing::text::DefaultCaret : public ::java::awt::Rectangle +{ + +public: + DefaultCaret(); +private: + ::javax::swing::text::NavigationFilter$FilterBypass * getBypass(); +public: + virtual void setUpdatePolicy(jint); + virtual jint getUpdatePolicy(); + virtual void mouseDragged(::java::awt::event::MouseEvent *); + virtual void mouseMoved(::java::awt::event::MouseEvent *); + virtual void mouseClicked(::java::awt::event::MouseEvent *); + virtual void mouseEntered(::java::awt::event::MouseEvent *); + virtual void mouseExited(::java::awt::event::MouseEvent *); + virtual void mousePressed(::java::awt::event::MouseEvent *); + virtual void mouseReleased(::java::awt::event::MouseEvent *); + virtual void focusGained(::java::awt::event::FocusEvent *); + virtual void focusLost(::java::awt::event::FocusEvent *); +private: + void updateTimerStatus(); +public: // actually protected + virtual void moveCaret(::java::awt::event::MouseEvent *); + virtual void positionCaret(::java::awt::event::MouseEvent *); +public: + virtual void deinstall(::javax::swing::text::JTextComponent *); + virtual void install(::javax::swing::text::JTextComponent *); + virtual void setMagicCaretPosition(::java::awt::Point *); + virtual ::java::awt::Point * getMagicCaretPosition(); + virtual jint getMark(); +private: + void clearHighlight(); + void handleHighlight(); +public: + virtual void setSelectionVisible(jboolean); + virtual jboolean isSelectionVisible(); +public: // actually protected + virtual void repaint(); +public: + virtual void paint(::java::awt::Graphics *); + virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *); + virtual void addChangeListener(::javax::swing::event::ChangeListener *); + virtual void removeChangeListener(::javax::swing::event::ChangeListener *); + virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners(); +public: // actually protected + virtual void fireStateChanged(); + virtual ::javax::swing::text::JTextComponent * getComponent(); +public: + virtual jint getBlinkRate(); + virtual void setBlinkRate(jint); + virtual jint getDot(); + virtual void moveDot(jint); +public: // actually package-private + virtual void moveDotImpl(jint); +public: + virtual void setDot(jint); +public: // actually package-private + virtual void setDotImpl(jint); + virtual void appear(); +public: + virtual jboolean isActive(); + virtual jboolean isVisible(); + virtual void setVisible(jboolean); +public: // actually protected + virtual ::javax::swing::text::Highlighter$HighlightPainter * getSelectionPainter(); + virtual void damage(::java::awt::Rectangle *); + virtual void adjustVisibility(::java::awt::Rectangle *); +private: + void initBlinkTimer(); +public: // actually package-private + static ::javax::swing::text::JTextComponent * componentWithSelection; +private: + static const jlong serialVersionUID = 4325555698756477346LL; +public: + static const jint ALWAYS_UPDATE = 2; + static const jint NEVER_UPDATE = 1; + static const jint UPDATE_WHEN_ON_EDT = 0; +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::java::awt::Rectangle)))) policy; +public: // actually protected + ::javax::swing::event::ChangeEvent * changeEvent; + ::javax::swing::event::EventListenerList * listenerList; +public: // actually package-private + ::javax::swing::event::DocumentListener * documentListener; + ::java::beans::PropertyChangeListener * propertyChangeListener; + ::javax::swing::text::JTextComponent * textComponent; +private: + jboolean selectionVisible; + jint blinkRate; + jint dot; + jint mark; + ::java::awt::Point * magicCaretPosition; +public: // actually package-private + jboolean visible; + jboolean active; +private: + ::java::lang::Object * highlightEntry; + ::javax::swing::Timer * blinkTimer; + ::javax::swing::text::DefaultCaret$BlinkTimerListener * blinkListener; +public: // actually package-private + ::javax::swing::text::NavigationFilter$FilterBypass * bypass; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultCaret__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$BackwardAction.h b/libjava/javax/swing/text/DefaultEditorKit$BackwardAction.h new file mode 100644 index 00000000000..7161c7a53f0 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$BackwardAction.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$BackwardAction__ +#define __javax_swing_text_DefaultEditorKit$BackwardAction__ + +#pragma interface + +#include <javax/swing/text/TextAction$HorizontalMovementAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultEditorKit$BackwardAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$BackwardAction : public ::javax::swing::text::TextAction$HorizontalMovementAction +{ + +public: // actually package-private + DefaultEditorKit$BackwardAction(); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$BackwardAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$BeepAction.h b/libjava/javax/swing/text/DefaultEditorKit$BeepAction.h new file mode 100644 index 00000000000..dfeb6a8707b --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$BeepAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$BeepAction__ +#define __javax_swing_text_DefaultEditorKit$BeepAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$BeepAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$BeepAction : public ::javax::swing::text::TextAction +{ + +public: + DefaultEditorKit$BeepAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$BeepAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$BeginAction.h b/libjava/javax/swing/text/DefaultEditorKit$BeginAction.h new file mode 100644 index 00000000000..c208fa266e2 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$BeginAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$BeginAction__ +#define __javax_swing_text_DefaultEditorKit$BeginAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$BeginAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$BeginAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$BeginAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$BeginAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$BeginLineAction.h b/libjava/javax/swing/text/DefaultEditorKit$BeginLineAction.h new file mode 100644 index 00000000000..5e253e7dca4 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$BeginLineAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$BeginLineAction__ +#define __javax_swing_text_DefaultEditorKit$BeginLineAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$BeginLineAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$BeginLineAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$BeginLineAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$BeginLineAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$BeginWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$BeginWordAction.h new file mode 100644 index 00000000000..24494a80116 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$BeginWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$BeginWordAction__ +#define __javax_swing_text_DefaultEditorKit$BeginWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$BeginWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$BeginWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$BeginWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$BeginWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$CopyAction.h b/libjava/javax/swing/text/DefaultEditorKit$CopyAction.h new file mode 100644 index 00000000000..30e8dc2f01d --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$CopyAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$CopyAction__ +#define __javax_swing_text_DefaultEditorKit$CopyAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$CopyAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$CopyAction : public ::javax::swing::text::TextAction +{ + +public: + DefaultEditorKit$CopyAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$CopyAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$CutAction.h b/libjava/javax/swing/text/DefaultEditorKit$CutAction.h new file mode 100644 index 00000000000..603d1685726 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$CutAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$CutAction__ +#define __javax_swing_text_DefaultEditorKit$CutAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$CutAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$CutAction : public ::javax::swing::text::TextAction +{ + +public: + DefaultEditorKit$CutAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$CutAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$DefaultKeyTypedAction.h b/libjava/javax/swing/text/DefaultEditorKit$DefaultKeyTypedAction.h new file mode 100644 index 00000000000..a467b07c05b --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$DefaultKeyTypedAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$DefaultKeyTypedAction__ +#define __javax_swing_text_DefaultEditorKit$DefaultKeyTypedAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$DefaultKeyTypedAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$DefaultKeyTypedAction : public ::javax::swing::text::TextAction +{ + +public: + DefaultEditorKit$DefaultKeyTypedAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$DefaultKeyTypedAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$DeleteNextCharAction.h b/libjava/javax/swing/text/DefaultEditorKit$DeleteNextCharAction.h new file mode 100644 index 00000000000..b623fa55fac --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$DeleteNextCharAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$DeleteNextCharAction__ +#define __javax_swing_text_DefaultEditorKit$DeleteNextCharAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$DeleteNextCharAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$DeleteNextCharAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$DeleteNextCharAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$DeleteNextCharAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$DeletePrevCharAction.h b/libjava/javax/swing/text/DefaultEditorKit$DeletePrevCharAction.h new file mode 100644 index 00000000000..9e4f2bf6d18 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$DeletePrevCharAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$DeletePrevCharAction__ +#define __javax_swing_text_DefaultEditorKit$DeletePrevCharAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$DeletePrevCharAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$DeletePrevCharAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$DeletePrevCharAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$DeletePrevCharAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$DownAction.h b/libjava/javax/swing/text/DefaultEditorKit$DownAction.h new file mode 100644 index 00000000000..facbd833be1 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$DownAction.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$DownAction__ +#define __javax_swing_text_DefaultEditorKit$DownAction__ + +#pragma interface + +#include <javax/swing/text/TextAction$VerticalMovementAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultEditorKit$DownAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$DownAction : public ::javax::swing::text::TextAction$VerticalMovementAction +{ + +public: // actually package-private + DefaultEditorKit$DownAction(); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$DownAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$EndAction.h b/libjava/javax/swing/text/DefaultEditorKit$EndAction.h new file mode 100644 index 00000000000..b2cedfe98f3 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$EndAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$EndAction__ +#define __javax_swing_text_DefaultEditorKit$EndAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$EndAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$EndAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$EndAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$EndAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$EndLineAction.h b/libjava/javax/swing/text/DefaultEditorKit$EndLineAction.h new file mode 100644 index 00000000000..907656700f0 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$EndLineAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$EndLineAction__ +#define __javax_swing_text_DefaultEditorKit$EndLineAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$EndLineAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$EndLineAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$EndLineAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$EndLineAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$EndWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$EndWordAction.h new file mode 100644 index 00000000000..252a77ab14a --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$EndWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$EndWordAction__ +#define __javax_swing_text_DefaultEditorKit$EndWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$EndWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$EndWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$EndWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$EndWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$ForwardAction.h b/libjava/javax/swing/text/DefaultEditorKit$ForwardAction.h new file mode 100644 index 00000000000..3c3c7cfd18c --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$ForwardAction.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$ForwardAction__ +#define __javax_swing_text_DefaultEditorKit$ForwardAction__ + +#pragma interface + +#include <javax/swing/text/TextAction$HorizontalMovementAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultEditorKit$ForwardAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$ForwardAction : public ::javax::swing::text::TextAction$HorizontalMovementAction +{ + +public: // actually package-private + DefaultEditorKit$ForwardAction(); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$ForwardAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$InsertBreakAction.h b/libjava/javax/swing/text/DefaultEditorKit$InsertBreakAction.h new file mode 100644 index 00000000000..173b4b18d79 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$InsertBreakAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$InsertBreakAction__ +#define __javax_swing_text_DefaultEditorKit$InsertBreakAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$InsertBreakAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$InsertBreakAction : public ::javax::swing::text::TextAction +{ + +public: + DefaultEditorKit$InsertBreakAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$InsertBreakAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$InsertContentAction.h b/libjava/javax/swing/text/DefaultEditorKit$InsertContentAction.h new file mode 100644 index 00000000000..98d77fa17fd --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$InsertContentAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$InsertContentAction__ +#define __javax_swing_text_DefaultEditorKit$InsertContentAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$InsertContentAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$InsertContentAction : public ::javax::swing::text::TextAction +{ + +public: + DefaultEditorKit$InsertContentAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$InsertContentAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$InsertTabAction.h b/libjava/javax/swing/text/DefaultEditorKit$InsertTabAction.h new file mode 100644 index 00000000000..6201db686f6 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$InsertTabAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$InsertTabAction__ +#define __javax_swing_text_DefaultEditorKit$InsertTabAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$InsertTabAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$InsertTabAction : public ::javax::swing::text::TextAction +{ + +public: + DefaultEditorKit$InsertTabAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$InsertTabAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$NextWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$NextWordAction.h new file mode 100644 index 00000000000..eedad5f0dbf --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$NextWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$NextWordAction__ +#define __javax_swing_text_DefaultEditorKit$NextWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$NextWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$NextWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$NextWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$NextWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$PasteAction.h b/libjava/javax/swing/text/DefaultEditorKit$PasteAction.h new file mode 100644 index 00000000000..2a0764c7a9f --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$PasteAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$PasteAction__ +#define __javax_swing_text_DefaultEditorKit$PasteAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$PasteAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$PasteAction : public ::javax::swing::text::TextAction +{ + +public: + DefaultEditorKit$PasteAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$PasteAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$PreviousWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$PreviousWordAction.h new file mode 100644 index 00000000000..6d7f529cd53 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$PreviousWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$PreviousWordAction__ +#define __javax_swing_text_DefaultEditorKit$PreviousWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$PreviousWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$PreviousWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$PreviousWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$PreviousWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectAllAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectAllAction.h new file mode 100644 index 00000000000..7286cd079ce --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectAllAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectAllAction__ +#define __javax_swing_text_DefaultEditorKit$SelectAllAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectAllAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectAllAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectAllAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectAllAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectLineAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectLineAction.h new file mode 100644 index 00000000000..390f7db2823 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectLineAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectLineAction__ +#define __javax_swing_text_DefaultEditorKit$SelectLineAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectLineAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectLineAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectLineAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectLineAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectWordAction.h new file mode 100644 index 00000000000..bc33182b611 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectWordAction__ +#define __javax_swing_text_DefaultEditorKit$SelectWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionBackwardAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionBackwardAction.h new file mode 100644 index 00000000000..3417cebb222 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionBackwardAction.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionBackwardAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionBackwardAction__ + +#pragma interface + +#include <javax/swing/text/TextAction$HorizontalMovementAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultEditorKit$SelectionBackwardAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionBackwardAction : public ::javax::swing::text::TextAction$HorizontalMovementAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionBackwardAction(); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionBackwardAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginAction.h new file mode 100644 index 00000000000..e0f68eb2e40 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionBeginAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionBeginAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectionBeginAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionBeginAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionBeginAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionBeginAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginLineAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginLineAction.h new file mode 100644 index 00000000000..d8b57669c8e --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginLineAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionBeginLineAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionBeginLineAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectionBeginLineAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionBeginLineAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionBeginLineAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionBeginLineAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginWordAction.h new file mode 100644 index 00000000000..fa85b345129 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionBeginWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionBeginWordAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionBeginWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectionBeginWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionBeginWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionBeginWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionBeginWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionDownAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionDownAction.h new file mode 100644 index 00000000000..5e005df8bfb --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionDownAction.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionDownAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionDownAction__ + +#pragma interface + +#include <javax/swing/text/TextAction$VerticalMovementAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultEditorKit$SelectionDownAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionDownAction : public ::javax::swing::text::TextAction$VerticalMovementAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionDownAction(); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionDownAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionEndAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionEndAction.h new file mode 100644 index 00000000000..b1b03cdbb3d --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionEndAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionEndAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionEndAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectionEndAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionEndAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionEndAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionEndAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionEndLineAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionEndLineAction.h new file mode 100644 index 00000000000..2ff14cb78d7 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionEndLineAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionEndLineAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionEndLineAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectionEndLineAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionEndLineAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionEndLineAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionEndLineAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionEndWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionEndWordAction.h new file mode 100644 index 00000000000..5bb3b47c2fa --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionEndWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionEndWordAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionEndWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectionEndWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionEndWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionEndWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionEndWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionForwardAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionForwardAction.h new file mode 100644 index 00000000000..8447af6a3d7 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionForwardAction.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionForwardAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionForwardAction__ + +#pragma interface + +#include <javax/swing/text/TextAction$HorizontalMovementAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultEditorKit$SelectionForwardAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionForwardAction : public ::javax::swing::text::TextAction$HorizontalMovementAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionForwardAction(); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionForwardAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionNextWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionNextWordAction.h new file mode 100644 index 00000000000..1647d7c4277 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionNextWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionNextWordAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionNextWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectionNextWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionNextWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionNextWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionNextWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionPreviousWordAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionPreviousWordAction.h new file mode 100644 index 00000000000..5257dafe636 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionPreviousWordAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionPreviousWordAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionPreviousWordAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultEditorKit$SelectionPreviousWordAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionPreviousWordAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionPreviousWordAction(); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionPreviousWordAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$SelectionUpAction.h b/libjava/javax/swing/text/DefaultEditorKit$SelectionUpAction.h new file mode 100644 index 00000000000..9d5b3f41ca1 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$SelectionUpAction.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$SelectionUpAction__ +#define __javax_swing_text_DefaultEditorKit$SelectionUpAction__ + +#pragma interface + +#include <javax/swing/text/TextAction$VerticalMovementAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultEditorKit$SelectionUpAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$SelectionUpAction : public ::javax::swing::text::TextAction$VerticalMovementAction +{ + +public: // actually package-private + DefaultEditorKit$SelectionUpAction(); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$SelectionUpAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit$UpAction.h b/libjava/javax/swing/text/DefaultEditorKit$UpAction.h new file mode 100644 index 00000000000..e2cc3eaa7e9 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit$UpAction.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit$UpAction__ +#define __javax_swing_text_DefaultEditorKit$UpAction__ + +#pragma interface + +#include <javax/swing/text/TextAction$VerticalMovementAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class DefaultEditorKit$UpAction; + } + } + } +} + +class javax::swing::text::DefaultEditorKit$UpAction : public ::javax::swing::text::TextAction$VerticalMovementAction +{ + +public: // actually package-private + DefaultEditorKit$UpAction(); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit$UpAction__ diff --git a/libjava/javax/swing/text/DefaultEditorKit.h b/libjava/javax/swing/text/DefaultEditorKit.h new file mode 100644 index 00000000000..281960937e9 --- /dev/null +++ b/libjava/javax/swing/text/DefaultEditorKit.h @@ -0,0 +1,100 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultEditorKit__ +#define __javax_swing_text_DefaultEditorKit__ + +#pragma interface + +#include <javax/swing/text/EditorKit.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class Action; + namespace text + { + class Caret; + class DefaultEditorKit; + class Document; + class ViewFactory; + } + } + } +} + +class javax::swing::text::DefaultEditorKit : public ::javax::swing::text::EditorKit +{ + +public: + DefaultEditorKit(); + virtual ::javax::swing::text::Caret * createCaret(); + virtual ::javax::swing::text::Document * createDefaultDocument(); + virtual JArray< ::javax::swing::Action * > * getActions(); + virtual ::java::lang::String * getContentType(); + virtual ::javax::swing::text::ViewFactory * getViewFactory(); + virtual void read(::java::io::InputStream *, ::javax::swing::text::Document *, jint); + virtual void read(::java::io::Reader *, ::javax::swing::text::Document *, jint); + virtual void write(::java::io::OutputStream *, ::javax::swing::text::Document *, jint, jint); + virtual void write(::java::io::Writer *, ::javax::swing::text::Document *, jint, jint); +private: + static const jlong serialVersionUID = 9017245433028523428LL; +public: + static ::java::lang::String * backwardAction; + static ::java::lang::String * beepAction; + static ::java::lang::String * beginAction; + static ::java::lang::String * beginLineAction; + static ::java::lang::String * beginParagraphAction; + static ::java::lang::String * beginWordAction; + static ::java::lang::String * copyAction; + static ::java::lang::String * cutAction; + static ::java::lang::String * defaultKeyTypedAction; + static ::java::lang::String * deleteNextCharAction; + static ::java::lang::String * deletePrevCharAction; + static ::java::lang::String * downAction; + static ::java::lang::String * endAction; + static ::java::lang::String * endLineAction; + static ::java::lang::String * EndOfLineStringProperty; + static ::java::lang::String * endParagraphAction; + static ::java::lang::String * endWordAction; + static ::java::lang::String * forwardAction; + static ::java::lang::String * insertBreakAction; + static ::java::lang::String * insertContentAction; + static ::java::lang::String * insertTabAction; + static ::java::lang::String * nextWordAction; + static ::java::lang::String * pageDownAction; + static ::java::lang::String * pageUpAction; + static ::java::lang::String * pasteAction; + static ::java::lang::String * previousWordAction; + static ::java::lang::String * readOnlyAction; + static ::java::lang::String * selectAllAction; + static ::java::lang::String * selectionBackwardAction; + static ::java::lang::String * selectionBeginAction; + static ::java::lang::String * selectionBeginLineAction; + static ::java::lang::String * selectionBeginParagraphAction; + static ::java::lang::String * selectionBeginWordAction; + static ::java::lang::String * selectionDownAction; + static ::java::lang::String * selectionEndAction; + static ::java::lang::String * selectionEndLineAction; + static ::java::lang::String * selectionEndParagraphAction; + static ::java::lang::String * selectionEndWordAction; + static ::java::lang::String * selectionForwardAction; + static ::java::lang::String * selectionNextWordAction; + static ::java::lang::String * selectionPreviousWordAction; + static ::java::lang::String * selectionUpAction; + static ::java::lang::String * selectLineAction; + static ::java::lang::String * selectParagraphAction; + static ::java::lang::String * selectWordAction; + static ::java::lang::String * upAction; + static ::java::lang::String * writableAction; +private: + static JArray< ::javax::swing::Action * > * defaultActions; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultEditorKit__ diff --git a/libjava/javax/swing/text/DefaultFormatter$FormatterDocumentFilter.h b/libjava/javax/swing/text/DefaultFormatter$FormatterDocumentFilter.h new file mode 100644 index 00000000000..090ade49349 --- /dev/null +++ b/libjava/javax/swing/text/DefaultFormatter$FormatterDocumentFilter.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultFormatter$FormatterDocumentFilter__ +#define __javax_swing_text_DefaultFormatter$FormatterDocumentFilter__ + +#pragma interface + +#include <javax/swing/text/DocumentFilter.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class DefaultFormatter; + class DefaultFormatter$FormatterDocumentFilter; + class DocumentFilter$FilterBypass; + } + } + } +} + +class javax::swing::text::DefaultFormatter$FormatterDocumentFilter : public ::javax::swing::text::DocumentFilter +{ + + DefaultFormatter$FormatterDocumentFilter(::javax::swing::text::DefaultFormatter *); +public: + virtual void remove(::javax::swing::text::DocumentFilter$FilterBypass *, jint, jint); + virtual void insertString(::javax::swing::text::DocumentFilter$FilterBypass *, jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); + virtual void replace(::javax::swing::text::DocumentFilter$FilterBypass *, jint, jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); +private: + void commitIfAllowed(); + void checkValidInput(); +public: // actually package-private + DefaultFormatter$FormatterDocumentFilter(::javax::swing::text::DefaultFormatter *, ::javax::swing::text::DefaultFormatter$FormatterDocumentFilter *); + ::javax::swing::text::DefaultFormatter * __attribute__((aligned(__alignof__( ::javax::swing::text::DocumentFilter)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultFormatter$FormatterDocumentFilter__ diff --git a/libjava/javax/swing/text/DefaultFormatter.h b/libjava/javax/swing/text/DefaultFormatter.h new file mode 100644 index 00000000000..858a1efcac8 --- /dev/null +++ b/libjava/javax/swing/text/DefaultFormatter.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultFormatter__ +#define __javax_swing_text_DefaultFormatter__ + +#pragma interface + +#include <javax/swing/JFormattedTextField$AbstractFormatter.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class JFormattedTextField; + namespace text + { + class DefaultFormatter; + class DocumentFilter; + } + } + } +} + +class javax::swing::text::DefaultFormatter : public ::javax::swing::JFormattedTextField$AbstractFormatter +{ + +public: + DefaultFormatter(); + virtual void install(::javax::swing::JFormattedTextField *); + virtual jboolean getCommitsOnValidEdit(); + virtual void setCommitsOnValidEdit(jboolean); + virtual jboolean getOverwriteMode(); + virtual void setOverwriteMode(jboolean); + virtual jboolean getAllowsInvalid(); + virtual void setAllowsInvalid(jboolean); + virtual ::java::lang::Class * getValueClass(); + virtual void setValueClass(::java::lang::Class *); + virtual ::java::lang::Object * stringToValue(::java::lang::String *); + virtual ::java::lang::String * valueToString(::java::lang::Object *); + virtual ::java::lang::Object * clone(); +public: // actually protected + virtual ::javax::swing::text::DocumentFilter * getDocumentFilter(); +public: // actually package-private + static ::javax::swing::JFormattedTextField * access$0(::javax::swing::text::DefaultFormatter *); +private: + static const jlong serialVersionUID = -355018354457785329LL; +public: // actually package-private + jboolean __attribute__((aligned(__alignof__( ::javax::swing::JFormattedTextField$AbstractFormatter)))) commitsOnValidEdit; + jboolean overwriteMode; + jboolean allowsInvalid; + ::java::lang::Class * valueClass; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultFormatter__ diff --git a/libjava/javax/swing/text/DefaultFormatterFactory.h b/libjava/javax/swing/text/DefaultFormatterFactory.h new file mode 100644 index 00000000000..8e39926a666 --- /dev/null +++ b/libjava/javax/swing/text/DefaultFormatterFactory.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultFormatterFactory__ +#define __javax_swing_text_DefaultFormatterFactory__ + +#pragma interface + +#include <javax/swing/JFormattedTextField$AbstractFormatterFactory.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class JFormattedTextField; + class JFormattedTextField$AbstractFormatter; + namespace text + { + class DefaultFormatterFactory; + } + } + } +} + +class javax::swing::text::DefaultFormatterFactory : public ::javax::swing::JFormattedTextField$AbstractFormatterFactory +{ + +public: + DefaultFormatterFactory(); + DefaultFormatterFactory(::javax::swing::JFormattedTextField$AbstractFormatter *); + DefaultFormatterFactory(::javax::swing::JFormattedTextField$AbstractFormatter *, ::javax::swing::JFormattedTextField$AbstractFormatter *); + DefaultFormatterFactory(::javax::swing::JFormattedTextField$AbstractFormatter *, ::javax::swing::JFormattedTextField$AbstractFormatter *, ::javax::swing::JFormattedTextField$AbstractFormatter *); + DefaultFormatterFactory(::javax::swing::JFormattedTextField$AbstractFormatter *, ::javax::swing::JFormattedTextField$AbstractFormatter *, ::javax::swing::JFormattedTextField$AbstractFormatter *, ::javax::swing::JFormattedTextField$AbstractFormatter *); + virtual ::javax::swing::JFormattedTextField$AbstractFormatter * getDefaultFormatter(); + virtual void setDefaultFormatter(::javax::swing::JFormattedTextField$AbstractFormatter *); + virtual ::javax::swing::JFormattedTextField$AbstractFormatter * getDisplayFormatter(); + virtual void setDisplayFormatter(::javax::swing::JFormattedTextField$AbstractFormatter *); + virtual ::javax::swing::JFormattedTextField$AbstractFormatter * getEditFormatter(); + virtual void setEditFormatter(::javax::swing::JFormattedTextField$AbstractFormatter *); + virtual ::javax::swing::JFormattedTextField$AbstractFormatter * getNullFormatter(); + virtual void setNullFormatter(::javax::swing::JFormattedTextField$AbstractFormatter *); + virtual ::javax::swing::JFormattedTextField$AbstractFormatter * getFormatter(::javax::swing::JFormattedTextField *); +public: // actually package-private + ::javax::swing::JFormattedTextField$AbstractFormatter * __attribute__((aligned(__alignof__( ::javax::swing::JFormattedTextField$AbstractFormatterFactory)))) defaultFormatter; + ::javax::swing::JFormattedTextField$AbstractFormatter * editFormatter; + ::javax::swing::JFormattedTextField$AbstractFormatter * displayFormatter; + ::javax::swing::JFormattedTextField$AbstractFormatter * nullFormatter; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultFormatterFactory__ diff --git a/libjava/javax/swing/text/DefaultHighlighter$DefaultHighlightPainter.h b/libjava/javax/swing/text/DefaultHighlighter$DefaultHighlightPainter.h new file mode 100644 index 00000000000..0baecc9c081 --- /dev/null +++ b/libjava/javax/swing/text/DefaultHighlighter$DefaultHighlightPainter.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultHighlighter$DefaultHighlightPainter__ +#define __javax_swing_text_DefaultHighlighter$DefaultHighlightPainter__ + +#pragma interface + +#include <javax/swing/text/LayeredHighlighter$LayerPainter.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultHighlighter$DefaultHighlightPainter; + class JTextComponent; + class View; + } + } + } +} + +class javax::swing::text::DefaultHighlighter$DefaultHighlightPainter : public ::javax::swing::text::LayeredHighlighter$LayerPainter +{ + +public: + DefaultHighlighter$DefaultHighlightPainter(::java::awt::Color *); + virtual ::java::awt::Color * getColor(); + virtual void paint(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *); + virtual ::java::awt::Shape * paintLayer(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *, ::javax::swing::text::View *); +private: + ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::text::LayeredHighlighter$LayerPainter)))) color; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultHighlighter$DefaultHighlightPainter__ diff --git a/libjava/javax/swing/text/DefaultHighlighter$HighlightEntry.h b/libjava/javax/swing/text/DefaultHighlighter$HighlightEntry.h new file mode 100644 index 00000000000..439d60491b2 --- /dev/null +++ b/libjava/javax/swing/text/DefaultHighlighter$HighlightEntry.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultHighlighter$HighlightEntry__ +#define __javax_swing_text_DefaultHighlighter$HighlightEntry__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class DefaultHighlighter; + class DefaultHighlighter$HighlightEntry; + class Highlighter$HighlightPainter; + class Position; + } + } + } +} + +class javax::swing::text::DefaultHighlighter$HighlightEntry : public ::java::lang::Object +{ + +public: + DefaultHighlighter$HighlightEntry(::javax::swing::text::DefaultHighlighter *, ::javax::swing::text::Position *, ::javax::swing::text::Position *, ::javax::swing::text::Highlighter$HighlightPainter *); + virtual jint getStartOffset(); + virtual jint getEndOffset(); + virtual ::javax::swing::text::Highlighter$HighlightPainter * getPainter(); +public: // actually package-private + ::javax::swing::text::Position * __attribute__((aligned(__alignof__( ::java::lang::Object)))) p0; + ::javax::swing::text::Position * p1; + ::javax::swing::text::Highlighter$HighlightPainter * painter; + ::javax::swing::text::DefaultHighlighter * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultHighlighter$HighlightEntry__ diff --git a/libjava/javax/swing/text/DefaultHighlighter$LayerHighlightEntry.h b/libjava/javax/swing/text/DefaultHighlighter$LayerHighlightEntry.h new file mode 100644 index 00000000000..15220e242ab --- /dev/null +++ b/libjava/javax/swing/text/DefaultHighlighter$LayerHighlightEntry.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultHighlighter$LayerHighlightEntry__ +#define __javax_swing_text_DefaultHighlighter$LayerHighlightEntry__ + +#pragma interface + +#include <javax/swing/text/DefaultHighlighter$HighlightEntry.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultHighlighter; + class DefaultHighlighter$LayerHighlightEntry; + class Highlighter$HighlightPainter; + class JTextComponent; + class Position; + class View; + } + } + } +} + +class javax::swing::text::DefaultHighlighter$LayerHighlightEntry : public ::javax::swing::text::DefaultHighlighter$HighlightEntry +{ + +public: // actually package-private + DefaultHighlighter$LayerHighlightEntry(::javax::swing::text::DefaultHighlighter *, ::javax::swing::text::Position *, ::javax::swing::text::Position *, ::javax::swing::text::Highlighter$HighlightPainter *); + virtual void paintLayeredHighlight(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *, ::javax::swing::text::View *); + ::java::awt::Rectangle * __attribute__((aligned(__alignof__( ::javax::swing::text::DefaultHighlighter$HighlightEntry)))) paintRect; + ::javax::swing::text::DefaultHighlighter * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultHighlighter$LayerHighlightEntry__ diff --git a/libjava/javax/swing/text/DefaultHighlighter.h b/libjava/javax/swing/text/DefaultHighlighter.h new file mode 100644 index 00000000000..a237a131280 --- /dev/null +++ b/libjava/javax/swing/text/DefaultHighlighter.h @@ -0,0 +1,67 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultHighlighter__ +#define __javax_swing_text_DefaultHighlighter__ + +#pragma interface + +#include <javax/swing/text/LayeredHighlighter.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class DefaultHighlighter; + class Highlighter$Highlight; + class Highlighter$HighlightPainter; + class JTextComponent; + class LayeredHighlighter$LayerPainter; + class View; + } + } + } +} + +class javax::swing::text::DefaultHighlighter : public ::javax::swing::text::LayeredHighlighter +{ + +public: + DefaultHighlighter(); + virtual jboolean getDrawsLayeredHighlights(); + virtual void setDrawsLayeredHighlights(jboolean); +private: + void checkPositions(jint, jint); +public: + virtual void install(::javax::swing::text::JTextComponent *); + virtual void deinstall(::javax::swing::text::JTextComponent *); + virtual ::java::lang::Object * addHighlight(jint, jint, ::javax::swing::text::Highlighter$HighlightPainter *); + virtual void removeHighlight(::java::lang::Object *); + virtual void removeAllHighlights(); + virtual JArray< ::javax::swing::text::Highlighter$Highlight * > * getHighlights(); + virtual void changeHighlight(::java::lang::Object *, jint, jint); + virtual void paintLayeredHighlights(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *, ::javax::swing::text::View *); + virtual void paint(::java::awt::Graphics *); + static ::javax::swing::text::LayeredHighlighter$LayerPainter * DefaultPainter; +private: + ::javax::swing::text::JTextComponent * __attribute__((aligned(__alignof__( ::javax::swing::text::LayeredHighlighter)))) textComponent; + ::java::util::ArrayList * highlights; + jboolean drawsLayeredHighlights; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultHighlighter__ diff --git a/libjava/javax/swing/text/DefaultStyledDocument$AttributeUndoableEdit.h b/libjava/javax/swing/text/DefaultStyledDocument$AttributeUndoableEdit.h new file mode 100644 index 00000000000..ebaf8caa869 --- /dev/null +++ b/libjava/javax/swing/text/DefaultStyledDocument$AttributeUndoableEdit.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultStyledDocument$AttributeUndoableEdit__ +#define __javax_swing_text_DefaultStyledDocument$AttributeUndoableEdit__ + +#pragma interface + +#include <javax/swing/undo/AbstractUndoableEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class DefaultStyledDocument$AttributeUndoableEdit; + class Element; + } + } + } +} + +class javax::swing::text::DefaultStyledDocument$AttributeUndoableEdit : public ::javax::swing::undo::AbstractUndoableEdit +{ + +public: + DefaultStyledDocument$AttributeUndoableEdit(::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *, jboolean); + virtual void undo(); + virtual void redo(); +public: // actually protected + ::javax::swing::text::AttributeSet * __attribute__((aligned(__alignof__( ::javax::swing::undo::AbstractUndoableEdit)))) copy; + ::javax::swing::text::AttributeSet * newAttributes; + jboolean isReplacing; + ::javax::swing::text::Element * element; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultStyledDocument$AttributeUndoableEdit__ diff --git a/libjava/javax/swing/text/DefaultStyledDocument$Edit.h b/libjava/javax/swing/text/DefaultStyledDocument$Edit.h new file mode 100644 index 00000000000..7d63ab29ef0 --- /dev/null +++ b/libjava/javax/swing/text/DefaultStyledDocument$Edit.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultStyledDocument$Edit__ +#define __javax_swing_text_DefaultStyledDocument$Edit__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class DefaultStyledDocument; + class DefaultStyledDocument$Edit; + class Element; + } + } + } +} + +class javax::swing::text::DefaultStyledDocument$Edit : public ::java::lang::Object +{ + +public: + virtual JArray< ::javax::swing::text::Element * > * getRemovedElements(); + virtual JArray< ::javax::swing::text::Element * > * getAddedElements(); +private: + jboolean contains(::java::util::Vector *, ::javax::swing::text::Element *); +public: + virtual void addRemovedElement(::javax::swing::text::Element *); + virtual void addRemovedElements(JArray< ::javax::swing::text::Element * > *); + virtual void addAddedElement(::javax::swing::text::Element *); + virtual void addAddedElements(JArray< ::javax::swing::text::Element * > *); + DefaultStyledDocument$Edit(::javax::swing::text::DefaultStyledDocument *, ::javax::swing::text::Element *, jint, JArray< ::javax::swing::text::Element * > *, JArray< ::javax::swing::text::Element * > *); +public: // actually package-private + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) e; + jint index; + ::java::util::Vector * removed; + ::java::util::Vector * added; + ::javax::swing::text::DefaultStyledDocument * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultStyledDocument$Edit__ diff --git a/libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer$Edit.h b/libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer$Edit.h new file mode 100644 index 00000000000..628569976a2 --- /dev/null +++ b/libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer$Edit.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultStyledDocument$ElementBuffer$Edit__ +#define __javax_swing_text_DefaultStyledDocument$ElementBuffer$Edit__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class DefaultStyledDocument$ElementBuffer; + class DefaultStyledDocument$ElementBuffer$Edit; + class Element; + } + } + } +} + +class javax::swing::text::DefaultStyledDocument$ElementBuffer$Edit : public ::java::lang::Object +{ + +public: // actually package-private + DefaultStyledDocument$ElementBuffer$Edit(::javax::swing::text::DefaultStyledDocument$ElementBuffer *, ::javax::swing::text::Element *, jint); + DefaultStyledDocument$ElementBuffer$Edit(::javax::swing::text::DefaultStyledDocument$ElementBuffer *, ::javax::swing::text::Element *, jint, jboolean); + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) e; + jint index; + ::java::util::ArrayList * removed; + ::java::util::ArrayList * added; + jboolean isFracture; + ::javax::swing::text::DefaultStyledDocument$ElementBuffer * this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultStyledDocument$ElementBuffer$Edit__ diff --git a/libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer.h b/libjava/javax/swing/text/DefaultStyledDocument$ElementBuffer.h new file mode 100644 index 00000000000..17151db0e8b --- /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__ diff --git a/libjava/javax/swing/text/DefaultStyledDocument$ElementSpec.h b/libjava/javax/swing/text/DefaultStyledDocument$ElementSpec.h new file mode 100644 index 00000000000..7c2433411b6 --- /dev/null +++ b/libjava/javax/swing/text/DefaultStyledDocument$ElementSpec.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultStyledDocument$ElementSpec__ +#define __javax_swing_text_DefaultStyledDocument$ElementSpec__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class DefaultStyledDocument$ElementSpec; + } + } + } +} + +class javax::swing::text::DefaultStyledDocument$ElementSpec : public ::java::lang::Object +{ + +public: + DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort); + DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort, jint); + DefaultStyledDocument$ElementSpec(::javax::swing::text::AttributeSet *, jshort, JArray< jchar > *, jint, jint); + virtual void setType(jshort); + virtual jshort getType(); + virtual void setDirection(jshort); + virtual jshort getDirection(); + virtual ::javax::swing::text::AttributeSet * getAttributes(); + virtual JArray< jchar > * getArray(); + virtual jint getOffset(); + virtual jint getLength(); + virtual ::java::lang::String * toString(); + static const jshort StartTagType = 1; + static const jshort EndTagType = 2; + static const jshort ContentType = 3; + static const jshort JoinPreviousDirection = 4; + static const jshort JoinNextDirection = 5; + static const jshort OriginateDirection = 6; + static const jshort JoinFractureDirection = 7; +public: // actually package-private + jshort __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; + jshort direction; + jint offset; + jint length; + JArray< jchar > * content; + ::javax::swing::text::AttributeSet * attributes; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultStyledDocument$ElementSpec__ diff --git a/libjava/javax/swing/text/DefaultStyledDocument$SectionElement.h b/libjava/javax/swing/text/DefaultStyledDocument$SectionElement.h new file mode 100644 index 00000000000..969238dc39d --- /dev/null +++ b/libjava/javax/swing/text/DefaultStyledDocument$SectionElement.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultStyledDocument$SectionElement__ +#define __javax_swing_text_DefaultStyledDocument$SectionElement__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument$BranchElement.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class DefaultStyledDocument; + class DefaultStyledDocument$SectionElement; + } + } + } +} + +class javax::swing::text::DefaultStyledDocument$SectionElement : public ::javax::swing::text::AbstractDocument$BranchElement +{ + +public: + DefaultStyledDocument$SectionElement(::javax::swing::text::DefaultStyledDocument *); + virtual ::java::lang::String * getName(); +public: // actually package-private + ::javax::swing::text::DefaultStyledDocument * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument$BranchElement)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultStyledDocument$SectionElement__ diff --git a/libjava/javax/swing/text/DefaultStyledDocument$StyleChangeListener.h b/libjava/javax/swing/text/DefaultStyledDocument$StyleChangeListener.h new file mode 100644 index 00000000000..e3095acf5b6 --- /dev/null +++ b/libjava/javax/swing/text/DefaultStyledDocument$StyleChangeListener.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultStyledDocument$StyleChangeListener__ +#define __javax_swing_text_DefaultStyledDocument$StyleChangeListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class ChangeEvent; + } + namespace text + { + class DefaultStyledDocument; + class DefaultStyledDocument$StyleChangeListener; + } + } + } +} + +class javax::swing::text::DefaultStyledDocument$StyleChangeListener : public ::java::lang::Object +{ + + DefaultStyledDocument$StyleChangeListener(::javax::swing::text::DefaultStyledDocument *); +public: + virtual void stateChanged(::javax::swing::event::ChangeEvent *); +public: // actually package-private + DefaultStyledDocument$StyleChangeListener(::javax::swing::text::DefaultStyledDocument *, ::javax::swing::text::DefaultStyledDocument$StyleChangeListener *); + ::javax::swing::text::DefaultStyledDocument * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultStyledDocument$StyleChangeListener__ diff --git a/libjava/javax/swing/text/DefaultStyledDocument.h b/libjava/javax/swing/text/DefaultStyledDocument.h new file mode 100644 index 00000000000..8db689f6926 --- /dev/null +++ b/libjava/javax/swing/text/DefaultStyledDocument.h @@ -0,0 +1,95 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultStyledDocument__ +#define __javax_swing_text_DefaultStyledDocument__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Font; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument$AbstractElement; + class AbstractDocument$Content; + class AbstractDocument$DefaultDocumentEvent; + class AttributeSet; + class DefaultStyledDocument; + class DefaultStyledDocument$ElementBuffer; + class DefaultStyledDocument$ElementSpec; + class DefaultStyledDocument$StyleChangeListener; + class Element; + class Style; + class StyleContext; + } + } + } +} + +class javax::swing::text::DefaultStyledDocument : public ::javax::swing::text::AbstractDocument +{ + +public: + DefaultStyledDocument(); + DefaultStyledDocument(::javax::swing::text::StyleContext *); + DefaultStyledDocument(::javax::swing::text::AbstractDocument$Content *, ::javax::swing::text::StyleContext *); + virtual ::javax::swing::text::Style * addStyle(::java::lang::String *, ::javax::swing::text::Style *); +public: // actually protected + virtual ::javax::swing::text::AbstractDocument$AbstractElement * createDefaultRoot(); +public: + virtual ::javax::swing::text::Element * getCharacterElement(jint); + virtual ::java::awt::Color * getBackground(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::Element * getDefaultRootElement(); + virtual ::java::awt::Font * getFont(::javax::swing::text::AttributeSet *); + virtual ::java::awt::Color * getForeground(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::Style * getLogicalStyle(jint); + virtual ::javax::swing::text::Element * getParagraphElement(jint); + virtual ::javax::swing::text::Style * getStyle(::java::lang::String *); + virtual void removeStyle(::java::lang::String *); + virtual void setCharacterAttributes(jint, jint, ::javax::swing::text::AttributeSet *, jboolean); + virtual void setLogicalStyle(jint, ::javax::swing::text::Style *); + virtual void setParagraphAttributes(jint, jint, ::javax::swing::text::AttributeSet *, jboolean); +public: // actually protected + virtual void insertUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *, ::javax::swing::text::AttributeSet *); +private: + jshort insertAfterNewline(::javax::swing::text::Element *, ::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *, ::java::util::ArrayList *, jint, jint); +public: // actually package-private + virtual jshort handleInsertAfterNewline(::java::util::Vector *, jint, jint, ::javax::swing::text::Element *, ::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *); +public: // actually protected + virtual void removeUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); +public: + virtual ::java::util::Enumeration * getStyleNames(); +public: // actually protected + virtual void styleChanged(::javax::swing::text::Style *); + virtual void insert(jint, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *); + virtual void create(JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *); +private: + static const jlong serialVersionUID = 940485415728614849LL; +public: + static const jint BUFFER_SIZE_DEFAULT = 4096; +public: // actually protected + ::javax::swing::text::DefaultStyledDocument$ElementBuffer * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument)))) buffer; +private: + ::javax::swing::text::DefaultStyledDocument$StyleChangeListener * styleChangeListener; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultStyledDocument__ diff --git a/libjava/javax/swing/text/DefaultTextUI.h b/libjava/javax/swing/text/DefaultTextUI.h new file mode 100644 index 00000000000..5c211d3040f --- /dev/null +++ b/libjava/javax/swing/text/DefaultTextUI.h @@ -0,0 +1,32 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DefaultTextUI__ +#define __javax_swing_text_DefaultTextUI__ + +#pragma interface + +#include <javax/swing/plaf/basic/BasicTextUI.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class DefaultTextUI; + } + } + } +} + +class javax::swing::text::DefaultTextUI : public ::javax::swing::plaf::basic::BasicTextUI +{ + +public: + DefaultTextUI(); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DefaultTextUI__ diff --git a/libjava/javax/swing/text/Document.h b/libjava/javax/swing/text/Document.h new file mode 100644 index 00000000000..d68e3e77d89 --- /dev/null +++ b/libjava/javax/swing/text/Document.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Document__ +#define __javax_swing_text_Document__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class DocumentListener; + class UndoableEditListener; + } + namespace text + { + class AttributeSet; + class Document; + class Element; + class Position; + class Segment; + } + } + } +} + +class javax::swing::text::Document : public ::java::lang::Object +{ + +public: + virtual void addDocumentListener(::javax::swing::event::DocumentListener *) = 0; + virtual void addUndoableEditListener(::javax::swing::event::UndoableEditListener *) = 0; + virtual ::javax::swing::text::Position * createPosition(jint) = 0; + virtual ::javax::swing::text::Element * getDefaultRootElement() = 0; + virtual ::javax::swing::text::Position * getEndPosition() = 0; + virtual jint getLength() = 0; + virtual ::java::lang::Object * getProperty(::java::lang::Object *) = 0; + virtual JArray< ::javax::swing::text::Element * > * getRootElements() = 0; + virtual ::javax::swing::text::Position * getStartPosition() = 0; + virtual ::java::lang::String * getText(jint, jint) = 0; + virtual void getText(jint, jint, ::javax::swing::text::Segment *) = 0; + virtual void insertString(jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *) = 0; + virtual void putProperty(::java::lang::Object *, ::java::lang::Object *) = 0; + virtual void remove(jint, jint) = 0; + virtual void removeDocumentListener(::javax::swing::event::DocumentListener *) = 0; + virtual void removeUndoableEditListener(::javax::swing::event::UndoableEditListener *) = 0; + virtual void render(::java::lang::Runnable *) = 0; + static ::java::lang::String * StreamDescriptionProperty; + static ::java::lang::String * TitleProperty; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Document__ diff --git a/libjava/javax/swing/text/DocumentFilter$FilterBypass.h b/libjava/javax/swing/text/DocumentFilter$FilterBypass.h new file mode 100644 index 00000000000..4b5c3589d33 --- /dev/null +++ b/libjava/javax/swing/text/DocumentFilter$FilterBypass.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DocumentFilter$FilterBypass__ +#define __javax_swing_text_DocumentFilter$FilterBypass__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class Document; + class DocumentFilter$FilterBypass; + } + } + } +} + +class javax::swing::text::DocumentFilter$FilterBypass : public ::java::lang::Object +{ + +public: + DocumentFilter$FilterBypass(); + virtual ::javax::swing::text::Document * getDocument() = 0; + virtual void insertString(jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *) = 0; + virtual void remove(jint, jint) = 0; + virtual void replace(jint, jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DocumentFilter$FilterBypass__ diff --git a/libjava/javax/swing/text/DocumentFilter.h b/libjava/javax/swing/text/DocumentFilter.h new file mode 100644 index 00000000000..106478aff12 --- /dev/null +++ b/libjava/javax/swing/text/DocumentFilter.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_DocumentFilter__ +#define __javax_swing_text_DocumentFilter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class DocumentFilter; + class DocumentFilter$FilterBypass; + } + } + } +} + +class javax::swing::text::DocumentFilter : public ::java::lang::Object +{ + +public: + DocumentFilter(); + virtual void insertString(::javax::swing::text::DocumentFilter$FilterBypass *, jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); + virtual void remove(::javax::swing::text::DocumentFilter$FilterBypass *, jint, jint); + virtual void replace(::javax::swing::text::DocumentFilter$FilterBypass *, jint, jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_DocumentFilter__ diff --git a/libjava/javax/swing/text/EditorKit.h b/libjava/javax/swing/text/EditorKit.h new file mode 100644 index 00000000000..eaeef504294 --- /dev/null +++ b/libjava/javax/swing/text/EditorKit.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_EditorKit__ +#define __javax_swing_text_EditorKit__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class Action; + class JEditorPane; + namespace text + { + class Caret; + class Document; + class EditorKit; + class ViewFactory; + } + } + } +} + +class javax::swing::text::EditorKit : public ::java::lang::Object +{ + +public: + EditorKit(); + virtual ::java::lang::Object * clone(); + virtual void deinstall(::javax::swing::JEditorPane *); + virtual void install(::javax::swing::JEditorPane *); + virtual ::javax::swing::text::Caret * createCaret() = 0; + virtual ::javax::swing::text::Document * createDefaultDocument() = 0; + virtual JArray< ::javax::swing::Action * > * getActions() = 0; + virtual ::java::lang::String * getContentType() = 0; + virtual ::javax::swing::text::ViewFactory * getViewFactory() = 0; + virtual void read(::java::io::InputStream *, ::javax::swing::text::Document *, jint) = 0; + virtual void read(::java::io::Reader *, ::javax::swing::text::Document *, jint) = 0; + virtual void write(::java::io::OutputStream *, ::javax::swing::text::Document *, jint, jint) = 0; + virtual void write(::java::io::Writer *, ::javax::swing::text::Document *, jint, jint) = 0; +private: + static const jlong serialVersionUID = -5044124649345887822LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_EditorKit__ diff --git a/libjava/javax/swing/text/Element.h b/libjava/javax/swing/text/Element.h new file mode 100644 index 00000000000..6166044c0ec --- /dev/null +++ b/libjava/javax/swing/text/Element.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Element__ +#define __javax_swing_text_Element__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class Document; + class Element; + } + } + } +} + +class javax::swing::text::Element : public ::java::lang::Object +{ + +public: + virtual ::javax::swing::text::AttributeSet * getAttributes() = 0; + virtual ::javax::swing::text::Document * getDocument() = 0; + virtual ::javax::swing::text::Element * getElement(jint) = 0; + virtual jint getElementCount() = 0; + virtual jint getElementIndex(jint) = 0; + virtual jint getEndOffset() = 0; + virtual ::java::lang::String * getName() = 0; + virtual ::javax::swing::text::Element * getParentElement() = 0; + virtual jint getStartOffset() = 0; + virtual jboolean isLeaf() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Element__ diff --git a/libjava/javax/swing/text/ElementIterator$ElementRef.h b/libjava/javax/swing/text/ElementIterator$ElementRef.h new file mode 100644 index 00000000000..dd2c984c44d --- /dev/null +++ b/libjava/javax/swing/text/ElementIterator$ElementRef.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ElementIterator$ElementRef__ +#define __javax_swing_text_ElementIterator$ElementRef__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class ElementIterator; + class ElementIterator$ElementRef; + } + } + } +} + +class javax::swing::text::ElementIterator$ElementRef : public ::java::lang::Object +{ + +public: // actually package-private + ElementIterator$ElementRef(::javax::swing::text::ElementIterator *, ::javax::swing::text::Element *); + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) element; + jint index; + ::javax::swing::text::ElementIterator * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ElementIterator$ElementRef__ diff --git a/libjava/javax/swing/text/ElementIterator.h b/libjava/javax/swing/text/ElementIterator.h new file mode 100644 index 00000000000..1d963602109 --- /dev/null +++ b/libjava/javax/swing/text/ElementIterator.h @@ -0,0 +1,46 @@ + +// 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__ diff --git a/libjava/javax/swing/text/EmptyAttributeSet$1.h b/libjava/javax/swing/text/EmptyAttributeSet$1.h new file mode 100644 index 00000000000..c4a2173de62 --- /dev/null +++ b/libjava/javax/swing/text/EmptyAttributeSet$1.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_EmptyAttributeSet$1__ +#define __javax_swing_text_EmptyAttributeSet$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class EmptyAttributeSet; + class EmptyAttributeSet$1; + } + } + } +} + +class javax::swing::text::EmptyAttributeSet$1 : public ::java::lang::Object +{ + +public: // actually package-private + EmptyAttributeSet$1(::javax::swing::text::EmptyAttributeSet *); +public: + jboolean hasMoreElements(); + ::java::lang::Object * nextElement(); +public: // actually package-private + ::javax::swing::text::EmptyAttributeSet * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_EmptyAttributeSet$1__ diff --git a/libjava/javax/swing/text/EmptyAttributeSet.h b/libjava/javax/swing/text/EmptyAttributeSet.h new file mode 100644 index 00000000000..e0f19294400 --- /dev/null +++ b/libjava/javax/swing/text/EmptyAttributeSet.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_EmptyAttributeSet__ +#define __javax_swing_text_EmptyAttributeSet__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class EmptyAttributeSet; + } + } + } +} + +class javax::swing::text::EmptyAttributeSet : public ::java::lang::Object +{ + +public: // actually package-private + EmptyAttributeSet(); +public: + jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *); + jboolean containsAttributes(::javax::swing::text::AttributeSet *); + ::javax::swing::text::AttributeSet * copyAttributes(); + ::java::lang::Object * getAttribute(::java::lang::Object *); + jint getAttributeCount(); + ::java::util::Enumeration * getAttributeNames(); + ::javax::swing::text::AttributeSet * getResolveParent(); + jboolean isDefined(::java::lang::Object *); + jboolean isEqual(::javax::swing::text::AttributeSet *); + jboolean equals(::java::lang::Object *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_EmptyAttributeSet__ diff --git a/libjava/javax/swing/text/FieldView$1.h b/libjava/javax/swing/text/FieldView$1.h new file mode 100644 index 00000000000..8c0ad8e4bfc --- /dev/null +++ b/libjava/javax/swing/text/FieldView$1.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_FieldView$1__ +#define __javax_swing_text_FieldView$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class ChangeEvent; + } + namespace text + { + class FieldView; + class FieldView$1; + } + } + } +} + +class javax::swing::text::FieldView$1 : public ::java::lang::Object +{ + +public: // actually package-private + FieldView$1(::javax::swing::text::FieldView *); +public: + void stateChanged(::javax::swing::event::ChangeEvent *); +public: // actually package-private + ::javax::swing::text::FieldView * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_FieldView$1__ diff --git a/libjava/javax/swing/text/FieldView.h b/libjava/javax/swing/text/FieldView.h new file mode 100644 index 00000000000..54cf4fb8272 --- /dev/null +++ b/libjava/javax/swing/text/FieldView.h @@ -0,0 +1,73 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_FieldView__ +#define __javax_swing_text_FieldView__ + +#pragma interface + +#include <javax/swing/text/PlainView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class FontMetrics; + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + class BoundedRangeModel; + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class FieldView; + class Position$Bias; + class ViewFactory; + } + } + } +} + +class javax::swing::text::FieldView : public ::javax::swing::text::PlainView +{ + +public: + FieldView(::javax::swing::text::Element *); +private: + void checkContainer(); + void updateVisibility(); +public: // actually protected + virtual ::java::awt::FontMetrics * getFontMetrics(); + virtual ::java::awt::Shape * adjustAllocation(::java::awt::Shape *); +public: + virtual jfloat getPreferredSpan(jint); +private: + jfloat calculateHorizontalSpan(); +public: + virtual jint getResizeWeight(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +public: // actually package-private + ::javax::swing::BoundedRangeModel * __attribute__((aligned(__alignof__( ::javax::swing::text::PlainView)))) horizontalVisibility; + jfloat cachedSpan; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_FieldView__ diff --git a/libjava/javax/swing/text/FlowView$FlowStrategy.h b/libjava/javax/swing/text/FlowView$FlowStrategy.h new file mode 100644 index 00000000000..c9d567d2f1b --- /dev/null +++ b/libjava/javax/swing/text/FlowView$FlowStrategy.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_FlowView$FlowStrategy__ +#define __javax_swing_text_FlowView$FlowStrategy__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class FlowView; + class FlowView$FlowStrategy; + class View; + } + } + } +} + +class javax::swing::text::FlowView$FlowStrategy : public ::java::lang::Object +{ + +public: + FlowView$FlowStrategy(); + virtual void insertUpdate(::javax::swing::text::FlowView *, ::javax::swing::event::DocumentEvent *, ::java::awt::Rectangle *); + virtual void removeUpdate(::javax::swing::text::FlowView *, ::javax::swing::event::DocumentEvent *, ::java::awt::Rectangle *); + virtual void changedUpdate(::javax::swing::text::FlowView *, ::javax::swing::event::DocumentEvent *, ::java::awt::Rectangle *); +public: // actually protected + virtual ::javax::swing::text::View * getLogicalView(::javax::swing::text::FlowView *); +public: + virtual void layout(::javax::swing::text::FlowView *); +public: // actually protected + virtual jint layoutRow(::javax::swing::text::FlowView *, jint, jint); + virtual ::javax::swing::text::View * createView(::javax::swing::text::FlowView *, jint, jint, jint); + virtual void adjustRow(::javax::swing::text::FlowView *, jint, jint, jint); +private: + jboolean contains(::javax::swing::text::View *, ::javax::swing::text::View *); + void reparent(::javax::swing::text::View *, ::javax::swing::text::View *); +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_FlowView$FlowStrategy__ diff --git a/libjava/javax/swing/text/FlowView$LogicalView.h b/libjava/javax/swing/text/FlowView$LogicalView.h new file mode 100644 index 00000000000..271b4ef4a8e --- /dev/null +++ b/libjava/javax/swing/text/FlowView$LogicalView.h @@ -0,0 +1,68 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_FlowView$LogicalView__ +#define __javax_swing_text_FlowView$LogicalView__ + +#pragma interface + +#include <javax/swing/text/CompositeView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class AttributeSet; + class Element; + class FlowView; + class FlowView$LogicalView; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::FlowView$LogicalView : public ::javax::swing::text::CompositeView +{ + +public: // actually package-private + FlowView$LogicalView(::javax::swing::text::FlowView *, ::javax::swing::text::Element *); +public: + virtual ::javax::swing::text::AttributeSet * getAttributes(); +public: // actually protected + virtual void childAllocation(jint, ::java::awt::Rectangle *); + virtual ::javax::swing::text::View * getViewAtPoint(jint, jint, ::java::awt::Rectangle *); + virtual jboolean isAfter(jint, jint, ::java::awt::Rectangle *); + virtual jboolean isBefore(jint, jint, ::java::awt::Rectangle *); +public: + virtual jfloat getPreferredSpan(jint); + virtual jfloat getMinimumSpan(jint); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); +public: // actually protected + virtual void loadChildren(::javax::swing::text::ViewFactory *); + virtual void forwardUpdateToView(::javax::swing::text::View *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual jint getViewIndexAtPosition(jint); +public: // actually package-private + ::javax::swing::text::FlowView * __attribute__((aligned(__alignof__( ::javax::swing::text::CompositeView)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_FlowView$LogicalView__ diff --git a/libjava/javax/swing/text/FlowView.h b/libjava/javax/swing/text/FlowView.h new file mode 100644 index 00000000000..76535791569 --- /dev/null +++ b/libjava/javax/swing/text/FlowView.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_FlowView__ +#define __javax_swing_text_FlowView__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Shape; + } + } + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class FlowView; + class FlowView$FlowStrategy; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::FlowView : public ::javax::swing::text::BoxView +{ + +public: + FlowView(::javax::swing::text::Element *, jint); + virtual jint getFlowAxis(); + virtual jint getFlowSpan(jint); + virtual jint getFlowStart(jint); +public: // actually protected + virtual ::javax::swing::text::View * createRow() = 0; + virtual void loadChildren(::javax::swing::text::ViewFactory *); + virtual void layout(jint, jint); +public: + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +public: // actually protected + virtual jint getViewIndexAtPosition(jint); + virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *); +public: // actually package-private + static ::javax::swing::text::FlowView$FlowStrategy * sharedStrategy; +public: // actually protected + jint __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) layoutSpan; + ::javax::swing::text::View * layoutPool; + ::javax::swing::text::FlowView$FlowStrategy * strategy; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_FlowView__ diff --git a/libjava/javax/swing/text/GapContent$GapContentPosition.h b/libjava/javax/swing/text/GapContent$GapContentPosition.h new file mode 100644 index 00000000000..a1d7afa6667 --- /dev/null +++ b/libjava/javax/swing/text/GapContent$GapContentPosition.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GapContent$GapContentPosition__ +#define __javax_swing_text_GapContent$GapContentPosition__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class GapContent; + class GapContent$GapContentPosition; + class GapContent$Mark; + } + } + } +} + +class javax::swing::text::GapContent$GapContentPosition : public ::java::lang::Object +{ + +public: // actually package-private + GapContent$GapContentPosition(::javax::swing::text::GapContent *); +public: + virtual jint getOffset(); +public: // actually package-private + ::javax::swing::text::GapContent$Mark * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mark; + ::javax::swing::text::GapContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GapContent$GapContentPosition__ diff --git a/libjava/javax/swing/text/GapContent$InsertUndo.h b/libjava/javax/swing/text/GapContent$InsertUndo.h new file mode 100644 index 00000000000..f36085d3cb8 --- /dev/null +++ b/libjava/javax/swing/text/GapContent$InsertUndo.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GapContent$InsertUndo__ +#define __javax_swing_text_GapContent$InsertUndo__ + +#pragma interface + +#include <javax/swing/undo/AbstractUndoableEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class GapContent; + class GapContent$InsertUndo; + } + } + } +} + +class javax::swing::text::GapContent$InsertUndo : public ::javax::swing::undo::AbstractUndoableEdit +{ + +public: + GapContent$InsertUndo(::javax::swing::text::GapContent *, jint, jint); + virtual void undo(); + virtual void redo(); + jint __attribute__((aligned(__alignof__( ::javax::swing::undo::AbstractUndoableEdit)))) where; + jint length; +public: // actually package-private + ::java::lang::String * text; +private: + ::java::util::Vector * positions; +public: // actually package-private + ::javax::swing::text::GapContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GapContent$InsertUndo__ diff --git a/libjava/javax/swing/text/GapContent$Mark.h b/libjava/javax/swing/text/GapContent$Mark.h new file mode 100644 index 00000000000..35671023314 --- /dev/null +++ b/libjava/javax/swing/text/GapContent$Mark.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GapContent$Mark__ +#define __javax_swing_text_GapContent$Mark__ + +#pragma interface + +#include <java/lang/ref/WeakReference.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class GapContent; + class GapContent$GapContentPosition; + class GapContent$Mark; + } + } + } +} + +class javax::swing::text::GapContent$Mark : public ::java::lang::ref::WeakReference +{ + +public: // actually package-private + GapContent$Mark(::javax::swing::text::GapContent *, jint); + GapContent$Mark(::javax::swing::text::GapContent *, jint, ::javax::swing::text::GapContent$GapContentPosition *, ::java::lang::ref::ReferenceQueue *); + virtual jint getOffset(); + virtual ::javax::swing::text::GapContent$GapContentPosition * getPosition(); + jint __attribute__((aligned(__alignof__( ::java::lang::ref::WeakReference)))) mark; + ::javax::swing::text::GapContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GapContent$Mark__ diff --git a/libjava/javax/swing/text/GapContent$UndoPosRef.h b/libjava/javax/swing/text/GapContent$UndoPosRef.h new file mode 100644 index 00000000000..bd0629ac8ca --- /dev/null +++ b/libjava/javax/swing/text/GapContent$UndoPosRef.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GapContent$UndoPosRef__ +#define __javax_swing_text_GapContent$UndoPosRef__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class GapContent; + class GapContent$Mark; + class GapContent$UndoPosRef; + } + } + } +} + +class javax::swing::text::GapContent$UndoPosRef : public ::java::lang::Object +{ + +public: // actually package-private + GapContent$UndoPosRef(::javax::swing::text::GapContent *, ::javax::swing::text::GapContent$Mark *); + virtual void reset(); +private: + ::javax::swing::text::GapContent$Mark * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mark; + jint undoOffset; +public: // actually package-private + ::javax::swing::text::GapContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GapContent$UndoPosRef__ diff --git a/libjava/javax/swing/text/GapContent$UndoRemove.h b/libjava/javax/swing/text/GapContent$UndoRemove.h new file mode 100644 index 00000000000..f5f8d6ae423 --- /dev/null +++ b/libjava/javax/swing/text/GapContent$UndoRemove.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GapContent$UndoRemove__ +#define __javax_swing_text_GapContent$UndoRemove__ + +#pragma interface + +#include <javax/swing/undo/AbstractUndoableEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class GapContent; + class GapContent$UndoRemove; + } + } + } +} + +class javax::swing::text::GapContent$UndoRemove : public ::javax::swing::undo::AbstractUndoableEdit +{ + +public: + GapContent$UndoRemove(::javax::swing::text::GapContent *, jint, ::java::lang::String *); + virtual void undo(); + virtual void redo(); + jint __attribute__((aligned(__alignof__( ::javax::swing::undo::AbstractUndoableEdit)))) where; +public: // actually package-private + ::java::lang::String * text; +private: + ::java::util::Vector * positions; +public: // actually package-private + ::javax::swing::text::GapContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GapContent$UndoRemove__ diff --git a/libjava/javax/swing/text/GapContent.h b/libjava/javax/swing/text/GapContent.h new file mode 100644 index 00000000000..44a26ef5385 --- /dev/null +++ b/libjava/javax/swing/text/GapContent.h @@ -0,0 +1,91 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GapContent__ +#define __javax_swing_text_GapContent__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class GapContent; + class GapContent$Mark; + class Position; + class Segment; + } + namespace undo + { + class UndoableEdit; + } + } + } +} + +class javax::swing::text::GapContent : public ::java::lang::Object +{ + +public: + GapContent(); + GapContent(jint); +public: // actually protected + virtual ::java::lang::Object * allocateArray(jint); + virtual jint getArrayLength(); +public: + virtual jint length(); + virtual ::javax::swing::undo::UndoableEdit * insertString(jint, ::java::lang::String *); + virtual ::javax::swing::undo::UndoableEdit * remove(jint, jint); + virtual ::java::lang::String * getString(jint, jint); + virtual void getChars(jint, jint, ::javax::swing::text::Segment *); + virtual ::javax::swing::text::Position * createPosition(jint); +public: // actually protected + virtual void shiftEnd(jint); + virtual void shiftGap(jint); + virtual void shiftGapStartDown(jint); + virtual void shiftGapEndUp(jint); + virtual ::java::lang::Object * getArray(); + virtual void replace(jint, jint, ::java::lang::Object *, jint); +private: + void removeImpl(jint, jint); + jint addImpl(jint, jint); +public: // actually protected + virtual jint getGapStart(); + virtual jint getGapEnd(); + virtual ::java::util::Vector * getPositionsInRange(::java::util::Vector *, jint, jint); + virtual void resetMarksAtZero(); + virtual void updateUndoPositions(::java::util::Vector *, jint, jint); +private: + void dump(); + void dumpMarks(); +public: // actually package-private + virtual jint search(::javax::swing::text::GapContent$Mark *); +private: + jint searchFirst(jint); + jint compare(::javax::swing::text::GapContent$Mark *, ::javax::swing::text::GapContent$Mark *); + void garbageCollect(); + static const jlong serialVersionUID = -6226052713477823730LL; +public: // actually package-private + static const jint DEFAULT_BUFSIZE = 10; + JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) buffer; + jint gapStart; + jint gapEnd; + ::java::util::ArrayList * marks; +private: + jint garbageMarks; + ::javax::swing::text::GapContent$Mark * searchMark; +public: // actually package-private + ::java::lang::ref::ReferenceQueue * queueOfDeath; + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GapContent__ diff --git a/libjava/javax/swing/text/GlyphView$DefaultGlyphPainter.h b/libjava/javax/swing/text/GlyphView$DefaultGlyphPainter.h new file mode 100644 index 00000000000..7a9c8a6b708 --- /dev/null +++ b/libjava/javax/swing/text/GlyphView$DefaultGlyphPainter.h @@ -0,0 +1,60 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GlyphView$DefaultGlyphPainter__ +#define __javax_swing_text_GlyphView$DefaultGlyphPainter__ + +#pragma interface + +#include <javax/swing/text/GlyphView$GlyphPainter.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class FontMetrics; + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class GlyphView; + class GlyphView$DefaultGlyphPainter; + class Position$Bias; + class TabExpander; + } + } + } +} + +class javax::swing::text::GlyphView$DefaultGlyphPainter : public ::javax::swing::text::GlyphView$GlyphPainter +{ + +public: // actually package-private + GlyphView$DefaultGlyphPainter(); +public: + virtual jfloat getHeight(::javax::swing::text::GlyphView *); + virtual void paint(::javax::swing::text::GlyphView *, ::java::awt::Graphics *, ::java::awt::Shape *, jint, jint); + virtual ::java::awt::Shape * modelToView(::javax::swing::text::GlyphView *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *); + virtual jfloat getSpan(::javax::swing::text::GlyphView *, jint, jint, ::javax::swing::text::TabExpander *, jfloat); + virtual jfloat getAscent(::javax::swing::text::GlyphView *); + virtual jfloat getDescent(::javax::swing::text::GlyphView *); + virtual jint getBoundedPosition(::javax::swing::text::GlyphView *, jint, jfloat, jfloat); + virtual jint viewToModel(::javax::swing::text::GlyphView *, jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +private: + void updateFontMetrics(::javax::swing::text::GlyphView *); +public: // actually package-private + ::java::awt::FontMetrics * __attribute__((aligned(__alignof__( ::javax::swing::text::GlyphView$GlyphPainter)))) fontMetrics; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GlyphView$DefaultGlyphPainter__ diff --git a/libjava/javax/swing/text/GlyphView$GlyphPainter.h b/libjava/javax/swing/text/GlyphView$GlyphPainter.h new file mode 100644 index 00000000000..ada0b57bfa5 --- /dev/null +++ b/libjava/javax/swing/text/GlyphView$GlyphPainter.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GlyphView$GlyphPainter__ +#define __javax_swing_text_GlyphView$GlyphPainter__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class GlyphView; + class GlyphView$GlyphPainter; + class Position$Bias; + class TabExpander; + } + } + } +} + +class javax::swing::text::GlyphView$GlyphPainter : public ::java::lang::Object +{ + +public: + GlyphView$GlyphPainter(); + virtual jfloat getAscent(::javax::swing::text::GlyphView *) = 0; + virtual jfloat getDescent(::javax::swing::text::GlyphView *) = 0; + virtual jfloat getHeight(::javax::swing::text::GlyphView *) = 0; + virtual jint getBoundedPosition(::javax::swing::text::GlyphView *, jint, jfloat, jfloat) = 0; + virtual void paint(::javax::swing::text::GlyphView *, ::java::awt::Graphics *, ::java::awt::Shape *, jint, jint) = 0; + virtual ::java::awt::Shape * modelToView(::javax::swing::text::GlyphView *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *) = 0; + virtual jint viewToModel(::javax::swing::text::GlyphView *, jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *) = 0; + virtual jfloat getSpan(::javax::swing::text::GlyphView *, jint, jint, ::javax::swing::text::TabExpander *, jfloat) = 0; + virtual jint getNextVisualPositionFrom(::javax::swing::text::GlyphView *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *); + virtual ::javax::swing::text::GlyphView$GlyphPainter * getPainter(::javax::swing::text::GlyphView *, jint, jint); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GlyphView$GlyphPainter__ diff --git a/libjava/javax/swing/text/GlyphView$J2DGlyphPainter.h b/libjava/javax/swing/text/GlyphView$J2DGlyphPainter.h new file mode 100644 index 00000000000..a93512ae58f --- /dev/null +++ b/libjava/javax/swing/text/GlyphView$J2DGlyphPainter.h @@ -0,0 +1,65 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GlyphView$J2DGlyphPainter__ +#define __javax_swing_text_GlyphView$J2DGlyphPainter__ + +#pragma interface + +#include <javax/swing/text/GlyphView$GlyphPainter.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Font; + class Graphics; + class Shape; + namespace font + { + class FontRenderContext; + class TextLayout; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class GlyphView; + class GlyphView$GlyphPainter; + class GlyphView$J2DGlyphPainter; + class Position$Bias; + class TabExpander; + } + } + } +} + +class javax::swing::text::GlyphView$J2DGlyphPainter : public ::javax::swing::text::GlyphView$GlyphPainter +{ + +public: // actually package-private + GlyphView$J2DGlyphPainter(::java::lang::String *, ::java::awt::Font *, ::java::awt::font::FontRenderContext *); +public: + virtual ::javax::swing::text::GlyphView$GlyphPainter * getPainter(::javax::swing::text::GlyphView *, jint, jint); + virtual jfloat getAscent(::javax::swing::text::GlyphView *); + virtual jint getBoundedPosition(::javax::swing::text::GlyphView *, jint, jfloat, jfloat); + virtual jfloat getDescent(::javax::swing::text::GlyphView *); + virtual jfloat getHeight(::javax::swing::text::GlyphView *); + virtual jfloat getSpan(::javax::swing::text::GlyphView *, jint, jint, ::javax::swing::text::TabExpander *, jfloat); + virtual ::java::awt::Shape * modelToView(::javax::swing::text::GlyphView *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *); + virtual void paint(::javax::swing::text::GlyphView *, ::java::awt::Graphics *, ::java::awt::Shape *, jint, jint); + virtual jint viewToModel(::javax::swing::text::GlyphView *, jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +public: // actually package-private + ::java::awt::font::TextLayout * __attribute__((aligned(__alignof__( ::javax::swing::text::GlyphView$GlyphPainter)))) textLayout; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GlyphView$J2DGlyphPainter__ diff --git a/libjava/javax/swing/text/GlyphView.h b/libjava/javax/swing/text/GlyphView.h new file mode 100644 index 00000000000..e63c5077e77 --- /dev/null +++ b/libjava/javax/swing/text/GlyphView.h @@ -0,0 +1,100 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_GlyphView__ +#define __javax_swing_text_GlyphView__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Font; + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class GlyphView; + class GlyphView$GlyphPainter; + class Position$Bias; + class Segment; + class TabExpander; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::GlyphView : public ::javax::swing::text::View +{ + +public: + GlyphView(::javax::swing::text::Element *); + virtual ::javax::swing::text::GlyphView$GlyphPainter * getGlyphPainter(); + virtual void setGlyphPainter(::javax::swing::text::GlyphView$GlyphPainter *); +public: // actually protected + virtual void checkPainter(); +public: + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual jfloat getPreferredSpan(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); + virtual ::javax::swing::text::TabExpander * getTabExpander(); + virtual jfloat getTabbedSpan(jfloat, ::javax::swing::text::TabExpander *); + virtual jfloat getPartialSpan(jint, jint); + virtual jint getStartOffset(); + virtual jint getEndOffset(); + virtual ::javax::swing::text::Segment * getText(jint, jint); + virtual ::java::awt::Font * getFont(); + virtual ::java::awt::Color * getForeground(); + virtual ::java::awt::Color * getBackground(); + virtual jboolean isStrikeThrough(); + virtual jboolean isSubscript(); + virtual jboolean isSuperscript(); + virtual jboolean isUnderline(); +public: // actually protected + virtual ::java::lang::Object * clone(); +public: + virtual ::javax::swing::text::View * breakView(jint, jint, jfloat, jfloat); + virtual jint getBreakWeight(jint, jfloat, jfloat); +private: + jint getBreakLocation(jint, jint); +public: + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual ::javax::swing::text::View * createFragment(jint, jint); + virtual jfloat getAlignment(jint); + virtual jint getNextVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *); +public: // actually package-private + ::javax::swing::text::GlyphView$GlyphPainter * __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) glyphPainter; +private: + jint offset; + jint length; + jfloat tabX; + ::javax::swing::text::TabExpander * tabExpander; + ::javax::swing::text::Segment * cached; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_GlyphView__ diff --git a/libjava/javax/swing/text/Highlighter$Highlight.h b/libjava/javax/swing/text/Highlighter$Highlight.h new file mode 100644 index 00000000000..92ae0f430ef --- /dev/null +++ b/libjava/javax/swing/text/Highlighter$Highlight.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Highlighter$Highlight__ +#define __javax_swing_text_Highlighter$Highlight__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Highlighter$Highlight; + class Highlighter$HighlightPainter; + } + } + } +} + +class javax::swing::text::Highlighter$Highlight : public ::java::lang::Object +{ + +public: + virtual jint getEndOffset() = 0; + virtual jint getStartOffset() = 0; + virtual ::javax::swing::text::Highlighter$HighlightPainter * getPainter() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Highlighter$Highlight__ diff --git a/libjava/javax/swing/text/Highlighter$HighlightPainter.h b/libjava/javax/swing/text/Highlighter$HighlightPainter.h new file mode 100644 index 00000000000..8a0987579bf --- /dev/null +++ b/libjava/javax/swing/text/Highlighter$HighlightPainter.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Highlighter$HighlightPainter__ +#define __javax_swing_text_Highlighter$HighlightPainter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Highlighter$HighlightPainter; + class JTextComponent; + } + } + } +} + +class javax::swing::text::Highlighter$HighlightPainter : public ::java::lang::Object +{ + +public: + virtual void paint(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Highlighter$HighlightPainter__ diff --git a/libjava/javax/swing/text/Highlighter.h b/libjava/javax/swing/text/Highlighter.h new file mode 100644 index 00000000000..2f947d226d2 --- /dev/null +++ b/libjava/javax/swing/text/Highlighter.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Highlighter__ +#define __javax_swing_text_Highlighter__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Highlighter; + class Highlighter$Highlight; + class Highlighter$HighlightPainter; + class JTextComponent; + } + } + } +} + +class javax::swing::text::Highlighter : public ::java::lang::Object +{ + +public: + virtual void install(::javax::swing::text::JTextComponent *) = 0; + virtual void deinstall(::javax::swing::text::JTextComponent *) = 0; + virtual ::java::lang::Object * addHighlight(jint, jint, ::javax::swing::text::Highlighter$HighlightPainter *) = 0; + virtual void removeAllHighlights() = 0; + virtual void removeHighlight(::java::lang::Object *) = 0; + virtual void changeHighlight(::java::lang::Object *, jint, jint) = 0; + virtual JArray< ::javax::swing::text::Highlighter$Highlight * > * getHighlights() = 0; + virtual void paint(::java::awt::Graphics *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Highlighter__ diff --git a/libjava/javax/swing/text/IconView.h b/libjava/javax/swing/text/IconView.h new file mode 100644 index 00000000000..cc47c48a248 --- /dev/null +++ b/libjava/javax/swing/text/IconView.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_IconView__ +#define __javax_swing_text_IconView__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class IconView; + class Position$Bias; + } + } + } +} + +class javax::swing::text::IconView : public ::javax::swing::text::View +{ + +public: + IconView(::javax::swing::text::Element *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual jfloat getPreferredSpan(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); + virtual jfloat getAlignment(jint); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_IconView__ diff --git a/libjava/javax/swing/text/InternationalFormatter.h b/libjava/javax/swing/text/InternationalFormatter.h new file mode 100644 index 00000000000..48f4726d6c5 --- /dev/null +++ b/libjava/javax/swing/text/InternationalFormatter.h @@ -0,0 +1,64 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_InternationalFormatter__ +#define __javax_swing_text_InternationalFormatter__ + +#pragma interface + +#include <javax/swing/text/DefaultFormatter.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace text + { + class Format; + class Format$Field; + } + } + namespace javax + { + namespace swing + { + class Action; + class JFormattedTextField; + namespace text + { + class InternationalFormatter; + } + } + } +} + +class javax::swing::text::InternationalFormatter : public ::javax::swing::text::DefaultFormatter +{ + +public: + InternationalFormatter(); + InternationalFormatter(::java::text::Format *); + virtual void setFormat(::java::text::Format *); + virtual ::java::text::Format * getFormat(); + virtual void setMinimum(::java::lang::Comparable *); + virtual ::java::lang::Comparable * getMinimum(); + virtual void setMaximum(::java::lang::Comparable *); + virtual ::java::lang::Comparable * getMaximum(); + virtual void install(::javax::swing::JFormattedTextField *); + virtual ::java::lang::String * valueToString(::java::lang::Object *); + virtual ::java::lang::Object * stringToValue(::java::lang::String *); + virtual JArray< ::java::text::Format$Field * > * getFields(jint); +public: // actually protected + virtual JArray< ::javax::swing::Action * > * getActions(); +private: + static const jlong serialVersionUID = 2436068675711756856LL; +public: // actually package-private + ::java::text::Format * __attribute__((aligned(__alignof__( ::javax::swing::text::DefaultFormatter)))) format; + ::java::lang::Comparable * minimum; + ::java::lang::Comparable * maximum; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_InternationalFormatter__ diff --git a/libjava/javax/swing/text/JTextComponent$AccessibleJTextComponent.h b/libjava/javax/swing/text/JTextComponent$AccessibleJTextComponent.h new file mode 100644 index 00000000000..ea8552a664a --- /dev/null +++ b/libjava/javax/swing/text/JTextComponent$AccessibleJTextComponent.h @@ -0,0 +1,95 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_JTextComponent$AccessibleJTextComponent__ +#define __javax_swing_text_JTextComponent$AccessibleJTextComponent__ + +#pragma interface + +#include <javax/swing/JComponent$AccessibleJComponent.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Point; + class Rectangle; + } + } + namespace javax + { + namespace accessibility + { + class AccessibleEditableText; + class AccessibleRole; + class AccessibleStateSet; + class AccessibleText; + } + namespace swing + { + namespace event + { + class CaretEvent; + class DocumentEvent; + } + namespace text + { + class AttributeSet; + class JTextComponent; + class JTextComponent$AccessibleJTextComponent; + } + } + } +} + +class javax::swing::text::JTextComponent$AccessibleJTextComponent : public ::javax::swing::JComponent$AccessibleJComponent +{ + +public: + JTextComponent$AccessibleJTextComponent(::javax::swing::text::JTextComponent *); + virtual jint getCaretPosition(); + virtual ::java::lang::String * getSelectedText(); + virtual jint getSelectionStart(); + virtual jint getSelectionEnd(); + virtual void caretUpdate(::javax::swing::event::CaretEvent *); + virtual ::javax::accessibility::AccessibleStateSet * getAccessibleStateSet(); + virtual ::javax::accessibility::AccessibleRole * getAccessibleRole(); + virtual ::javax::accessibility::AccessibleEditableText * getAccessibleEditableText(); + virtual ::javax::accessibility::AccessibleText * getAccessibleText(); + virtual void insertUpdate(::javax::swing::event::DocumentEvent *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *); + virtual jint getIndexAtPoint(::java::awt::Point *); + virtual ::java::awt::Rectangle * getCharacterBounds(jint); + virtual jint getCharCount(); + virtual ::javax::swing::text::AttributeSet * getCharacterAttribute(jint); + virtual ::java::lang::String * getAtIndex(jint, jint); + virtual ::java::lang::String * getAfterIndex(jint, jint); + virtual ::java::lang::String * getBeforeIndex(jint, jint); +private: + ::java::lang::String * getAtIndexImpl(jint, jint, jint); +public: + virtual jint getAccessibleActionCount(); + virtual ::java::lang::String * getAccessibleActionDescription(jint); + virtual jboolean doAccessibleAction(jint); + virtual void setTextContents(::java::lang::String *); + virtual void insertTextAtIndex(jint, ::java::lang::String *); + virtual ::java::lang::String * getTextRange(jint, jint); + virtual void delete$(jint, jint); + virtual void cut(jint, jint); + virtual void paste(jint); + virtual void replaceText(jint, jint, ::java::lang::String *); + virtual void selectText(jint, jint); + virtual void setAttributes(jint, jint, ::javax::swing::text::AttributeSet *); +private: + static const jlong serialVersionUID = 7664188944091413696LL; + jint __attribute__((aligned(__alignof__( ::javax::swing::JComponent$AccessibleJComponent)))) caretDot; +public: // actually package-private + ::javax::swing::text::JTextComponent * this$0; + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_JTextComponent$AccessibleJTextComponent__ diff --git a/libjava/javax/swing/text/JTextComponent$DefaultKeymap.h b/libjava/javax/swing/text/JTextComponent$DefaultKeymap.h new file mode 100644 index 00000000000..0e61fb476b7 --- /dev/null +++ b/libjava/javax/swing/text/JTextComponent$DefaultKeymap.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_JTextComponent$DefaultKeymap__ +#define __javax_swing_text_JTextComponent$DefaultKeymap__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class Action; + class KeyStroke; + namespace text + { + class JTextComponent$DefaultKeymap; + class Keymap; + } + } + } +} + +class javax::swing::text::JTextComponent$DefaultKeymap : public ::java::lang::Object +{ + +public: + JTextComponent$DefaultKeymap(::java::lang::String *); + virtual void addActionForKeyStroke(::javax::swing::KeyStroke *, ::javax::swing::Action *); + virtual ::javax::swing::Action * getAction(::javax::swing::KeyStroke *); + virtual JArray< ::javax::swing::Action * > * getBoundActions(); + virtual JArray< ::javax::swing::KeyStroke * > * getBoundKeyStrokes(); + virtual ::javax::swing::Action * getDefaultAction(); + virtual JArray< ::javax::swing::KeyStroke * > * getKeyStrokesForAction(::javax::swing::Action *); + virtual ::java::lang::String * getName(); + virtual ::javax::swing::text::Keymap * getResolveParent(); + virtual jboolean isLocallyDefined(::javax::swing::KeyStroke *); + virtual void removeBindings(); + virtual void removeKeyStrokeBinding(::javax::swing::KeyStroke *); + virtual void setDefaultAction(::javax::swing::Action *); + virtual void setResolveParent(::javax::swing::text::Keymap *); +public: // actually package-private + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + ::javax::swing::text::Keymap * parent; + ::java::util::Hashtable * map; + ::javax::swing::Action * defaultAction; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_JTextComponent$DefaultKeymap__ diff --git a/libjava/javax/swing/text/JTextComponent$DefaultTransferHandler.h b/libjava/javax/swing/text/JTextComponent$DefaultTransferHandler.h new file mode 100644 index 00000000000..bdd3c56a82b --- /dev/null +++ b/libjava/javax/swing/text/JTextComponent$DefaultTransferHandler.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_JTextComponent$DefaultTransferHandler__ +#define __javax_swing_text_JTextComponent$DefaultTransferHandler__ + +#pragma interface + +#include <javax/swing/TransferHandler.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + namespace datatransfer + { + class Clipboard; + class DataFlavor; + class Transferable; + } + } + } + namespace javax + { + namespace swing + { + class JComponent; + namespace text + { + class JTextComponent; + class JTextComponent$DefaultTransferHandler; + } + } + } +} + +class javax::swing::text::JTextComponent$DefaultTransferHandler : public ::javax::swing::TransferHandler +{ + +public: // actually package-private + JTextComponent$DefaultTransferHandler(::javax::swing::text::JTextComponent *); +public: + virtual jboolean canImport(::javax::swing::JComponent *, JArray< ::java::awt::datatransfer::DataFlavor * > *); + virtual void exportToClipboard(::javax::swing::JComponent *, ::java::awt::datatransfer::Clipboard *, jint); + virtual jint getSourceActions(); + virtual jboolean importData(::javax::swing::JComponent *, ::java::awt::datatransfer::Transferable *); +public: // actually package-private + ::javax::swing::text::JTextComponent * __attribute__((aligned(__alignof__( ::javax::swing::TransferHandler)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_JTextComponent$DefaultTransferHandler__ diff --git a/libjava/javax/swing/text/JTextComponent$KeyBinding.h b/libjava/javax/swing/text/JTextComponent$KeyBinding.h new file mode 100644 index 00000000000..e3565c96fed --- /dev/null +++ b/libjava/javax/swing/text/JTextComponent$KeyBinding.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_JTextComponent$KeyBinding__ +#define __javax_swing_text_JTextComponent$KeyBinding__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class KeyStroke; + namespace text + { + class JTextComponent$KeyBinding; + } + } + } +} + +class javax::swing::text::JTextComponent$KeyBinding : public ::java::lang::Object +{ + +public: + JTextComponent$KeyBinding(::javax::swing::KeyStroke *, ::java::lang::String *); + ::javax::swing::KeyStroke * __attribute__((aligned(__alignof__( ::java::lang::Object)))) key; + ::java::lang::String * actionName; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_JTextComponent$KeyBinding__ diff --git a/libjava/javax/swing/text/JTextComponent$KeymapActionMap.h b/libjava/javax/swing/text/JTextComponent$KeymapActionMap.h new file mode 100644 index 00000000000..9496d66b3d0 --- /dev/null +++ b/libjava/javax/swing/text/JTextComponent$KeymapActionMap.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_JTextComponent$KeymapActionMap__ +#define __javax_swing_text_JTextComponent$KeymapActionMap__ + +#pragma interface + +#include <javax/swing/ActionMap.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class Action; + namespace text + { + class JTextComponent; + class JTextComponent$KeymapActionMap; + class Keymap; + } + } + } +} + +class javax::swing::text::JTextComponent$KeymapActionMap : public ::javax::swing::ActionMap +{ + +public: + JTextComponent$KeymapActionMap(::javax::swing::text::JTextComponent *, ::javax::swing::text::Keymap *); + virtual ::javax::swing::Action * get(::java::lang::Object *); + virtual jint size(); + virtual JArray< ::java::lang::Object * > * keys(); + virtual JArray< ::java::lang::Object * > * allKeys(); +public: // actually package-private + ::javax::swing::text::Keymap * __attribute__((aligned(__alignof__( ::javax::swing::ActionMap)))) map; + ::javax::swing::text::JTextComponent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_JTextComponent$KeymapActionMap__ diff --git a/libjava/javax/swing/text/JTextComponent$KeymapWrapper.h b/libjava/javax/swing/text/JTextComponent$KeymapWrapper.h new file mode 100644 index 00000000000..07e02f3ffe1 --- /dev/null +++ b/libjava/javax/swing/text/JTextComponent$KeymapWrapper.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_JTextComponent$KeymapWrapper__ +#define __javax_swing_text_JTextComponent$KeymapWrapper__ + +#pragma interface + +#include <javax/swing/InputMap.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class KeyStroke; + namespace text + { + class JTextComponent; + class JTextComponent$KeymapWrapper; + class Keymap; + } + } + } +} + +class javax::swing::text::JTextComponent$KeymapWrapper : public ::javax::swing::InputMap +{ + +public: + JTextComponent$KeymapWrapper(::javax::swing::text::JTextComponent *, ::javax::swing::text::Keymap *); + virtual jint size(); + virtual ::java::lang::Object * get(::javax::swing::KeyStroke *); + virtual JArray< ::javax::swing::KeyStroke * > * keys(); + virtual JArray< ::javax::swing::KeyStroke * > * allKeys(); +public: // actually package-private + ::javax::swing::text::Keymap * __attribute__((aligned(__alignof__( ::javax::swing::InputMap)))) map; + ::javax::swing::text::JTextComponent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_JTextComponent$KeymapWrapper__ diff --git a/libjava/javax/swing/text/JTextComponent.h b/libjava/javax/swing/text/JTextComponent.h new file mode 100644 index 00000000000..cbaec01315a --- /dev/null +++ b/libjava/javax/swing/text/JTextComponent.h @@ -0,0 +1,173 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_JTextComponent__ +#define __javax_swing_text_JTextComponent__ + +#pragma interface + +#include <javax/swing/JComponent.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Dimension; + class Insets; + class Point; + class Rectangle; + namespace event + { + class InputMethodListener; + class MouseEvent; + } + } + } + namespace javax + { + namespace accessibility + { + class AccessibleContext; + } + namespace swing + { + class Action; + namespace event + { + class CaretEvent; + class CaretListener; + } + namespace plaf + { + class TextUI; + } + namespace text + { + class Caret; + class Document; + class Highlighter; + class JTextComponent; + class JTextComponent$DefaultTransferHandler; + class JTextComponent$KeyBinding; + class Keymap; + class NavigationFilter; + } + } + } +} + +class javax::swing::text::JTextComponent : public ::javax::swing::JComponent +{ + +public: + static ::javax::swing::text::Keymap * getKeymap(::java::lang::String *); + static ::javax::swing::text::Keymap * removeKeymap(::java::lang::String *); + static ::javax::swing::text::Keymap * addKeymap(::java::lang::String *, ::javax::swing::text::Keymap *); + virtual ::javax::swing::text::Keymap * getKeymap(); + virtual void setKeymap(::javax::swing::text::Keymap *); + static void loadKeymap(::javax::swing::text::Keymap *, JArray< ::javax::swing::text::JTextComponent$KeyBinding * > *, JArray< ::javax::swing::Action * > *); + virtual JArray< ::javax::swing::Action * > * getActions(); + JTextComponent(); + virtual void setDocument(::javax::swing::text::Document *); + virtual ::javax::swing::text::Document * getDocument(); + virtual ::javax::accessibility::AccessibleContext * getAccessibleContext(); + virtual void setMargin(::java::awt::Insets *); + virtual ::java::awt::Insets * getMargin(); + virtual void setText(::java::lang::String *); + virtual ::java::lang::String * getText(); + virtual ::java::lang::String * getText(jint, jint); + virtual ::java::lang::String * getSelectedText(); + virtual ::java::lang::String * getUIClassID(); +public: // actually protected + virtual ::java::lang::String * paramString(); +public: + virtual ::javax::swing::plaf::TextUI * getUI(); + virtual void setUI(::javax::swing::plaf::TextUI *); + virtual void updateUI(); + virtual ::java::awt::Dimension * getPreferredScrollableViewportSize(); + virtual jint getScrollableUnitIncrement(::java::awt::Rectangle *, jint, jint); + virtual jint getScrollableBlockIncrement(::java::awt::Rectangle *, jint, jint); + virtual jboolean isEditable(); + virtual void setEditable(jboolean); + virtual ::javax::swing::text::Caret * getCaret(); + virtual void setCaret(::javax::swing::text::Caret *); + virtual ::java::awt::Color * getCaretColor(); + virtual void setCaretColor(::java::awt::Color *); + virtual ::java::awt::Color * getDisabledTextColor(); + virtual void setDisabledTextColor(::java::awt::Color *); + virtual ::java::awt::Color * getSelectedTextColor(); + virtual void setSelectedTextColor(::java::awt::Color *); + virtual ::java::awt::Color * getSelectionColor(); + virtual void setSelectionColor(::java::awt::Color *); + virtual jint getCaretPosition(); + virtual void setCaretPosition(jint); + virtual void moveCaretPosition(jint); + virtual ::javax::swing::text::Highlighter * getHighlighter(); + virtual void setHighlighter(::javax::swing::text::Highlighter *); + virtual jint getSelectionStart(); + virtual void setSelectionStart(jint); + virtual jint getSelectionEnd(); + virtual void setSelectionEnd(jint); + virtual void select(jint, jint); + virtual void selectAll(); + virtual void replaceSelection(::java::lang::String *); + virtual jboolean getScrollableTracksViewportHeight(); + virtual jboolean getScrollableTracksViewportWidth(); + virtual void addCaretListener(::javax::swing::event::CaretListener *); + virtual void removeCaretListener(::javax::swing::event::CaretListener *); + virtual JArray< ::javax::swing::event::CaretListener * > * getCaretListeners(); +public: // actually protected + virtual void fireCaretUpdate(::javax::swing::event::CaretEvent *); +public: + virtual void addInputMethodListener(::java::awt::event::InputMethodListener *); + virtual void removeInputMethodListener(::java::awt::event::InputMethodListener *); + virtual JArray< ::java::awt::event::InputMethodListener * > * getInputMethodListeners(); + virtual ::java::awt::Rectangle * modelToView(jint); + virtual jboolean getDragEnabled(); + virtual void setDragEnabled(jboolean); + virtual jint viewToModel(::java::awt::Point *); + virtual void copy(); + virtual void cut(); + virtual void paste(); +private: + void doTransferAction(::java::lang::String *, ::javax::swing::Action *); +public: + virtual void setFocusAccelerator(jchar); + virtual jchar getFocusAccelerator(); + virtual ::javax::swing::text::NavigationFilter * getNavigationFilter(); + virtual void setNavigationFilter(::javax::swing::text::NavigationFilter *); + virtual void read(::java::io::Reader *, ::java::lang::Object *); + virtual void write(::java::io::Writer *); + virtual ::java::lang::String * getToolTipText(::java::awt::event::MouseEvent *); +private: + static const jlong serialVersionUID = -8796518220218978795LL; +public: + static ::java::lang::String * DEFAULT_KEYMAP; + static ::java::lang::String * FOCUS_ACCELERATOR_KEY; +private: + static ::javax::swing::text::JTextComponent$DefaultTransferHandler * defaultTransferHandler; + static ::java::util::Hashtable * keymaps; + ::javax::swing::text::Keymap * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) keymap; + jchar focusAccelerator; + ::javax::swing::text::NavigationFilter * navigationFilter; +public: // actually package-private + ::javax::swing::text::Document * doc; + ::javax::swing::text::Caret * caret; + jboolean editable; +private: + ::javax::swing::text::Highlighter * highlighter; + ::java::awt::Color * caretColor; + ::java::awt::Color * disabledTextColor; + ::java::awt::Color * selectedTextColor; + ::java::awt::Color * selectionColor; + ::java::awt::Insets * margin; + jboolean dragEnabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_JTextComponent__ diff --git a/libjava/javax/swing/text/Keymap.h b/libjava/javax/swing/text/Keymap.h new file mode 100644 index 00000000000..6ec0a9816bf --- /dev/null +++ b/libjava/javax/swing/text/Keymap.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Keymap__ +#define __javax_swing_text_Keymap__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class Action; + class KeyStroke; + namespace text + { + class Keymap; + } + } + } +} + +class javax::swing::text::Keymap : public ::java::lang::Object +{ + +public: + virtual void addActionForKeyStroke(::javax::swing::KeyStroke *, ::javax::swing::Action *) = 0; + virtual ::javax::swing::Action * getAction(::javax::swing::KeyStroke *) = 0; + virtual JArray< ::javax::swing::Action * > * getBoundActions() = 0; + virtual JArray< ::javax::swing::KeyStroke * > * getBoundKeyStrokes() = 0; + virtual ::javax::swing::Action * getDefaultAction() = 0; + virtual JArray< ::javax::swing::KeyStroke * > * getKeyStrokesForAction(::javax::swing::Action *) = 0; + virtual ::java::lang::String * getName() = 0; + virtual ::javax::swing::text::Keymap * getResolveParent() = 0; + virtual jboolean isLocallyDefined(::javax::swing::KeyStroke *) = 0; + virtual void removeBindings() = 0; + virtual void removeKeyStrokeBinding(::javax::swing::KeyStroke *) = 0; + virtual void setDefaultAction(::javax::swing::Action *) = 0; + virtual void setResolveParent(::javax::swing::text::Keymap *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Keymap__ diff --git a/libjava/javax/swing/text/LabelView.h b/libjava/javax/swing/text/LabelView.h new file mode 100644 index 00000000000..0d616b22883 --- /dev/null +++ b/libjava/javax/swing/text/LabelView.h @@ -0,0 +1,87 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_LabelView__ +#define __javax_swing_text_LabelView__ + +#pragma interface + +#include <javax/swing/text/GlyphView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Font; + class FontMetrics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class LabelView; + class ViewFactory; + } + } + } +} + +class javax::swing::text::LabelView : public ::javax::swing::text::GlyphView +{ + +public: + LabelView(::javax::swing::text::Element *); +public: // actually protected + virtual void setPropertiesFromAttributes(); +public: + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual ::java::awt::Color * getBackground(); +public: // actually protected + virtual void setBackground(::java::awt::Color *); +public: + virtual ::java::awt::Color * getForeground(); + virtual ::java::awt::Font * getFont(); +public: // actually protected + virtual ::java::awt::FontMetrics * getFontMetrics(); +public: + virtual jboolean isUnderline(); +public: // actually protected + virtual void setUnderline(jboolean); +public: + virtual jboolean isSubscript(); +public: // actually protected + virtual void setSubscript(jboolean); +public: + virtual jboolean isSuperscript(); +public: // actually protected + virtual void setSuperscript(jboolean); +public: + virtual jboolean isStrikeThrough(); +public: // actually protected + virtual void setStrikeThrough(jboolean); +public: // actually package-private + ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::text::GlyphView)))) background; + ::java::awt::Color * foreground; + ::java::awt::Font * font; + jboolean strikeThrough; + jboolean underline; + jboolean subscript; + jboolean superscript; +private: + jboolean valid; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_LabelView__ diff --git a/libjava/javax/swing/text/LayeredHighlighter$LayerPainter.h b/libjava/javax/swing/text/LayeredHighlighter$LayerPainter.h new file mode 100644 index 00000000000..306061f2bbd --- /dev/null +++ b/libjava/javax/swing/text/LayeredHighlighter$LayerPainter.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_LayeredHighlighter$LayerPainter__ +#define __javax_swing_text_LayeredHighlighter$LayerPainter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class JTextComponent; + class LayeredHighlighter$LayerPainter; + class View; + } + } + } +} + +class javax::swing::text::LayeredHighlighter$LayerPainter : public ::java::lang::Object +{ + +public: + LayeredHighlighter$LayerPainter(); + virtual ::java::awt::Shape * paintLayer(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *, ::javax::swing::text::View *) = 0; + virtual void paint(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_LayeredHighlighter$LayerPainter__ diff --git a/libjava/javax/swing/text/LayeredHighlighter.h b/libjava/javax/swing/text/LayeredHighlighter.h new file mode 100644 index 00000000000..504680a41e4 --- /dev/null +++ b/libjava/javax/swing/text/LayeredHighlighter.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_LayeredHighlighter__ +#define __javax_swing_text_LayeredHighlighter__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Highlighter$Highlight; + class Highlighter$HighlightPainter; + class JTextComponent; + class LayeredHighlighter; + class View; + } + } + } +} + +class javax::swing::text::LayeredHighlighter : public ::java::lang::Object +{ + +public: + LayeredHighlighter(); + virtual void paintLayeredHighlights(::java::awt::Graphics *, jint, jint, ::java::awt::Shape *, ::javax::swing::text::JTextComponent *, ::javax::swing::text::View *) = 0; + virtual void install(::javax::swing::text::JTextComponent *) = 0; + virtual void deinstall(::javax::swing::text::JTextComponent *) = 0; + virtual ::java::lang::Object * addHighlight(jint, jint, ::javax::swing::text::Highlighter$HighlightPainter *) = 0; + virtual void removeAllHighlights() = 0; + virtual void removeHighlight(::java::lang::Object *) = 0; + virtual void changeHighlight(::java::lang::Object *, jint, jint) = 0; + virtual JArray< ::javax::swing::text::Highlighter$Highlight * > * getHighlights() = 0; + virtual void paint(::java::awt::Graphics *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_LayeredHighlighter__ diff --git a/libjava/javax/swing/text/LayoutQueue.h b/libjava/javax/swing/text/LayoutQueue.h new file mode 100644 index 00000000000..0dcc8a7977c --- /dev/null +++ b/libjava/javax/swing/text/LayoutQueue.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_LayoutQueue__ +#define __javax_swing_text_LayoutQueue__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class LayoutQueue; + } + } + } +} + +class javax::swing::text::LayoutQueue : public ::java::lang::Object +{ + +public: + LayoutQueue(); + virtual void addTask(::java::lang::Runnable *); +public: // actually protected + virtual ::java::lang::Runnable * waitForWork(); +public: + static ::javax::swing::text::LayoutQueue * getDefaultQueue(); + static void setDefaultQueue(::javax::swing::text::LayoutQueue *); +private: + static ::javax::swing::text::LayoutQueue * defaultQueue; + ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) list; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_LayoutQueue__ diff --git a/libjava/javax/swing/text/MaskFormatter.h b/libjava/javax/swing/text/MaskFormatter.h new file mode 100644 index 00000000000..d8651afc956 --- /dev/null +++ b/libjava/javax/swing/text/MaskFormatter.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_MaskFormatter__ +#define __javax_swing_text_MaskFormatter__ + +#pragma interface + +#include <javax/swing/text/DefaultFormatter.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class JFormattedTextField; + namespace text + { + class MaskFormatter; + } + } + } +} + +class javax::swing::text::MaskFormatter : public ::javax::swing::text::DefaultFormatter +{ + +public: + MaskFormatter(); + MaskFormatter(::java::lang::String *); + virtual ::java::lang::String * getMask(); + virtual ::java::lang::String * getInvalidCharacters(); + virtual void setInvalidCharacters(::java::lang::String *); + virtual ::java::lang::String * getValidCharacters(); + virtual void setValidCharacters(::java::lang::String *); + virtual ::java::lang::String * getPlaceholder(); + virtual void setPlaceholder(::java::lang::String *); + virtual jchar getPlaceholderCharacter(); + virtual void setPlaceholderCharacter(jchar); + virtual jboolean getValueContainsLiteralCharacters(); + virtual void setValueContainsLiteralCharacters(jboolean); + virtual void setMask(::java::lang::String *); + virtual void install(::javax::swing::JFormattedTextField *); + virtual ::java::lang::Object * stringToValue(::java::lang::String *); +private: + ::java::lang::String * convertStringToValue(::java::lang::String *); +public: + virtual ::java::lang::String * valueToString(::java::lang::Object *); +private: + ::java::lang::String * convertValueToString(::java::lang::String *); + static const jchar NUM_CHAR = 35; + static const jchar ESCAPE_CHAR = 39; + static const jchar UPPERCASE_CHAR = 85; + static const jchar LOWERCASE_CHAR = 76; + static const jchar ALPHANUM_CHAR = 65; + static const jchar LETTER_CHAR = 63; + static const jchar ANYTHING_CHAR = 42; + static const jchar HEX_CHAR = 72; + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::text::DefaultFormatter)))) mask; + ::java::lang::String * invalidChars; + ::java::lang::String * validChars; + ::java::lang::String * placeHolder; + jchar placeHolderChar; + jboolean valueContainsLiteralCharacters; + static ::java::lang::String * hexString; +public: // actually package-private + jint maskLength; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_MaskFormatter__ diff --git a/libjava/javax/swing/text/MutableAttributeSet.h b/libjava/javax/swing/text/MutableAttributeSet.h new file mode 100644 index 00000000000..d98305585f3 --- /dev/null +++ b/libjava/javax/swing/text/MutableAttributeSet.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_MutableAttributeSet__ +#define __javax_swing_text_MutableAttributeSet__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class MutableAttributeSet; + } + } + } +} + +class javax::swing::text::MutableAttributeSet : public ::java::lang::Object +{ + +public: + virtual void addAttribute(::java::lang::Object *, ::java::lang::Object *) = 0; + virtual void addAttributes(::javax::swing::text::AttributeSet *) = 0; + virtual void removeAttribute(::java::lang::Object *) = 0; + virtual void removeAttributes(::java::util::Enumeration *) = 0; + virtual void removeAttributes(::javax::swing::text::AttributeSet *) = 0; + virtual void setResolveParent(::javax::swing::text::AttributeSet *) = 0; + virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *) = 0; + virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *) = 0; + virtual ::javax::swing::text::AttributeSet * copyAttributes() = 0; + virtual ::java::lang::Object * getAttribute(::java::lang::Object *) = 0; + virtual jint getAttributeCount() = 0; + virtual ::java::util::Enumeration * getAttributeNames() = 0; + virtual ::javax::swing::text::AttributeSet * getResolveParent() = 0; + virtual jboolean isDefined(::java::lang::Object *) = 0; + virtual jboolean isEqual(::javax::swing::text::AttributeSet *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_MutableAttributeSet__ diff --git a/libjava/javax/swing/text/NavigationFilter$FilterBypass.h b/libjava/javax/swing/text/NavigationFilter$FilterBypass.h new file mode 100644 index 00000000000..5c771e222ac --- /dev/null +++ b/libjava/javax/swing/text/NavigationFilter$FilterBypass.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_NavigationFilter$FilterBypass__ +#define __javax_swing_text_NavigationFilter$FilterBypass__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class NavigationFilter$FilterBypass; + class Position$Bias; + } + } + } +} + +class javax::swing::text::NavigationFilter$FilterBypass : public ::java::lang::Object +{ + +public: + NavigationFilter$FilterBypass(); + virtual ::javax::swing::text::Caret * getCaret() = 0; + virtual void moveDot(jint, ::javax::swing::text::Position$Bias *) = 0; + virtual void setDot(jint, ::javax::swing::text::Position$Bias *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_NavigationFilter$FilterBypass__ diff --git a/libjava/javax/swing/text/NavigationFilter.h b/libjava/javax/swing/text/NavigationFilter.h new file mode 100644 index 00000000000..533b6e50d1a --- /dev/null +++ b/libjava/javax/swing/text/NavigationFilter.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_NavigationFilter__ +#define __javax_swing_text_NavigationFilter__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class JTextComponent; + class NavigationFilter; + class NavigationFilter$FilterBypass; + class Position$Bias; + } + } + } +} + +class javax::swing::text::NavigationFilter : public ::java::lang::Object +{ + +public: + NavigationFilter(); + virtual void moveDot(::javax::swing::text::NavigationFilter$FilterBypass *, jint, ::javax::swing::text::Position$Bias *); + virtual void setDot(::javax::swing::text::NavigationFilter$FilterBypass *, jint, ::javax::swing::text::Position$Bias *); + virtual jint getNextVisualPositionFrom(::javax::swing::text::JTextComponent *, jint, ::javax::swing::text::Position$Bias *, jint, JArray< ::javax::swing::text::Position$Bias * > *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_NavigationFilter__ diff --git a/libjava/javax/swing/text/NumberFormatter.h b/libjava/javax/swing/text/NumberFormatter.h new file mode 100644 index 00000000000..fe952fe468b --- /dev/null +++ b/libjava/javax/swing/text/NumberFormatter.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_NumberFormatter__ +#define __javax_swing_text_NumberFormatter__ + +#pragma interface + +#include <javax/swing/text/InternationalFormatter.h> +extern "Java" +{ + namespace java + { + namespace text + { + class Format; + class NumberFormat; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class NumberFormatter; + } + } + } +} + +class javax::swing::text::NumberFormatter : public ::javax::swing::text::InternationalFormatter +{ + +public: + NumberFormatter(); + NumberFormatter(::java::text::NumberFormat *); + virtual void setFormat(::java::text::Format *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_NumberFormatter__ diff --git a/libjava/javax/swing/text/ParagraphView$Row.h b/libjava/javax/swing/text/ParagraphView$Row.h new file mode 100644 index 00000000000..36a372a7098 --- /dev/null +++ b/libjava/javax/swing/text/ParagraphView$Row.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ParagraphView$Row__ +#define __javax_swing_text_ParagraphView$Row__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace text + { + class Element; + class ParagraphView; + class ParagraphView$Row; + class ViewFactory; + } + } + } +} + +class javax::swing::text::ParagraphView$Row : public ::javax::swing::text::BoxView +{ + +public: // actually package-private + ParagraphView$Row(::javax::swing::text::ParagraphView *, ::javax::swing::text::Element *); +public: + virtual jshort getLeftInset(); + virtual jfloat getAlignment(jint); +public: // actually protected + virtual jint getViewIndexAtPosition(jint); + virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *); + virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual void loadChildren(::javax::swing::text::ViewFactory *); +public: + virtual jint getStartOffset(); + virtual jint getEndOffset(); +public: // actually package-private + ::javax::swing::text::ParagraphView * __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ParagraphView$Row__ diff --git a/libjava/javax/swing/text/ParagraphView.h b/libjava/javax/swing/text/ParagraphView.h new file mode 100644 index 00000000000..fc86f73989a --- /dev/null +++ b/libjava/javax/swing/text/ParagraphView.h @@ -0,0 +1,82 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ParagraphView__ +#define __javax_swing_text_ParagraphView__ + +#pragma interface + +#include <javax/swing/text/FlowView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class ParagraphView; + class ParagraphView$Row; + class Position$Bias; + class TabSet; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::ParagraphView : public ::javax::swing::text::FlowView +{ + +public: + ParagraphView(::javax::swing::text::Element *); + virtual jfloat nextTabStop(jfloat, jint); +public: // actually protected + virtual ::javax::swing::text::View * createRow(); +public: + virtual jfloat getAlignment(jint); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +public: // actually protected + virtual void setPropertiesFromAttributes(); + virtual void setFirstLineIndent(jfloat); + virtual void setJustification(jint); + virtual void setLineSpacing(jfloat); + virtual ::javax::swing::text::View * getLayoutView(jint); + virtual jint getLayoutViewCount(); + virtual ::javax::swing::text::TabSet * getTabSet(); + virtual jint findOffsetToCharactersInString(JArray< jchar > *, jint); + virtual jint getClosestPositionTo(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *, jint, jint); + virtual jfloat getPartialSize(jint, jint); + virtual jfloat getTabBase(); + virtual void adjustRow(::javax::swing::text::ParagraphView$Row *, jint, jint); +public: + virtual ::javax::swing::text::View * breakView(jint, jfloat, ::java::awt::Shape *); + virtual jint getBreakWeight(jint, jfloat); +public: // actually package-private + static jint access$0(::javax::swing::text::ParagraphView *); +public: // actually protected + jint __attribute__((aligned(__alignof__( ::javax::swing::text::FlowView)))) firstLineIndent; +private: + jint justification; + jfloat lineSpacing; + ::javax::swing::text::TabSet * tabSet; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ParagraphView__ diff --git a/libjava/javax/swing/text/PasswordView.h b/libjava/javax/swing/text/PasswordView.h new file mode 100644 index 00000000000..ba6d3ff4762 --- /dev/null +++ b/libjava/javax/swing/text/PasswordView.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_PasswordView__ +#define __javax_swing_text_PasswordView__ + +#pragma interface + +#include <javax/swing/text/FieldView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class PasswordView; + class Position$Bias; + } + } + } +} + +class javax::swing::text::PasswordView : public ::javax::swing::text::FieldView +{ + +public: + PasswordView(::javax::swing::text::Element *); +public: // actually protected + virtual jint drawEchoCharacter(::java::awt::Graphics *, jint, jint, jchar); +private: + jchar getEchoChar(); +public: // actually protected + virtual jint drawSelectedText(::java::awt::Graphics *, jint, jint, jint, jint); + virtual jint drawUnselectedText(::java::awt::Graphics *, jint, jint, jint, jint); +public: + virtual jfloat getPreferredSpan(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +private: + JArray< jchar > * __attribute__((aligned(__alignof__( ::javax::swing::text::FieldView)))) oneCharBuffer; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_PasswordView__ diff --git a/libjava/javax/swing/text/PlainDocument.h b/libjava/javax/swing/text/PlainDocument.h new file mode 100644 index 00000000000..d3dc0dca6e2 --- /dev/null +++ b/libjava/javax/swing/text/PlainDocument.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_PlainDocument__ +#define __javax_swing_text_PlainDocument__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument$AbstractElement; + class AbstractDocument$Content; + class AbstractDocument$DefaultDocumentEvent; + class AttributeSet; + class Element; + class PlainDocument; + } + } + } +} + +class javax::swing::text::PlainDocument : public ::javax::swing::text::AbstractDocument +{ + +public: + PlainDocument(); + PlainDocument(::javax::swing::text::AbstractDocument$Content *); +private: + void reindex(); +public: // actually protected + virtual ::javax::swing::text::AbstractDocument$AbstractElement * createDefaultRoot(); + virtual void insertUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *, ::javax::swing::text::AttributeSet *); + virtual void removeUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *); +public: + virtual ::javax::swing::text::Element * getDefaultRootElement(); + virtual ::javax::swing::text::Element * getParagraphElement(jint); + virtual void insertString(jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *); +private: + static const jlong serialVersionUID = 4758290289196893664LL; +public: + static ::java::lang::String * lineLimitAttribute; + static ::java::lang::String * tabSizeAttribute; +private: + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument)))) rootElement; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_PlainDocument__ diff --git a/libjava/javax/swing/text/PlainView.h b/libjava/javax/swing/text/PlainView.h new file mode 100644 index 00000000000..e6091b0fc1c --- /dev/null +++ b/libjava/javax/swing/text/PlainView.h @@ -0,0 +1,103 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_PlainView__ +#define __javax_swing_text_PlainView__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Font; + class FontMetrics; + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class PlainView; + class Position$Bias; + class Segment; + class ViewFactory; + } + } + } +} + +class javax::swing::text::PlainView : public ::javax::swing::text::View +{ + +public: + PlainView(::javax::swing::text::Element *); +public: // actually protected + virtual void updateMetrics(); + virtual ::java::awt::Rectangle * lineToRect(::java::awt::Shape *, jint); +public: + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); +public: // actually protected + virtual void drawLine(jint, ::java::awt::Graphics *, jint, jint); + virtual jint drawSelectedText(::java::awt::Graphics *, jint, jint, jint, jint); + virtual jint drawUnselectedText(::java::awt::Graphics *, jint, jint, jint, jint); +public: + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); +public: // actually protected + virtual jint getTabSize(); +public: + virtual jfloat nextTabStop(jfloat, jint); +public: // actually package-private + virtual jfloat determineMaxLineLength(); +public: + virtual jfloat getPreferredSpan(jint); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +public: // actually protected + virtual void updateDamage(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +public: + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +public: // actually protected + virtual void damageLineRange(jint, jint, ::java::awt::Shape *, ::java::awt::Component *); + virtual ::javax::swing::text::Segment * getLineBuffer(); +private: + void findLongestLine(jint, jint); + jint getLineLength(jint); +public: // actually package-private + ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) selectedColor; + ::java::awt::Color * unselectedColor; + ::java::awt::Color * disabledColor; + jint selectionStart; + jint selectionEnd; + ::java::awt::Font * font; + jfloat maxLineLength; + ::javax::swing::text::Element * longestLine; +public: // actually protected + ::java::awt::FontMetrics * metrics; +private: + ::javax::swing::text::Segment * lineBuffer; + jint tabBase; + jint tabSize; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_PlainView__ diff --git a/libjava/javax/swing/text/Position$Bias.h b/libjava/javax/swing/text/Position$Bias.h new file mode 100644 index 00000000000..0ae5a3570a1 --- /dev/null +++ b/libjava/javax/swing/text/Position$Bias.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Position$Bias__ +#define __javax_swing_text_Position$Bias__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Position$Bias; + } + } + } +} + +class javax::swing::text::Position$Bias : public ::java::lang::Object +{ + + Position$Bias(::java::lang::String *); +public: + ::java::lang::String * toString(); + static ::javax::swing::text::Position$Bias * Backward; + static ::javax::swing::text::Position$Bias * Forward; +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_Position$Bias__ diff --git a/libjava/javax/swing/text/Position.h b/libjava/javax/swing/text/Position.h new file mode 100644 index 00000000000..1561b25fc1c --- /dev/null +++ b/libjava/javax/swing/text/Position.h @@ -0,0 +1,32 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Position__ +#define __javax_swing_text_Position__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Position; + } + } + } +} + +class javax::swing::text::Position : public ::java::lang::Object +{ + +public: + virtual jint getOffset() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Position__ diff --git a/libjava/javax/swing/text/Segment.h b/libjava/javax/swing/text/Segment.h new file mode 100644 index 00000000000..f9d5d5a6e42 --- /dev/null +++ b/libjava/javax/swing/text/Segment.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Segment__ +#define __javax_swing_text_Segment__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Segment; + } + } + } +} + +class javax::swing::text::Segment : public ::java::lang::Object +{ + +public: + Segment(); + Segment(JArray< jchar > *, jint, jint); + virtual ::java::lang::Object * clone(); + virtual jchar current(); + virtual jchar first(); + virtual jint getBeginIndex(); + virtual jint getEndIndex(); + virtual jint getIndex(); + virtual jchar last(); + virtual jchar next(); + virtual jchar previous(); + virtual jchar setIndex(jint); + virtual ::java::lang::String * toString(); + virtual void setPartialReturn(jboolean); + virtual jboolean isPartialReturn(); +private: + jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) partialReturn; + jint current__; +public: + JArray< jchar > * array; + jint count; + jint offset; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_Segment__ diff --git a/libjava/javax/swing/text/SimpleAttributeSet.h b/libjava/javax/swing/text/SimpleAttributeSet.h new file mode 100644 index 00000000000..0ea91af02f7 --- /dev/null +++ b/libjava/javax/swing/text/SimpleAttributeSet.h @@ -0,0 +1,65 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_SimpleAttributeSet__ +#define __javax_swing_text_SimpleAttributeSet__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class SimpleAttributeSet; + } + } + } +} + +class javax::swing::text::SimpleAttributeSet : public ::java::lang::Object +{ + +public: + SimpleAttributeSet(); + SimpleAttributeSet(::javax::swing::text::AttributeSet *); + virtual void addAttribute(::java::lang::Object *, ::java::lang::Object *); + virtual void addAttributes(::javax::swing::text::AttributeSet *); + virtual ::java::lang::Object * clone(); + virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *); +public: // actually package-private + virtual jboolean containsAttributeLocally(::java::lang::Object *, ::java::lang::Object *); +public: + virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * copyAttributes(); + virtual jboolean equals(::java::lang::Object *); + virtual ::java::lang::Object * getAttribute(::java::lang::Object *); + virtual jint getAttributeCount(); + virtual ::java::util::Enumeration * getAttributeNames(); + virtual ::javax::swing::text::AttributeSet * getResolveParent(); + virtual jint hashCode(); + virtual jboolean isDefined(::java::lang::Object *); + virtual jboolean isEmpty(); + virtual jboolean isEqual(::javax::swing::text::AttributeSet *); + virtual void removeAttribute(::java::lang::Object *); + virtual void removeAttributes(::javax::swing::text::AttributeSet *); + virtual void removeAttributes(::java::util::Enumeration *); + virtual void setResolveParent(::javax::swing::text::AttributeSet *); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = 8267656273837665219LL; +public: + static ::javax::swing::text::AttributeSet * EMPTY; +public: // actually package-private + ::java::util::Hashtable * __attribute__((aligned(__alignof__( ::java::lang::Object)))) tab; + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_SimpleAttributeSet__ diff --git a/libjava/javax/swing/text/StringContent$InsertUndo.h b/libjava/javax/swing/text/StringContent$InsertUndo.h new file mode 100644 index 00000000000..49415c169d0 --- /dev/null +++ b/libjava/javax/swing/text/StringContent$InsertUndo.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StringContent$InsertUndo__ +#define __javax_swing_text_StringContent$InsertUndo__ + +#pragma interface + +#include <javax/swing/undo/AbstractUndoableEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StringContent; + class StringContent$InsertUndo; + } + } + } +} + +class javax::swing::text::StringContent$InsertUndo : public ::javax::swing::undo::AbstractUndoableEdit +{ + +public: + StringContent$InsertUndo(::javax::swing::text::StringContent *, jint, jint); + virtual void undo(); + virtual void redo(); +private: + jint __attribute__((aligned(__alignof__( ::javax::swing::undo::AbstractUndoableEdit)))) start; + jint length; + ::java::lang::String * redoContent; + ::java::util::Vector * positions; +public: // actually package-private + ::javax::swing::text::StringContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StringContent$InsertUndo__ diff --git a/libjava/javax/swing/text/StringContent$Mark.h b/libjava/javax/swing/text/StringContent$Mark.h new file mode 100644 index 00000000000..22d3f9f0257 --- /dev/null +++ b/libjava/javax/swing/text/StringContent$Mark.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StringContent$Mark__ +#define __javax_swing_text_StringContent$Mark__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StringContent; + class StringContent$Mark; + } + } + } +} + +class javax::swing::text::StringContent$Mark : public ::java::lang::Object +{ + +public: // actually package-private + StringContent$Mark(::javax::swing::text::StringContent *, jint); + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) mark; + jint refCount; + ::javax::swing::text::StringContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StringContent$Mark__ diff --git a/libjava/javax/swing/text/StringContent$RemoveUndo.h b/libjava/javax/swing/text/StringContent$RemoveUndo.h new file mode 100644 index 00000000000..6c79aa06ba6 --- /dev/null +++ b/libjava/javax/swing/text/StringContent$RemoveUndo.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StringContent$RemoveUndo__ +#define __javax_swing_text_StringContent$RemoveUndo__ + +#pragma interface + +#include <javax/swing/undo/AbstractUndoableEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StringContent; + class StringContent$RemoveUndo; + } + } + } +} + +class javax::swing::text::StringContent$RemoveUndo : public ::javax::swing::undo::AbstractUndoableEdit +{ + +public: + StringContent$RemoveUndo(::javax::swing::text::StringContent *, jint, ::java::lang::String *); + virtual void undo(); + virtual void redo(); +private: + jint __attribute__((aligned(__alignof__( ::javax::swing::undo::AbstractUndoableEdit)))) start; + jint len; + ::java::lang::String * undoString; +public: // actually package-private + ::java::util::Vector * positions; + ::javax::swing::text::StringContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StringContent$RemoveUndo__ diff --git a/libjava/javax/swing/text/StringContent$StickyPosition.h b/libjava/javax/swing/text/StringContent$StickyPosition.h new file mode 100644 index 00000000000..434bf590a7f --- /dev/null +++ b/libjava/javax/swing/text/StringContent$StickyPosition.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StringContent$StickyPosition__ +#define __javax_swing_text_StringContent$StickyPosition__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StringContent; + class StringContent$Mark; + class StringContent$StickyPosition; + } + } + } +} + +class javax::swing::text::StringContent$StickyPosition : public ::java::lang::Object +{ + +public: + StringContent$StickyPosition(::javax::swing::text::StringContent *, jint); + virtual jint getOffset(); +public: // actually package-private + ::javax::swing::text::StringContent$Mark * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mark; + ::javax::swing::text::StringContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StringContent$StickyPosition__ diff --git a/libjava/javax/swing/text/StringContent$UndoPosRef.h b/libjava/javax/swing/text/StringContent$UndoPosRef.h new file mode 100644 index 00000000000..82f8d2f660e --- /dev/null +++ b/libjava/javax/swing/text/StringContent$UndoPosRef.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StringContent$UndoPosRef__ +#define __javax_swing_text_StringContent$UndoPosRef__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StringContent; + class StringContent$Mark; + class StringContent$UndoPosRef; + } + } + } +} + +class javax::swing::text::StringContent$UndoPosRef : public ::java::lang::Object +{ + +public: // actually package-private + StringContent$UndoPosRef(::javax::swing::text::StringContent *, ::javax::swing::text::StringContent$Mark *); + virtual void reset(); +private: + ::javax::swing::text::StringContent$Mark * __attribute__((aligned(__alignof__( ::java::lang::Object)))) mark; + jint undoOffset; +public: // actually package-private + ::javax::swing::text::StringContent * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StringContent$UndoPosRef__ diff --git a/libjava/javax/swing/text/StringContent.h b/libjava/javax/swing/text/StringContent.h new file mode 100644 index 00000000000..ca51a43d7e3 --- /dev/null +++ b/libjava/javax/swing/text/StringContent.h @@ -0,0 +1,71 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StringContent__ +#define __javax_swing_text_StringContent__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Position; + class Segment; + class StringContent; + } + namespace undo + { + class UndoableEdit; + } + } + } +} + +class javax::swing::text::StringContent : public ::java::lang::Object +{ + +public: + StringContent(); + StringContent(jint); +public: // actually protected + ::java::util::Vector * getPositionsInRange(::java::util::Vector *, jint, jint); +public: + ::javax::swing::text::Position * createPosition(jint); + jint length(); + ::javax::swing::undo::UndoableEdit * insertString(jint, ::java::lang::String *); + ::javax::swing::undo::UndoableEdit * remove(jint, jint); +private: + void replace(jint, jint, JArray< jchar > *); +public: + ::java::lang::String * getString(jint, jint); + void getChars(jint, jint, ::javax::swing::text::Segment *); +public: // actually protected + void updateUndoPositions(::java::util::Vector *); +public: // actually package-private + void checkLocation(jint, jint); + void garbageCollect(); +private: + static const jlong serialVersionUID = 4755994433709540381LL; +public: // actually package-private + JArray< jchar > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) content; +private: + jint count; +public: // actually package-private + ::java::util::Vector * marks; +private: + static JArray< jchar > * EMPTY; +public: // actually package-private + ::java::lang::ref::ReferenceQueue * queueOfDeath; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StringContent__ diff --git a/libjava/javax/swing/text/Style.h b/libjava/javax/swing/text/Style.h new file mode 100644 index 00000000000..ceb4aff7167 --- /dev/null +++ b/libjava/javax/swing/text/Style.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Style__ +#define __javax_swing_text_Style__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class ChangeListener; + } + namespace text + { + class AttributeSet; + class Style; + } + } + } +} + +class javax::swing::text::Style : public ::java::lang::Object +{ + +public: + virtual ::java::lang::String * getName() = 0; + virtual void addChangeListener(::javax::swing::event::ChangeListener *) = 0; + virtual void removeChangeListener(::javax::swing::event::ChangeListener *) = 0; + virtual void addAttribute(::java::lang::Object *, ::java::lang::Object *) = 0; + virtual void addAttributes(::javax::swing::text::AttributeSet *) = 0; + virtual void removeAttribute(::java::lang::Object *) = 0; + virtual void removeAttributes(::java::util::Enumeration *) = 0; + virtual void removeAttributes(::javax::swing::text::AttributeSet *) = 0; + virtual void setResolveParent(::javax::swing::text::AttributeSet *) = 0; + virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *) = 0; + virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *) = 0; + virtual ::javax::swing::text::AttributeSet * copyAttributes() = 0; + virtual ::java::lang::Object * getAttribute(::java::lang::Object *) = 0; + virtual jint getAttributeCount() = 0; + virtual ::java::util::Enumeration * getAttributeNames() = 0; + virtual ::javax::swing::text::AttributeSet * getResolveParent() = 0; + virtual jboolean isDefined(::java::lang::Object *) = 0; + virtual jboolean isEqual(::javax::swing::text::AttributeSet *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_Style__ diff --git a/libjava/javax/swing/text/StyleConstants$CharacterConstants.h b/libjava/javax/swing/text/StyleConstants$CharacterConstants.h new file mode 100644 index 00000000000..c9c84da1886 --- /dev/null +++ b/libjava/javax/swing/text/StyleConstants$CharacterConstants.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleConstants$CharacterConstants__ +#define __javax_swing_text_StyleConstants$CharacterConstants__ + +#pragma interface + +#include <javax/swing/text/StyleConstants.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StyleConstants$CharacterConstants; + } + } + } +} + +class javax::swing::text::StyleConstants$CharacterConstants : public ::javax::swing::text::StyleConstants +{ + + StyleConstants$CharacterConstants(::java::lang::String *); +public: + static ::java::lang::Object * Background; + static ::java::lang::Object * BidiLevel; + static ::java::lang::Object * Bold; + static ::java::lang::Object * ComponentAttribute; + static ::java::lang::Object * Family; + static ::java::lang::Object * Size; + static ::java::lang::Object * Foreground; + static ::java::lang::Object * IconAttribute; + static ::java::lang::Object * Italic; + static ::java::lang::Object * StrikeThrough; + static ::java::lang::Object * Subscript; + static ::java::lang::Object * Superscript; + static ::java::lang::Object * Underline; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleConstants$CharacterConstants__ diff --git a/libjava/javax/swing/text/StyleConstants$ColorConstants.h b/libjava/javax/swing/text/StyleConstants$ColorConstants.h new file mode 100644 index 00000000000..31f2e67fa38 --- /dev/null +++ b/libjava/javax/swing/text/StyleConstants$ColorConstants.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleConstants$ColorConstants__ +#define __javax_swing_text_StyleConstants$ColorConstants__ + +#pragma interface + +#include <javax/swing/text/StyleConstants.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StyleConstants$ColorConstants; + } + } + } +} + +class javax::swing::text::StyleConstants$ColorConstants : public ::javax::swing::text::StyleConstants +{ + + StyleConstants$ColorConstants(::java::lang::String *); +public: + static ::java::lang::Object * Foreground; + static ::java::lang::Object * Background; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleConstants$ColorConstants__ diff --git a/libjava/javax/swing/text/StyleConstants$FontConstants.h b/libjava/javax/swing/text/StyleConstants$FontConstants.h new file mode 100644 index 00000000000..f2ae13ca6da --- /dev/null +++ b/libjava/javax/swing/text/StyleConstants$FontConstants.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleConstants$FontConstants__ +#define __javax_swing_text_StyleConstants$FontConstants__ + +#pragma interface + +#include <javax/swing/text/StyleConstants.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StyleConstants$FontConstants; + } + } + } +} + +class javax::swing::text::StyleConstants$FontConstants : public ::javax::swing::text::StyleConstants +{ + + StyleConstants$FontConstants(::java::lang::String *); +public: + static ::java::lang::Object * Bold; + static ::java::lang::Object * Family; + static ::java::lang::Object * Italic; + static ::java::lang::Object * Size; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleConstants$FontConstants__ diff --git a/libjava/javax/swing/text/StyleConstants$ParagraphConstants.h b/libjava/javax/swing/text/StyleConstants$ParagraphConstants.h new file mode 100644 index 00000000000..41381f8ba59 --- /dev/null +++ b/libjava/javax/swing/text/StyleConstants$ParagraphConstants.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleConstants$ParagraphConstants__ +#define __javax_swing_text_StyleConstants$ParagraphConstants__ + +#pragma interface + +#include <javax/swing/text/StyleConstants.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StyleConstants$ParagraphConstants; + } + } + } +} + +class javax::swing::text::StyleConstants$ParagraphConstants : public ::javax::swing::text::StyleConstants +{ + + StyleConstants$ParagraphConstants(::java::lang::String *); +public: + static ::java::lang::Object * Alignment; + static ::java::lang::Object * FirstLineIndent; + static ::java::lang::Object * LeftIndent; + static ::java::lang::Object * LineSpacing; + static ::java::lang::Object * Orientation; + static ::java::lang::Object * RightIndent; + static ::java::lang::Object * SpaceAbove; + static ::java::lang::Object * SpaceBelow; + static ::java::lang::Object * TabSet; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleConstants$ParagraphConstants__ diff --git a/libjava/javax/swing/text/StyleConstants.h b/libjava/javax/swing/text/StyleConstants.h new file mode 100644 index 00000000000..1640d415dc9 --- /dev/null +++ b/libjava/javax/swing/text/StyleConstants.h @@ -0,0 +1,126 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleConstants__ +#define __javax_swing_text_StyleConstants__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + } + } + namespace javax + { + namespace swing + { + class Icon; + namespace text + { + class AttributeSet; + class MutableAttributeSet; + class StyleConstants; + class TabSet; + } + } + } +} + +class javax::swing::text::StyleConstants : public ::java::lang::Object +{ + +public: // actually package-private + StyleConstants(::java::lang::String *); +public: + virtual ::java::lang::String * toString(); + static jint getAlignment(::javax::swing::text::AttributeSet *); + static ::java::awt::Color * getBackground(::javax::swing::text::AttributeSet *); + static jint getBidiLevel(::javax::swing::text::AttributeSet *); + static ::java::awt::Component * getComponent(::javax::swing::text::AttributeSet *); + static jfloat getFirstLineIndent(::javax::swing::text::AttributeSet *); + static ::java::lang::String * getFontFamily(::javax::swing::text::AttributeSet *); + static jint getFontSize(::javax::swing::text::AttributeSet *); + static ::java::awt::Color * getForeground(::javax::swing::text::AttributeSet *); + static ::javax::swing::Icon * getIcon(::javax::swing::text::AttributeSet *); + static jfloat getLeftIndent(::javax::swing::text::AttributeSet *); + static jfloat getLineSpacing(::javax::swing::text::AttributeSet *); + static jfloat getRightIndent(::javax::swing::text::AttributeSet *); + static jfloat getSpaceAbove(::javax::swing::text::AttributeSet *); + static jfloat getSpaceBelow(::javax::swing::text::AttributeSet *); + static ::javax::swing::text::TabSet * getTabSet(::javax::swing::text::AttributeSet *); + static jboolean isBold(::javax::swing::text::AttributeSet *); + static jboolean isItalic(::javax::swing::text::AttributeSet *); + static jboolean isStrikeThrough(::javax::swing::text::AttributeSet *); + static jboolean isSubscript(::javax::swing::text::AttributeSet *); + static jboolean isSuperscript(::javax::swing::text::AttributeSet *); + static jboolean isUnderline(::javax::swing::text::AttributeSet *); + static void setAlignment(::javax::swing::text::MutableAttributeSet *, jint); + static void setBackground(::javax::swing::text::MutableAttributeSet *, ::java::awt::Color *); + static void setBidiLevel(::javax::swing::text::MutableAttributeSet *, jint); + static void setBold(::javax::swing::text::MutableAttributeSet *, jboolean); + static void setComponent(::javax::swing::text::MutableAttributeSet *, ::java::awt::Component *); + static void setFirstLineIndent(::javax::swing::text::MutableAttributeSet *, jfloat); + static void setFontFamily(::javax::swing::text::MutableAttributeSet *, ::java::lang::String *); + static void setFontSize(::javax::swing::text::MutableAttributeSet *, jint); + static void setForeground(::javax::swing::text::MutableAttributeSet *, ::java::awt::Color *); + static void setIcon(::javax::swing::text::MutableAttributeSet *, ::javax::swing::Icon *); + static void setItalic(::javax::swing::text::MutableAttributeSet *, jboolean); + static void setLeftIndent(::javax::swing::text::MutableAttributeSet *, jfloat); + static void setLineSpacing(::javax::swing::text::MutableAttributeSet *, jfloat); + static void setRightIndent(::javax::swing::text::MutableAttributeSet *, jfloat); + static void setSpaceAbove(::javax::swing::text::MutableAttributeSet *, jfloat); + static void setSpaceBelow(::javax::swing::text::MutableAttributeSet *, jfloat); + static void setStrikeThrough(::javax::swing::text::MutableAttributeSet *, jboolean); + static void setSubscript(::javax::swing::text::MutableAttributeSet *, jboolean); + static void setSuperscript(::javax::swing::text::MutableAttributeSet *, jboolean); + static void setTabSet(::javax::swing::text::MutableAttributeSet *, ::javax::swing::text::TabSet *); + static void setUnderline(::javax::swing::text::MutableAttributeSet *, jboolean); + static const jint ALIGN_LEFT = 0; + static const jint ALIGN_CENTER = 1; + static const jint ALIGN_RIGHT = 2; + static const jint ALIGN_JUSTIFIED = 3; + static ::java::lang::Object * Background; + static ::java::lang::Object * BidiLevel; + static ::java::lang::Object * Bold; + static ::java::lang::Object * ComponentAttribute; + static ::java::lang::Object * Family; + static ::java::lang::Object * FontFamily; + static ::java::lang::Object * FontSize; + static ::java::lang::Object * Foreground; + static ::java::lang::Object * IconAttribute; + static ::java::lang::Object * Italic; + static ::java::lang::Object * Size; + static ::java::lang::Object * StrikeThrough; + static ::java::lang::Object * Subscript; + static ::java::lang::Object * Superscript; + static ::java::lang::Object * Underline; + static ::java::lang::Object * Alignment; + static ::java::lang::Object * FirstLineIndent; + static ::java::lang::Object * LeftIndent; + static ::java::lang::Object * LineSpacing; + static ::java::lang::Object * Orientation; + static ::java::lang::Object * RightIndent; + static ::java::lang::Object * SpaceAbove; + static ::java::lang::Object * SpaceBelow; + static ::java::lang::Object * TabSet; + static ::java::lang::String * ComponentElementName; + static ::java::lang::String * IconElementName; + static ::java::lang::Object * ComposedTextAttribute; + static ::java::lang::Object * ModelAttribute; + static ::java::lang::Object * NameAttribute; + static ::java::lang::Object * ResolveAttribute; +public: // actually package-private + static ::java::util::ArrayList * keys; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) keyname; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleConstants__ diff --git a/libjava/javax/swing/text/StyleContext$1.h b/libjava/javax/swing/text/StyleContext$1.h new file mode 100644 index 00000000000..cfbe80ec226 --- /dev/null +++ b/libjava/javax/swing/text/StyleContext$1.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleContext$1__ +#define __javax_swing_text_StyleContext$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StyleContext$1; + class StyleContext$SmallAttributeSet; + } + } + } +} + +class javax::swing::text::StyleContext$1 : public ::java::lang::Object +{ + +public: // actually package-private + StyleContext$1(::javax::swing::text::StyleContext$SmallAttributeSet *); +public: + jboolean hasMoreElements(); + ::java::lang::Object * nextElement(); +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) i; + ::javax::swing::text::StyleContext$SmallAttributeSet * this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleContext$1__ diff --git a/libjava/javax/swing/text/StyleContext$NamedStyle.h b/libjava/javax/swing/text/StyleContext$NamedStyle.h new file mode 100644 index 00000000000..6976975a7f0 --- /dev/null +++ b/libjava/javax/swing/text/StyleContext$NamedStyle.h @@ -0,0 +1,82 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleContext$NamedStyle__ +#define __javax_swing_text_StyleContext$NamedStyle__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class ChangeEvent; + class ChangeListener; + class EventListenerList; + } + namespace text + { + class AttributeSet; + class Style; + class StyleContext; + class StyleContext$NamedStyle; + } + } + } +} + +class javax::swing::text::StyleContext$NamedStyle : public ::java::lang::Object +{ + +public: + StyleContext$NamedStyle(::javax::swing::text::StyleContext *); + StyleContext$NamedStyle(::javax::swing::text::StyleContext *, ::javax::swing::text::Style *); + StyleContext$NamedStyle(::javax::swing::text::StyleContext *, ::java::lang::String *, ::javax::swing::text::Style *); + virtual ::java::lang::String * getName(); + virtual void setName(::java::lang::String *); + virtual void addChangeListener(::javax::swing::event::ChangeListener *); + virtual void removeChangeListener(::javax::swing::event::ChangeListener *); + virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *); + virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners(); +public: // actually protected + virtual void fireStateChanged(); +public: + virtual void addAttribute(::java::lang::Object *, ::java::lang::Object *); + virtual void addAttributes(::javax::swing::text::AttributeSet *); + virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *); + virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * copyAttributes(); + virtual ::java::lang::Object * getAttribute(::java::lang::Object *); + virtual jint getAttributeCount(); + virtual ::java::util::Enumeration * getAttributeNames(); + virtual jboolean isDefined(::java::lang::Object *); + virtual jboolean isEqual(::javax::swing::text::AttributeSet *); + virtual void removeAttribute(::java::lang::Object *); + virtual void removeAttributes(::javax::swing::text::AttributeSet *); + virtual void removeAttributes(::java::util::Enumeration *); + virtual ::javax::swing::text::AttributeSet * getResolveParent(); + virtual void setResolveParent(::javax::swing::text::AttributeSet *); + virtual ::java::lang::String * toString(); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); + static const jlong serialVersionUID = -6690628971806226374LL; +public: // actually protected + ::javax::swing::event::ChangeEvent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) changeEvent; + ::javax::swing::event::EventListenerList * listenerList; +private: + ::javax::swing::text::AttributeSet * attributes; +public: // actually package-private + ::javax::swing::text::StyleContext * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleContext$NamedStyle__ diff --git a/libjava/javax/swing/text/StyleContext$SimpleFontSpec.h b/libjava/javax/swing/text/StyleContext$SimpleFontSpec.h new file mode 100644 index 00000000000..a901647afde --- /dev/null +++ b/libjava/javax/swing/text/StyleContext$SimpleFontSpec.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleContext$SimpleFontSpec__ +#define __javax_swing_text_StyleContext$SimpleFontSpec__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class StyleContext$SimpleFontSpec; + } + } + } +} + +class javax::swing::text::StyleContext$SimpleFontSpec : public ::java::lang::Object +{ + +public: + StyleContext$SimpleFontSpec(::java::lang::String *, jint, jint); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); +public: // actually package-private + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) family; + jint style; + jint size; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleContext$SimpleFontSpec__ diff --git a/libjava/javax/swing/text/StyleContext$SmallAttributeSet.h b/libjava/javax/swing/text/StyleContext$SmallAttributeSet.h new file mode 100644 index 00000000000..c4f969c1f0e --- /dev/null +++ b/libjava/javax/swing/text/StyleContext$SmallAttributeSet.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleContext$SmallAttributeSet__ +#define __javax_swing_text_StyleContext$SmallAttributeSet__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class StyleContext; + class StyleContext$SmallAttributeSet; + } + } + } +} + +class javax::swing::text::StyleContext$SmallAttributeSet : public ::java::lang::Object +{ + +public: + StyleContext$SmallAttributeSet(::javax::swing::text::StyleContext *, ::javax::swing::text::AttributeSet *); + StyleContext$SmallAttributeSet(::javax::swing::text::StyleContext *, JArray< ::java::lang::Object * > *); + virtual ::java::lang::Object * clone(); + virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *); + virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * copyAttributes(); + virtual jboolean equals(::java::lang::Object *); + virtual ::java::lang::Object * getAttribute(::java::lang::Object *); + virtual jint getAttributeCount(); + virtual ::java::util::Enumeration * getAttributeNames(); + virtual ::javax::swing::text::AttributeSet * getResolveParent(); + virtual jint hashCode(); + virtual jboolean isDefined(::java::lang::Object *); + virtual jboolean isEqual(::javax::swing::text::AttributeSet *); + virtual ::java::lang::String * toString(); +public: // actually package-private + JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attrs; +private: + ::javax::swing::text::AttributeSet * resolveParent; +public: // actually package-private + ::javax::swing::text::StyleContext * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleContext$SmallAttributeSet__ diff --git a/libjava/javax/swing/text/StyleContext.h b/libjava/javax/swing/text/StyleContext.h new file mode 100644 index 00000000000..c8f91994ee8 --- /dev/null +++ b/libjava/javax/swing/text/StyleContext.h @@ -0,0 +1,110 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyleContext__ +#define __javax_swing_text_StyleContext__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Font; + class FontMetrics; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class ChangeListener; + } + namespace text + { + class AttributeSet; + class MutableAttributeSet; + class Style; + class StyleContext; + class StyleContext$NamedStyle; + class StyleContext$SmallAttributeSet; + } + } + } +} + +class javax::swing::text::StyleContext : public ::java::lang::Object +{ + +public: + StyleContext(); +public: // actually protected + virtual ::javax::swing::text::StyleContext$SmallAttributeSet * createSmallAttributeSet(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::MutableAttributeSet * createLargeAttributeSet(::javax::swing::text::AttributeSet *); +public: + virtual void addChangeListener(::javax::swing::event::ChangeListener *); + virtual void removeChangeListener(::javax::swing::event::ChangeListener *); + virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners(); + virtual ::javax::swing::text::Style * addStyle(::java::lang::String *, ::javax::swing::text::Style *); + virtual void removeStyle(::java::lang::String *); + virtual ::javax::swing::text::Style * getStyle(::java::lang::String *); + virtual ::java::util::Enumeration * getStyleNames(); +private: + void readObject(::java::io::ObjectInputStream *); + void writeObject(::java::io::ObjectOutputStream *); +public: + virtual ::java::awt::Font * getFont(::javax::swing::text::AttributeSet *); + virtual ::java::awt::Font * getFont(::java::lang::String *, jint, jint); + virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *); + virtual ::java::awt::Color * getForeground(::javax::swing::text::AttributeSet *); + virtual ::java::awt::Color * getBackground(::javax::swing::text::AttributeSet *); +public: // actually protected + virtual jint getCompressionThreshold(); +public: + static ::javax::swing::text::StyleContext * getDefaultStyleContext(); + virtual ::javax::swing::text::AttributeSet * addAttribute(::javax::swing::text::AttributeSet *, ::java::lang::Object *, ::java::lang::Object *); + virtual ::javax::swing::text::AttributeSet * addAttributes(::javax::swing::text::AttributeSet *, ::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * getEmptySet(); + virtual void reclaim(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * removeAttribute(::javax::swing::text::AttributeSet *, ::java::lang::Object *); + virtual ::javax::swing::text::AttributeSet * removeAttributes(::javax::swing::text::AttributeSet *, ::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * removeAttributes(::javax::swing::text::AttributeSet *, ::java::util::Enumeration *); + static ::java::lang::Object * getStaticAttribute(::java::lang::Object *); + static ::java::lang::Object * getStaticAttributeKey(::java::lang::Object *); + static void readAttributeSet(::java::io::ObjectInputStream *, ::javax::swing::text::MutableAttributeSet *); + static void writeAttributeSet(::java::io::ObjectOutputStream *, ::javax::swing::text::AttributeSet *); + virtual void readAttributes(::java::io::ObjectInputStream *, ::javax::swing::text::MutableAttributeSet *); + virtual void writeAttributes(::java::io::ObjectOutputStream *, ::javax::swing::text::AttributeSet *); + static void registerStaticAttributeKey(::java::lang::Object *); + virtual ::java::lang::String * toString(); +private: + ::javax::swing::text::AttributeSet * searchImmutableSet(); + void cleanupPool(); + ::javax::swing::text::MutableAttributeSet * getMutableAttributeSet(::javax::swing::text::AttributeSet *); + static const jlong serialVersionUID = 8042858831190784241LL; +public: + static ::java::lang::String * DEFAULT_STYLE; +public: // actually package-private + static ::java::util::Hashtable * sharedAttributeSets; + static ::java::util::Hashtable * sharedFonts; + static ::javax::swing::text::StyleContext * defaultStyleContext; + static const jint compressionThreshold = 9; +private: + static ::java::util::Hashtable * writeAttributeKeys; + static ::java::util::Hashtable * readAttributeKeys; + ::javax::swing::text::StyleContext$NamedStyle * __attribute__((aligned(__alignof__( ::java::lang::Object)))) styles; + ::javax::swing::text::MutableAttributeSet * search; + ::java::util::Map * attributeSetPool; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyleContext__ diff --git a/libjava/javax/swing/text/StyledDocument.h b/libjava/javax/swing/text/StyledDocument.h new file mode 100644 index 00000000000..2eb580ec2be --- /dev/null +++ b/libjava/javax/swing/text/StyledDocument.h @@ -0,0 +1,80 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledDocument__ +#define __javax_swing_text_StyledDocument__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Font; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentListener; + class UndoableEditListener; + } + namespace text + { + class AttributeSet; + class Element; + class Position; + class Segment; + class Style; + class StyledDocument; + } + } + } +} + +class javax::swing::text::StyledDocument : public ::java::lang::Object +{ + +public: + virtual ::javax::swing::text::Style * addStyle(::java::lang::String *, ::javax::swing::text::Style *) = 0; + virtual void removeStyle(::java::lang::String *) = 0; + virtual ::javax::swing::text::Style * getStyle(::java::lang::String *) = 0; + virtual void setCharacterAttributes(jint, jint, ::javax::swing::text::AttributeSet *, jboolean) = 0; + virtual void setParagraphAttributes(jint, jint, ::javax::swing::text::AttributeSet *, jboolean) = 0; + virtual ::javax::swing::text::Style * getLogicalStyle(jint) = 0; + virtual void setLogicalStyle(jint, ::javax::swing::text::Style *) = 0; + virtual ::javax::swing::text::Element * getParagraphElement(jint) = 0; + virtual ::javax::swing::text::Element * getCharacterElement(jint) = 0; + virtual ::java::awt::Color * getForeground(::javax::swing::text::AttributeSet *) = 0; + virtual ::java::awt::Color * getBackground(::javax::swing::text::AttributeSet *) = 0; + virtual ::java::awt::Font * getFont(::javax::swing::text::AttributeSet *) = 0; + virtual void addDocumentListener(::javax::swing::event::DocumentListener *) = 0; + virtual void addUndoableEditListener(::javax::swing::event::UndoableEditListener *) = 0; + virtual ::javax::swing::text::Position * createPosition(jint) = 0; + virtual ::javax::swing::text::Element * getDefaultRootElement() = 0; + virtual ::javax::swing::text::Position * getEndPosition() = 0; + virtual jint getLength() = 0; + virtual ::java::lang::Object * getProperty(::java::lang::Object *) = 0; + virtual JArray< ::javax::swing::text::Element * > * getRootElements() = 0; + virtual ::javax::swing::text::Position * getStartPosition() = 0; + virtual ::java::lang::String * getText(jint, jint) = 0; + virtual void getText(jint, jint, ::javax::swing::text::Segment *) = 0; + virtual void insertString(jint, ::java::lang::String *, ::javax::swing::text::AttributeSet *) = 0; + virtual void putProperty(::java::lang::Object *, ::java::lang::Object *) = 0; + virtual void remove(jint, jint) = 0; + virtual void removeDocumentListener(::javax::swing::event::DocumentListener *) = 0; + virtual void removeUndoableEditListener(::javax::swing::event::UndoableEditListener *) = 0; + virtual void render(::java::lang::Runnable *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_StyledDocument__ diff --git a/libjava/javax/swing/text/StyledEditorKit$AlignmentAction.h b/libjava/javax/swing/text/StyledEditorKit$AlignmentAction.h new file mode 100644 index 00000000000..5056840d48f --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$AlignmentAction.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$AlignmentAction__ +#define __javax_swing_text_StyledEditorKit$AlignmentAction__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit$StyledTextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class StyledEditorKit$AlignmentAction; + } + } + } +} + +class javax::swing::text::StyledEditorKit$AlignmentAction : public ::javax::swing::text::StyledEditorKit$StyledTextAction +{ + +public: + StyledEditorKit$AlignmentAction(::java::lang::String *, jint); + virtual void actionPerformed(::java::awt::event::ActionEvent *); +private: + jint __attribute__((aligned(__alignof__( ::javax::swing::text::StyledEditorKit$StyledTextAction)))) a; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$AlignmentAction__ diff --git a/libjava/javax/swing/text/StyledEditorKit$BoldAction.h b/libjava/javax/swing/text/StyledEditorKit$BoldAction.h new file mode 100644 index 00000000000..53f1d4ce794 --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$BoldAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$BoldAction__ +#define __javax_swing_text_StyledEditorKit$BoldAction__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit$StyledTextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class StyledEditorKit$BoldAction; + } + } + } +} + +class javax::swing::text::StyledEditorKit$BoldAction : public ::javax::swing::text::StyledEditorKit$StyledTextAction +{ + +public: + StyledEditorKit$BoldAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$BoldAction__ diff --git a/libjava/javax/swing/text/StyledEditorKit$CaretTracker.h b/libjava/javax/swing/text/StyledEditorKit$CaretTracker.h new file mode 100644 index 00000000000..bda26b61b6a --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$CaretTracker.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$CaretTracker__ +#define __javax_swing_text_StyledEditorKit$CaretTracker__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class CaretEvent; + } + namespace text + { + class StyledEditorKit; + class StyledEditorKit$CaretTracker; + } + } + } +} + +class javax::swing::text::StyledEditorKit$CaretTracker : public ::java::lang::Object +{ + +public: // actually package-private + StyledEditorKit$CaretTracker(::javax::swing::text::StyledEditorKit *); +public: + virtual void caretUpdate(::javax::swing::event::CaretEvent *); +public: // actually package-private + ::javax::swing::text::StyledEditorKit * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$CaretTracker__ diff --git a/libjava/javax/swing/text/StyledEditorKit$FontFamilyAction.h b/libjava/javax/swing/text/StyledEditorKit$FontFamilyAction.h new file mode 100644 index 00000000000..55ba1378478 --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$FontFamilyAction.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$FontFamilyAction__ +#define __javax_swing_text_StyledEditorKit$FontFamilyAction__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit$StyledTextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class StyledEditorKit$FontFamilyAction; + } + } + } +} + +class javax::swing::text::StyledEditorKit$FontFamilyAction : public ::javax::swing::text::StyledEditorKit$StyledTextAction +{ + +public: + StyledEditorKit$FontFamilyAction(::java::lang::String *, ::java::lang::String *); + virtual void actionPerformed(::java::awt::event::ActionEvent *); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::text::StyledEditorKit$StyledTextAction)))) family; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$FontFamilyAction__ diff --git a/libjava/javax/swing/text/StyledEditorKit$FontSizeAction.h b/libjava/javax/swing/text/StyledEditorKit$FontSizeAction.h new file mode 100644 index 00000000000..16d6cf3c854 --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$FontSizeAction.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$FontSizeAction__ +#define __javax_swing_text_StyledEditorKit$FontSizeAction__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit$StyledTextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class StyledEditorKit$FontSizeAction; + } + } + } +} + +class javax::swing::text::StyledEditorKit$FontSizeAction : public ::javax::swing::text::StyledEditorKit$StyledTextAction +{ + +public: + StyledEditorKit$FontSizeAction(::java::lang::String *, jint); + virtual void actionPerformed(::java::awt::event::ActionEvent *); +private: + jint __attribute__((aligned(__alignof__( ::javax::swing::text::StyledEditorKit$StyledTextAction)))) size; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$FontSizeAction__ diff --git a/libjava/javax/swing/text/StyledEditorKit$ForegroundAction.h b/libjava/javax/swing/text/StyledEditorKit$ForegroundAction.h new file mode 100644 index 00000000000..7b71ef5705e --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$ForegroundAction.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$ForegroundAction__ +#define __javax_swing_text_StyledEditorKit$ForegroundAction__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit$StyledTextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class StyledEditorKit$ForegroundAction; + } + } + } +} + +class javax::swing::text::StyledEditorKit$ForegroundAction : public ::javax::swing::text::StyledEditorKit$StyledTextAction +{ + +public: + StyledEditorKit$ForegroundAction(::java::lang::String *, ::java::awt::Color *); + virtual void actionPerformed(::java::awt::event::ActionEvent *); +private: + ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::text::StyledEditorKit$StyledTextAction)))) fg; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$ForegroundAction__ diff --git a/libjava/javax/swing/text/StyledEditorKit$ItalicAction.h b/libjava/javax/swing/text/StyledEditorKit$ItalicAction.h new file mode 100644 index 00000000000..af60f01d3c6 --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$ItalicAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$ItalicAction__ +#define __javax_swing_text_StyledEditorKit$ItalicAction__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit$StyledTextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class StyledEditorKit$ItalicAction; + } + } + } +} + +class javax::swing::text::StyledEditorKit$ItalicAction : public ::javax::swing::text::StyledEditorKit$StyledTextAction +{ + +public: + StyledEditorKit$ItalicAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$ItalicAction__ diff --git a/libjava/javax/swing/text/StyledEditorKit$StyledTextAction.h b/libjava/javax/swing/text/StyledEditorKit$StyledTextAction.h new file mode 100644 index 00000000000..c85bc8c8926 --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$StyledTextAction.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$StyledTextAction__ +#define __javax_swing_text_StyledEditorKit$StyledTextAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + class JEditorPane; + namespace text + { + class AttributeSet; + class StyledDocument; + class StyledEditorKit; + class StyledEditorKit$StyledTextAction; + } + } + } +} + +class javax::swing::text::StyledEditorKit$StyledTextAction : public ::javax::swing::text::TextAction +{ + +public: + StyledEditorKit$StyledTextAction(::java::lang::String *); +public: // actually protected + virtual ::javax::swing::JEditorPane * getEditor(::java::awt::event::ActionEvent *); + virtual void setCharacterAttributes(::javax::swing::JEditorPane *, ::javax::swing::text::AttributeSet *, jboolean); + virtual ::javax::swing::text::StyledDocument * getStyledDocument(::javax::swing::JEditorPane *); + virtual ::javax::swing::text::StyledEditorKit * getStyledEditorKit(::javax::swing::JEditorPane *); + virtual void setParagraphAttributes(::javax::swing::JEditorPane *, ::javax::swing::text::AttributeSet *, jboolean); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$StyledTextAction__ diff --git a/libjava/javax/swing/text/StyledEditorKit$StyledViewFactory.h b/libjava/javax/swing/text/StyledEditorKit$StyledViewFactory.h new file mode 100644 index 00000000000..0e5ad47a9d0 --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$StyledViewFactory.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$StyledViewFactory__ +#define __javax_swing_text_StyledEditorKit$StyledViewFactory__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class StyledEditorKit$StyledViewFactory; + class View; + } + } + } +} + +class javax::swing::text::StyledEditorKit$StyledViewFactory : public ::java::lang::Object +{ + +public: // actually package-private + StyledEditorKit$StyledViewFactory(); +public: + virtual ::javax::swing::text::View * create(::javax::swing::text::Element *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$StyledViewFactory__ diff --git a/libjava/javax/swing/text/StyledEditorKit$UnderlineAction.h b/libjava/javax/swing/text/StyledEditorKit$UnderlineAction.h new file mode 100644 index 00000000000..4df2fa6d1c1 --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit$UnderlineAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit$UnderlineAction__ +#define __javax_swing_text_StyledEditorKit$UnderlineAction__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit$StyledTextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class StyledEditorKit$UnderlineAction; + } + } + } +} + +class javax::swing::text::StyledEditorKit$UnderlineAction : public ::javax::swing::text::StyledEditorKit$StyledTextAction +{ + +public: + StyledEditorKit$UnderlineAction(); + virtual void actionPerformed(::java::awt::event::ActionEvent *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit$UnderlineAction__ diff --git a/libjava/javax/swing/text/StyledEditorKit.h b/libjava/javax/swing/text/StyledEditorKit.h new file mode 100644 index 00000000000..e5ce1b4b4fa --- /dev/null +++ b/libjava/javax/swing/text/StyledEditorKit.h @@ -0,0 +1,60 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_StyledEditorKit__ +#define __javax_swing_text_StyledEditorKit__ + +#pragma interface + +#include <javax/swing/text/DefaultEditorKit.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class Action; + class JEditorPane; + namespace text + { + class Document; + class Element; + class MutableAttributeSet; + class StyledEditorKit; + class StyledEditorKit$CaretTracker; + class StyledEditorKit$StyledViewFactory; + class ViewFactory; + } + } + } +} + +class javax::swing::text::StyledEditorKit : public ::javax::swing::text::DefaultEditorKit +{ + +public: + StyledEditorKit(); + virtual ::java::lang::Object * clone(); + virtual JArray< ::javax::swing::Action * > * getActions(); + virtual ::javax::swing::text::MutableAttributeSet * getInputAttributes(); + virtual ::javax::swing::text::Element * getCharacterAttributeRun(); + virtual ::javax::swing::text::Document * createDefaultDocument(); + virtual void install(::javax::swing::JEditorPane *); + virtual void deinstall(::javax::swing::JEditorPane *); + virtual ::javax::swing::text::ViewFactory * getViewFactory(); +public: // actually protected + virtual void createInputAttributes(::javax::swing::text::Element *, ::javax::swing::text::MutableAttributeSet *); +private: + static const jlong serialVersionUID = 7002391892985555948LL; +public: // actually package-private + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::javax::swing::text::DefaultEditorKit)))) currentRun; + ::javax::swing::text::MutableAttributeSet * inputAttributes; + ::javax::swing::text::StyledEditorKit$CaretTracker * caretTracker; + ::javax::swing::text::StyledEditorKit$StyledViewFactory * viewFactory; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_StyledEditorKit__ diff --git a/libjava/javax/swing/text/TabExpander.h b/libjava/javax/swing/text/TabExpander.h new file mode 100644 index 00000000000..8983223a436 --- /dev/null +++ b/libjava/javax/swing/text/TabExpander.h @@ -0,0 +1,32 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TabExpander__ +#define __javax_swing_text_TabExpander__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class TabExpander; + } + } + } +} + +class javax::swing::text::TabExpander : public ::java::lang::Object +{ + +public: + virtual jfloat nextTabStop(jfloat, jint) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_TabExpander__ diff --git a/libjava/javax/swing/text/TabSet.h b/libjava/javax/swing/text/TabSet.h new file mode 100644 index 00000000000..943a115099e --- /dev/null +++ b/libjava/javax/swing/text/TabSet.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TabSet__ +#define __javax_swing_text_TabSet__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class TabSet; + class TabStop; + } + } + } +} + +class javax::swing::text::TabSet : public ::java::lang::Object +{ + +public: + TabSet(JArray< ::javax::swing::text::TabStop * > *); + virtual ::javax::swing::text::TabStop * getTab(jint); + virtual ::javax::swing::text::TabStop * getTabAfter(jfloat); + virtual jint getTabCount(); + virtual jint getTabIndex(::javax::swing::text::TabStop *); + virtual jint getTabIndexAfter(jfloat); + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = 2367703481999080593LL; +public: // actually package-private + JArray< ::javax::swing::text::TabStop * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) tabs; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_TabSet__ diff --git a/libjava/javax/swing/text/TabStop.h b/libjava/javax/swing/text/TabStop.h new file mode 100644 index 00000000000..cc8fb1232ff --- /dev/null +++ b/libjava/javax/swing/text/TabStop.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TabStop__ +#define __javax_swing_text_TabStop__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class TabStop; + } + } + } +} + +class javax::swing::text::TabStop : public ::java::lang::Object +{ + +public: + TabStop(jfloat); + TabStop(jfloat, jint, jint); + virtual jboolean equals(::java::lang::Object *); + virtual jint getAlignment(); + virtual jint getLeader(); + virtual jfloat getPosition(); + virtual jint hashCode(); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = -5381995917363605058LL; +public: + static const jint ALIGN_LEFT = 0; + static const jint ALIGN_RIGHT = 1; + static const jint ALIGN_CENTER = 2; + static const jint ALIGN_DECIMAL = 4; + static const jint ALIGN_BAR = 5; + static const jint LEAD_NONE = 0; + static const jint LEAD_DOTS = 1; + static const jint LEAD_HYPHENS = 2; + static const jint LEAD_UNDERLINE = 3; + static const jint LEAD_THICKLINE = 4; + static const jint LEAD_EQUALS = 5; +public: // actually package-private + jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) pos; + jint align; + jint leader; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_TabStop__ diff --git a/libjava/javax/swing/text/TabableView.h b/libjava/javax/swing/text/TabableView.h new file mode 100644 index 00000000000..b9e9a7a86f0 --- /dev/null +++ b/libjava/javax/swing/text/TabableView.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TabableView__ +#define __javax_swing_text_TabableView__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class TabExpander; + class TabableView; + } + } + } +} + +class javax::swing::text::TabableView : public ::java::lang::Object +{ + +public: + virtual jfloat getPartialSpan(jint, jint) = 0; + virtual jfloat getTabbedSpan(jfloat, ::javax::swing::text::TabExpander *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_TabableView__ diff --git a/libjava/javax/swing/text/TableView$TableCell.h b/libjava/javax/swing/text/TableView$TableCell.h new file mode 100644 index 00000000000..44efc2f6c9b --- /dev/null +++ b/libjava/javax/swing/text/TableView$TableCell.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TableView$TableCell__ +#define __javax_swing_text_TableView$TableCell__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class TableView; + class TableView$TableCell; + } + } + } +} + +class javax::swing::text::TableView$TableCell : public ::javax::swing::text::BoxView +{ + +public: + TableView$TableCell(::javax::swing::text::TableView *, ::javax::swing::text::Element *); + virtual jint getColumnCount(); + virtual jint getRowCount(); + virtual void setGridLocation(jint, jint); + virtual jint getGridRow(); + virtual jint getGridColumn(); +private: + jint __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) row; + jint column; +public: // actually package-private + ::javax::swing::text::TableView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_TableView$TableCell__ diff --git a/libjava/javax/swing/text/TableView$TableRow.h b/libjava/javax/swing/text/TableView$TableRow.h new file mode 100644 index 00000000000..0cb23241da4 --- /dev/null +++ b/libjava/javax/swing/text/TableView$TableRow.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TableView$TableRow__ +#define __javax_swing_text_TableView$TableRow__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class TableView; + class TableView$TableRow; + class View; + } + } + } +} + +class javax::swing::text::TableView$TableRow : public ::javax::swing::text::BoxView +{ + +public: + TableView$TableRow(::javax::swing::text::TableView *, ::javax::swing::text::Element *); + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); +public: // actually protected + virtual void layoutMajorAxis(jint, jint, JArray< jint > *, JArray< jint > *); + virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *); +public: + virtual jint getResizeWeight(jint); +public: // actually protected + virtual ::javax::swing::text::View * getViewAtPosition(jint, ::java::awt::Rectangle *); +public: // actually package-private + ::javax::swing::text::TableView * __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) this$0; + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_TableView$TableRow__ diff --git a/libjava/javax/swing/text/TableView.h b/libjava/javax/swing/text/TableView.h new file mode 100644 index 00000000000..7bf5f836976 --- /dev/null +++ b/libjava/javax/swing/text/TableView.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TableView__ +#define __javax_swing_text_TableView__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace event + { + class DocumentEvent; + class DocumentEvent$ElementChange; + } + namespace text + { + class Element; + class TableView; + class TableView$TableCell; + class TableView$TableRow; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::TableView : public ::javax::swing::text::BoxView +{ + +public: + TableView(::javax::swing::text::Element *); + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); +public: // actually protected + virtual ::javax::swing::text::TableView$TableRow * createTableRow(::javax::swing::text::Element *); + virtual ::javax::swing::text::TableView$TableCell * createTableCell(::javax::swing::text::Element *); + virtual void forwardUpdate(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void layoutColumns(jint, JArray< jint > *, JArray< jint > *, JArray< ::javax::swing::SizeRequirements * > *); + virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *); + virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual ::javax::swing::text::View * getViewAtPosition(jint, ::java::awt::Rectangle *); +private: + void updateColumnRequirements(); +public: // actually package-private + JArray< jint > * __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) columnOffsets; + JArray< jint > * columnSpans; + JArray< ::javax::swing::SizeRequirements * > * columnRequirements; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_TableView__ diff --git a/libjava/javax/swing/text/TextAction$HorizontalMovementAction.h b/libjava/javax/swing/text/TextAction$HorizontalMovementAction.h new file mode 100644 index 00000000000..93bf43700bb --- /dev/null +++ b/libjava/javax/swing/text/TextAction$HorizontalMovementAction.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TextAction$HorizontalMovementAction__ +#define __javax_swing_text_TextAction$HorizontalMovementAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class TextAction$HorizontalMovementAction; + } + } + } +} + +class javax::swing::text::TextAction$HorizontalMovementAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + TextAction$HorizontalMovementAction(::java::lang::String *, jint); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint) = 0; +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::javax::swing::text::TextAction)))) dir; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_TextAction$HorizontalMovementAction__ diff --git a/libjava/javax/swing/text/TextAction$VerticalMovementAction.h b/libjava/javax/swing/text/TextAction$VerticalMovementAction.h new file mode 100644 index 00000000000..b25ec52ce8a --- /dev/null +++ b/libjava/javax/swing/text/TextAction$VerticalMovementAction.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TextAction$VerticalMovementAction__ +#define __javax_swing_text_TextAction$VerticalMovementAction__ + +#pragma interface + +#include <javax/swing/text/TextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Caret; + class TextAction$VerticalMovementAction; + } + } + } +} + +class javax::swing::text::TextAction$VerticalMovementAction : public ::javax::swing::text::TextAction +{ + +public: // actually package-private + TextAction$VerticalMovementAction(::java::lang::String *, jint); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually protected + virtual void actionPerformedImpl(::javax::swing::text::Caret *, jint) = 0; +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::javax::swing::text::TextAction)))) dir; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_TextAction$VerticalMovementAction__ diff --git a/libjava/javax/swing/text/TextAction.h b/libjava/javax/swing/text/TextAction.h new file mode 100644 index 00000000000..cfb9c1c9819 --- /dev/null +++ b/libjava/javax/swing/text/TextAction.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_TextAction__ +#define __javax_swing_text_TextAction__ + +#pragma interface + +#include <javax/swing/AbstractAction.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + class Action; + namespace text + { + class JTextComponent; + class TextAction; + } + } + } +} + +class javax::swing::text::TextAction : public ::javax::swing::AbstractAction +{ + +public: + TextAction(::java::lang::String *); +public: // actually protected + virtual ::javax::swing::text::JTextComponent * getTextComponent(::java::awt::event::ActionEvent *); +public: + static JArray< ::javax::swing::Action * > * augmentList(JArray< ::javax::swing::Action * > *, JArray< ::javax::swing::Action * > *); +public: // actually protected + virtual ::javax::swing::text::JTextComponent * getFocusedComponent(); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_TextAction__ diff --git a/libjava/javax/swing/text/Utilities.h b/libjava/javax/swing/text/Utilities.h new file mode 100644 index 00000000000..ec04c43fe38 --- /dev/null +++ b/libjava/javax/swing/text/Utilities.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_Utilities__ +#define __javax_swing_text_Utilities__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class FontMetrics; + class Graphics; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class JTextComponent; + class Segment; + class TabExpander; + class Utilities; + } + } + } +} + +class javax::swing::text::Utilities : public ::java::lang::Object +{ + +public: + Utilities(); + static jint drawTabbedText(::javax::swing::text::Segment *, jint, jint, ::java::awt::Graphics *, ::javax::swing::text::TabExpander *, jint); + static jint getTabbedTextWidth(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, ::javax::swing::text::TabExpander *, jint); + static jint getTabbedTextOffset(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint, jboolean); + static jint getTabbedTextOffset(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint); + static jint getNextWord(::javax::swing::text::JTextComponent *, jint); + static jint getPreviousWord(::javax::swing::text::JTextComponent *, jint); + static jint getWordStart(::javax::swing::text::JTextComponent *, jint); + static jint getWordEnd(::javax::swing::text::JTextComponent *, jint); + static jint getRowEnd(::javax::swing::text::JTextComponent *, jint); + static jint getRowStart(::javax::swing::text::JTextComponent *, jint); + static jint getBreakLocation(::javax::swing::text::Segment *, ::java::awt::FontMetrics *, jint, jint, ::javax::swing::text::TabExpander *, jint); + static ::javax::swing::text::Element * getParagraphElement(::javax::swing::text::JTextComponent *, jint); + static jint getPositionAbove(::javax::swing::text::JTextComponent *, jint, jint); + static jint getPositionBelow(::javax::swing::text::JTextComponent *, jint, jint); +public: // actually package-private + static jint getNextVisualPositionFrom(::javax::swing::text::JTextComponent *, jint, jint); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_Utilities__ diff --git a/libjava/javax/swing/text/View.h b/libjava/javax/swing/text/View.h new file mode 100644 index 00000000000..f9d97e5731f --- /dev/null +++ b/libjava/javax/swing/text/View.h @@ -0,0 +1,116 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_View__ +#define __javax_swing_text_View__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Container; + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + class DocumentEvent$ElementChange; + } + namespace text + { + class AttributeSet; + class Document; + class Element; + class Position$Bias; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::View : public ::java::lang::Object +{ + +public: + View(::javax::swing::text::Element *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *) = 0; + virtual void setParent(::javax::swing::text::View *); + virtual ::javax::swing::text::View * getParent(); + virtual ::java::awt::Container * getContainer(); + virtual ::javax::swing::text::Document * getDocument(); + virtual ::javax::swing::text::Element * getElement(); + virtual jfloat getPreferredSpan(jint) = 0; + virtual jint getResizeWeight(jint); + virtual jfloat getMaximumSpan(jint); + virtual jfloat getMinimumSpan(jint); + virtual void setSize(jfloat, jfloat); + virtual jfloat getAlignment(jint); + virtual ::javax::swing::text::AttributeSet * getAttributes(); + virtual jboolean isVisible(); + virtual jint getViewCount(); + virtual ::javax::swing::text::View * getView(jint); + virtual ::javax::swing::text::ViewFactory * getViewFactory(); + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); + virtual void insert(jint, ::javax::swing::text::View *); + virtual void append(::javax::swing::text::View *); + virtual void removeAll(); + virtual void remove(jint); + virtual ::javax::swing::text::View * createFragment(jint, jint); + virtual jint getStartOffset(); + virtual jint getEndOffset(); + virtual ::java::awt::Shape * getChildAllocation(jint, ::java::awt::Shape *); + virtual jint getViewIndex(jfloat, jfloat, ::java::awt::Shape *); + virtual ::java::lang::String * getToolTipText(jfloat, jfloat, ::java::awt::Shape *); + virtual ::java::awt::Graphics * getGraphics(); + virtual void preferenceChanged(::javax::swing::text::View *, jboolean, jboolean); + virtual jint getBreakWeight(jint, jfloat, jfloat); + virtual ::javax::swing::text::View * breakView(jint, jint, jfloat, jfloat); + virtual jint getViewIndex(jint, ::javax::swing::text::Position$Bias *); + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +public: // actually protected + virtual jboolean updateChildren(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::javax::swing::text::ViewFactory *); + virtual void forwardUpdate(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void forwardUpdateToView(::javax::swing::text::View *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void updateLayout(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *); +public: + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *) = 0; + virtual ::java::awt::Shape * modelToView(jint, ::javax::swing::text::Position$Bias *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *) = 0; + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *); +public: // actually protected + virtual void dump(); +public: // actually package-private + virtual void dump(jint); +public: + virtual jint getNextVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *); + static const jint BadBreakWeight = 0; + static const jint ExcellentBreakWeight = 2000; + static const jint ForcedBreakWeight = 3000; + static const jint GoodBreakWeight = 1000; + static const jint X_AXIS = 0; + static const jint Y_AXIS = 1; +private: + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) elt; + ::javax::swing::text::View * parent; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_View__ diff --git a/libjava/javax/swing/text/ViewFactory.h b/libjava/javax/swing/text/ViewFactory.h new file mode 100644 index 00000000000..a65181ab288 --- /dev/null +++ b/libjava/javax/swing/text/ViewFactory.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ViewFactory__ +#define __javax_swing_text_ViewFactory__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class View; + class ViewFactory; + } + } + } +} + +class javax::swing::text::ViewFactory : public ::java::lang::Object +{ + +public: + virtual ::javax::swing::text::View * create(::javax::swing::text::Element *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_ViewFactory__ diff --git a/libjava/javax/swing/text/WrappedPlainView$WrappedLine.h b/libjava/javax/swing/text/WrappedPlainView$WrappedLine.h new file mode 100644 index 00000000000..c96da223418 --- /dev/null +++ b/libjava/javax/swing/text/WrappedPlainView$WrappedLine.h @@ -0,0 +1,67 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_WrappedPlainView$WrappedLine__ +#define __javax_swing_text_WrappedPlainView$WrappedLine__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class Position$Bias; + class ViewFactory; + class WrappedPlainView; + class WrappedPlainView$WrappedLine; + } + } + } +} + +class javax::swing::text::WrappedPlainView$WrappedLine : public ::javax::swing::text::View +{ + +public: + WrappedPlainView$WrappedLine(::javax::swing::text::WrappedPlainView *, ::javax::swing::text::Element *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); +private: + jint determineNumLines(); +public: + virtual jfloat getPreferredSpan(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); +public: // actually package-private + virtual void updateDamage(::java::awt::Rectangle *); +public: + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) numLines; + ::javax::swing::text::WrappedPlainView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_WrappedPlainView$WrappedLine__ diff --git a/libjava/javax/swing/text/WrappedPlainView$WrappedLineCreator.h b/libjava/javax/swing/text/WrappedPlainView$WrappedLineCreator.h new file mode 100644 index 00000000000..eb249a0c0c6 --- /dev/null +++ b/libjava/javax/swing/text/WrappedPlainView$WrappedLineCreator.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_WrappedPlainView$WrappedLineCreator__ +#define __javax_swing_text_WrappedPlainView$WrappedLineCreator__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class View; + class WrappedPlainView; + class WrappedPlainView$WrappedLineCreator; + } + } + } +} + +class javax::swing::text::WrappedPlainView$WrappedLineCreator : public ::java::lang::Object +{ + +public: // actually package-private + WrappedPlainView$WrappedLineCreator(::javax::swing::text::WrappedPlainView *); +public: + virtual ::javax::swing::text::View * create(::javax::swing::text::Element *); +public: // actually package-private + ::javax::swing::text::WrappedPlainView * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_WrappedPlainView$WrappedLineCreator__ diff --git a/libjava/javax/swing/text/WrappedPlainView.h b/libjava/javax/swing/text/WrappedPlainView.h new file mode 100644 index 00000000000..1082073cc34 --- /dev/null +++ b/libjava/javax/swing/text/WrappedPlainView.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_WrappedPlainView__ +#define __javax_swing_text_WrappedPlainView__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class FontMetrics; + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class Element; + class Segment; + class ViewFactory; + class WrappedPlainView; + } + } + } +} + +class javax::swing::text::WrappedPlainView : public ::javax::swing::text::BoxView +{ + +public: + WrappedPlainView(::javax::swing::text::Element *); + WrappedPlainView(::javax::swing::text::Element *, jboolean); +public: // actually protected + virtual ::javax::swing::text::Segment * getLineBuffer(); +public: + virtual jfloat nextTabStop(jfloat, jint); +public: // actually protected + virtual jint getTabSize(); + virtual void drawLine(jint, jint, ::java::awt::Graphics *, jint, jint); + virtual jint drawSelectedText(::java::awt::Graphics *, jint, jint, jint, jint); + virtual jint drawUnselectedText(::java::awt::Graphics *, jint, jint, jint, jint); + virtual void loadChildren(::javax::swing::text::ViewFactory *); + virtual jint calculateBreakPosition(jint, jint); +public: // actually package-private + virtual void updateMetrics(); +public: + virtual jfloat getPreferredSpan(jint); + virtual jfloat getMinimumSpan(jint); + virtual jfloat getMaximumSpan(jint); + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +private: + void updateChildren(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *); +public: + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual void setSize(jfloat, jfloat); +public: // actually package-private + ::java::awt::Color * __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) selectedColor; + ::java::awt::Color * unselectedColor; + ::java::awt::Color * disabledColor; + ::java::awt::FontMetrics * metrics; + jboolean wordWrap; + ::javax::swing::text::ViewFactory * viewFactory; + jint selectionStart; + jint selectionEnd; + jint lineHeight; +private: + jint tabBase; + jint tabSize; + ::javax::swing::text::Segment * lineBuffer; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_WrappedPlainView__ diff --git a/libjava/javax/swing/text/ZoneView$Zone.h b/libjava/javax/swing/text/ZoneView$Zone.h new file mode 100644 index 00000000000..86a5bc87c12 --- /dev/null +++ b/libjava/javax/swing/text/ZoneView$Zone.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ZoneView$Zone__ +#define __javax_swing_text_ZoneView$Zone__ + +#pragma interface + +#include <javax/swing/text/AsyncBoxView.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class Position; + class ZoneView$Zone; + } + } + } +} + +class javax::swing::text::ZoneView$Zone : public ::javax::swing::text::AsyncBoxView +{ + +public: // actually package-private + ZoneView$Zone(::javax::swing::text::Element *, ::javax::swing::text::Position *, ::javax::swing::text::Position *, jint); +public: + virtual jint getStartOffset(); + virtual jint getEndOffset(); +private: + ::javax::swing::text::Position * __attribute__((aligned(__alignof__( ::javax::swing::text::AsyncBoxView)))) p0; + ::javax::swing::text::Position * p1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ZoneView$Zone__ diff --git a/libjava/javax/swing/text/ZoneView.h b/libjava/javax/swing/text/ZoneView.h new file mode 100644 index 00000000000..324d90c0a33 --- /dev/null +++ b/libjava/javax/swing/text/ZoneView.h @@ -0,0 +1,74 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_ZoneView__ +#define __javax_swing_text_ZoneView__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + class DocumentEvent$ElementChange; + } + namespace text + { + class Element; + class View; + class ViewFactory; + class ZoneView; + } + } + } +} + +class javax::swing::text::ZoneView : public ::javax::swing::text::BoxView +{ + +public: + ZoneView(::javax::swing::text::Element *, jint); + virtual void setMaximumZoneSize(jint); + virtual jint getMaximumZoneSize(); + virtual void setMaxZonesLoaded(jint); + virtual jint getMaxZonesLoaded(); +public: // actually protected + virtual void zoneWasLoaded(::javax::swing::text::View *); + virtual void unloadZone(::javax::swing::text::View *); + virtual jboolean isZoneLoaded(::javax::swing::text::View *); + virtual ::javax::swing::text::View * createZone(jint, jint); + virtual void loadChildren(::javax::swing::text::ViewFactory *); + virtual jint getViewIndexAtPosition(jint); +public: + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); +public: // actually protected + virtual jboolean updateChildren(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::javax::swing::text::ViewFactory *); +private: + void unloadOldestZones(); + void checkZoneAt(jint); + void splitZone(jint, jint, jint); + jint getPreferredZoneEnd(jint); + jint __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) maximumZoneSize; + jint maxZonesLoaded; + ::java::util::LinkedList * loadedZones; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_ZoneView__ diff --git a/libjava/javax/swing/text/html/BRView.h b/libjava/javax/swing/text/html/BRView.h new file mode 100644 index 00000000000..aee03f09e05 --- /dev/null +++ b/libjava/javax/swing/text/html/BRView.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_BRView__ +#define __javax_swing_text_html_BRView__ + +#pragma interface + +#include <javax/swing/text/html/InlineView.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + namespace html + { + class BRView; + } + } + } + } +} + +class javax::swing::text::html::BRView : public ::javax::swing::text::html::InlineView +{ + +public: + BRView(::javax::swing::text::Element *); + virtual jint getBreakWeight(jint, jfloat, jfloat); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_BRView__ diff --git a/libjava/javax/swing/text/html/BlockView$PositionInfo.h b/libjava/javax/swing/text/html/BlockView$PositionInfo.h new file mode 100644 index 00000000000..1e19b610fd4 --- /dev/null +++ b/libjava/javax/swing/text/html/BlockView$PositionInfo.h @@ -0,0 +1,64 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_BlockView$PositionInfo__ +#define __javax_swing_text_html_BlockView$PositionInfo__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Length; + } + } + } + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class BlockView$PositionInfo; + } + } + } + } +} + +class javax::swing::text::html::BlockView$PositionInfo : public ::java::lang::Object +{ + +public: // actually package-private + BlockView$PositionInfo(jint, ::gnu::javax::swing::text::html::css::Length *, ::gnu::javax::swing::text::html::css::Length *, ::gnu::javax::swing::text::html::css::Length *, ::gnu::javax::swing::text::html::css::Length *); + static const jint STATIC = 0; + static const jint RELATIVE = 1; + static const jint ABSOLUTE = 2; + static const jint FIXED = 3; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; + ::gnu::javax::swing::text::html::css::Length * left; + ::gnu::javax::swing::text::html::css::Length * right; + ::gnu::javax::swing::text::html::css::Length * top; + ::gnu::javax::swing::text::html::css::Length * bottom; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_BlockView$PositionInfo__ diff --git a/libjava/javax/swing/text/html/BlockView.h b/libjava/javax/swing/text/html/BlockView.h new file mode 100644 index 00000000000..b8608f5c001 --- /dev/null +++ b/libjava/javax/swing/text/html/BlockView.h @@ -0,0 +1,110 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_BlockView__ +#define __javax_swing_text_html_BlockView__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Length; + } + } + } + } + } + } + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace event + { + class DocumentEvent; + } + namespace text + { + class AttributeSet; + class Element; + class View; + class ViewFactory; + namespace html + { + class BlockView; + class StyleSheet; + class StyleSheet$BoxPainter; + } + } + } + } +} + +class javax::swing::text::html::BlockView : public ::javax::swing::text::BoxView +{ + +public: + BlockView(::javax::swing::text::Element *, jint); + virtual void setParent(::javax::swing::text::View *); +public: // actually protected + virtual ::javax::swing::SizeRequirements * calculateMajorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *); +private: + jboolean setCSSSpan(::javax::swing::SizeRequirements *, jint); + void constrainSize(jint, ::javax::swing::SizeRequirements *, ::javax::swing::SizeRequirements *); +public: // actually protected + virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *); + virtual void layoutMajorAxis(jint, jint, JArray< jint > *, JArray< jint > *); +private: + void positionView(jint, jint, jint, JArray< jint > *, JArray< jint > *); +public: + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual ::javax::swing::text::AttributeSet * getAttributes(); + virtual jint getResizeWeight(jint); + virtual jfloat getAlignment(jint); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual jfloat getPreferredSpan(jint); + virtual jfloat getMinimumSpan(jint); + virtual jfloat getMaximumSpan(jint); +public: // actually protected + virtual void setPropertiesFromAttributes(); + virtual ::javax::swing::text::html::StyleSheet * getStyleSheet(); +public: + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); +private: + void fetchLayoutInfo(::javax::swing::text::View *); + ::javax::swing::text::AttributeSet * __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) attributes; +public: // actually package-private + ::javax::swing::text::html::StyleSheet$BoxPainter * painter; +private: + JArray< ::gnu::javax::swing::text::html::css::Length * > * cssSpans; + ::java::util::HashMap * positionInfo; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_BlockView__ diff --git a/libjava/javax/swing/text/html/CSS$Attribute.h b/libjava/javax/swing/text/html/CSS$Attribute.h new file mode 100644 index 00000000000..44c82500b25 --- /dev/null +++ b/libjava/javax/swing/text/html/CSS$Attribute.h @@ -0,0 +1,112 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_CSS$Attribute__ +#define __javax_swing_text_html_CSS$Attribute__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class CSS$Attribute; + } + } + } + } +} + +class javax::swing::text::html::CSS$Attribute : public ::java::lang::Object +{ + +public: // actually package-private + CSS$Attribute(::java::lang::String *, jboolean, ::java::lang::String *); +public: + ::java::lang::String * toString(); + jboolean isInherited(); + ::java::lang::String * getDefaultValue(); + static ::javax::swing::text::html::CSS$Attribute * BACKGROUND; + static ::javax::swing::text::html::CSS$Attribute * BACKGROUND_ATTACHMENT; + static ::javax::swing::text::html::CSS$Attribute * BACKGROUND_COLOR; + static ::javax::swing::text::html::CSS$Attribute * BACKGROUND_IMAGE; + static ::javax::swing::text::html::CSS$Attribute * BACKGROUND_POSITION; + static ::javax::swing::text::html::CSS$Attribute * BACKGROUND_REPEAT; + static ::javax::swing::text::html::CSS$Attribute * BORDER; + static ::javax::swing::text::html::CSS$Attribute * BORDER_BOTTOM; + static ::javax::swing::text::html::CSS$Attribute * BORDER_BOTTOM_WIDTH; + static ::javax::swing::text::html::CSS$Attribute * BORDER_COLOR; + static ::javax::swing::text::html::CSS$Attribute * BORDER_LEFT; + static ::javax::swing::text::html::CSS$Attribute * BORDER_LEFT_WIDTH; + static ::javax::swing::text::html::CSS$Attribute * BORDER_RIGHT; + static ::javax::swing::text::html::CSS$Attribute * BORDER_RIGHT_WIDTH; + static ::javax::swing::text::html::CSS$Attribute * BORDER_STYLE; + static ::javax::swing::text::html::CSS$Attribute * BORDER_TOP; + static ::javax::swing::text::html::CSS$Attribute * BORDER_TOP_WIDTH; + static ::javax::swing::text::html::CSS$Attribute * BORDER_WIDTH; + static ::javax::swing::text::html::CSS$Attribute * CLEAR; + static ::javax::swing::text::html::CSS$Attribute * COLOR; + static ::javax::swing::text::html::CSS$Attribute * DISPLAY; + static ::javax::swing::text::html::CSS$Attribute * FLOAT; + static ::javax::swing::text::html::CSS$Attribute * FONT; + static ::javax::swing::text::html::CSS$Attribute * FONT_FAMILY; + static ::javax::swing::text::html::CSS$Attribute * FONT_SIZE; + static ::javax::swing::text::html::CSS$Attribute * FONT_STYLE; + static ::javax::swing::text::html::CSS$Attribute * FONT_VARIANT; + static ::javax::swing::text::html::CSS$Attribute * FONT_WEIGHT; + static ::javax::swing::text::html::CSS$Attribute * HEIGHT; + static ::javax::swing::text::html::CSS$Attribute * LETTER_SPACING; + static ::javax::swing::text::html::CSS$Attribute * LINE_HEIGHT; + static ::javax::swing::text::html::CSS$Attribute * LIST_STYLE; + static ::javax::swing::text::html::CSS$Attribute * LIST_STYLE_IMAGE; + static ::javax::swing::text::html::CSS$Attribute * LIST_STYLE_POSITION; + static ::javax::swing::text::html::CSS$Attribute * LIST_STYLE_TYPE; + static ::javax::swing::text::html::CSS$Attribute * MARGIN; + static ::javax::swing::text::html::CSS$Attribute * MARGIN_BOTTOM; + static ::javax::swing::text::html::CSS$Attribute * MARGIN_LEFT; + static ::javax::swing::text::html::CSS$Attribute * MARGIN_RIGHT; + static ::javax::swing::text::html::CSS$Attribute * MARGIN_TOP; + static ::javax::swing::text::html::CSS$Attribute * PADDING; + static ::javax::swing::text::html::CSS$Attribute * PADDING_BOTTOM; + static ::javax::swing::text::html::CSS$Attribute * PADDING_LEFT; + static ::javax::swing::text::html::CSS$Attribute * PADDING_RIGHT; + static ::javax::swing::text::html::CSS$Attribute * PADDING_TOP; + static ::javax::swing::text::html::CSS$Attribute * TEXT_ALIGN; + static ::javax::swing::text::html::CSS$Attribute * TEXT_DECORATION; + static ::javax::swing::text::html::CSS$Attribute * TEXT_INDENT; + static ::javax::swing::text::html::CSS$Attribute * TEXT_TRANSFORM; + static ::javax::swing::text::html::CSS$Attribute * VERTICAL_ALIGN; + static ::javax::swing::text::html::CSS$Attribute * WHITE_SPACE; + static ::javax::swing::text::html::CSS$Attribute * WIDTH; + static ::javax::swing::text::html::CSS$Attribute * WORD_SPACING; +public: // actually package-private + static ::javax::swing::text::html::CSS$Attribute * BORDER_TOP_STYLE; + static ::javax::swing::text::html::CSS$Attribute * BORDER_BOTTOM_STYLE; + static ::javax::swing::text::html::CSS$Attribute * BORDER_LEFT_STYLE; + static ::javax::swing::text::html::CSS$Attribute * BORDER_RIGHT_STYLE; + static ::javax::swing::text::html::CSS$Attribute * BORDER_TOP_COLOR; + static ::javax::swing::text::html::CSS$Attribute * BORDER_BOTTOM_COLOR; + static ::javax::swing::text::html::CSS$Attribute * BORDER_LEFT_COLOR; + static ::javax::swing::text::html::CSS$Attribute * BORDER_RIGHT_COLOR; + static ::javax::swing::text::html::CSS$Attribute * BORDER_SPACING; + static ::javax::swing::text::html::CSS$Attribute * POSITION; + static ::javax::swing::text::html::CSS$Attribute * LEFT; + static ::javax::swing::text::html::CSS$Attribute * RIGHT; + static ::javax::swing::text::html::CSS$Attribute * TOP; + static ::javax::swing::text::html::CSS$Attribute * BOTTOM; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attStr; + jboolean isInherited__; + ::java::lang::String * defaultValue; + static ::java::util::HashMap * attributeMap; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_CSS$Attribute__ diff --git a/libjava/javax/swing/text/html/CSS.h b/libjava/javax/swing/text/html/CSS.h new file mode 100644 index 00000000000..1f3922db0bb --- /dev/null +++ b/libjava/javax/swing/text/html/CSS.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_CSS__ +#define __javax_swing_text_html_CSS__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class CSS; + class CSS$Attribute; + } + } + } + } +} + +class javax::swing::text::html::CSS : public ::java::lang::Object +{ + +public: + CSS(); + static JArray< ::javax::swing::text::html::CSS$Attribute * > * getAllAttributeKeys(); + static ::javax::swing::text::html::CSS$Attribute * getAttribute(::java::lang::String *); +public: // actually package-private + static ::java::lang::Object * getValue(::javax::swing::text::html::CSS$Attribute *, ::java::lang::String *); + static void addInternal(::javax::swing::text::MutableAttributeSet *, ::javax::swing::text::html::CSS$Attribute *, ::java::lang::String *); +private: + static void parseBackgroundShorthand(::javax::swing::text::MutableAttributeSet *, ::java::lang::String *); + static void parsePaddingShorthand(::javax::swing::text::MutableAttributeSet *, ::java::lang::String *); + static void parseMarginShorthand(::javax::swing::text::MutableAttributeSet *, ::java::lang::String *); + static void parseBorderShorthand(::javax::swing::text::MutableAttributeSet *, ::java::lang::String *, ::javax::swing::text::html::CSS$Attribute *); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_CSS__ diff --git a/libjava/javax/swing/text/html/CSSBorder.h b/libjava/javax/swing/text/html/CSSBorder.h new file mode 100644 index 00000000000..aa836ff65e1 --- /dev/null +++ b/libjava/javax/swing/text/html/CSSBorder.h @@ -0,0 +1,90 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_CSSBorder__ +#define __javax_swing_text_html_CSSBorder__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Component; + class Graphics; + class Insets; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + namespace html + { + class CSS$Attribute; + class CSSBorder; + class StyleSheet; + } + } + } + } +} + +class javax::swing::text::html::CSSBorder : public ::java::lang::Object +{ + +public: // actually package-private + CSSBorder(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::StyleSheet *); +private: + jint getBorderStyle(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *); + ::java::awt::Color * getBorderColor(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *); + jint getBorderWidth(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::CSS$Attribute *, ::javax::swing::text::html::StyleSheet *); +public: + virtual ::java::awt::Insets * getBorderInsets(::java::awt::Component *); + virtual jboolean isBorderOpaque(); + virtual void paintBorder(::java::awt::Component *, ::java::awt::Graphics *, jint, jint, jint, jint); +private: + void paintBorderLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + void paintDottedLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + void paintDashedLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + void paintSolidLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + void paintDoubleLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + void paintGrooveLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + void paintRidgeLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + void paintOutsetLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + void paintInsetLine(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Color *, jboolean); + static const jint STYLE_NOT_SET = -1; + static const jint STYLE_NONE = 0; + static const jint STYLE_HIDDEN = 1; + static const jint STYLE_DOTTED = 2; + static const jint STYLE_DASHED = 3; + static const jint STYLE_SOLID = 4; + static const jint STYLE_DOUBLE = 5; + static const jint STYLE_GROOVE = 6; + static const jint STYLE_RIDGE = 7; + static const jint STYLE_INSET = 8; + static const jint STYLE_OUTSET = 9; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) left; + jint right; + jint top; + jint bottom; + jint leftStyle; + jint rightStyle; + jint topStyle; + ::java::awt::Color * topColor; + ::java::awt::Color * bottomColor; + ::java::awt::Color * leftColor; + ::java::awt::Color * rightColor; + jint bottomStyle; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_CSSBorder__ diff --git a/libjava/javax/swing/text/html/CSSParser$CSSParserCallback.h b/libjava/javax/swing/text/html/CSSParser$CSSParserCallback.h new file mode 100644 index 00000000000..a2bb6622879 --- /dev/null +++ b/libjava/javax/swing/text/html/CSSParser$CSSParserCallback.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_CSSParser$CSSParserCallback__ +#define __javax_swing_text_html_CSSParser$CSSParserCallback__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class CSSParser$CSSParserCallback; + } + } + } + } +} + +class javax::swing::text::html::CSSParser$CSSParserCallback : public ::java::lang::Object +{ + +public: + virtual void handleImport(::java::lang::String *) = 0; + virtual void startRule() = 0; + virtual void endRule() = 0; + virtual void handleSelector(::java::lang::String *) = 0; + virtual void handleProperty(::java::lang::String *) = 0; + virtual void handleValue(::java::lang::String *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_html_CSSParser$CSSParserCallback__ diff --git a/libjava/javax/swing/text/html/CSSParser.h b/libjava/javax/swing/text/html/CSSParser.h new file mode 100644 index 00000000000..ce8aee5acfe --- /dev/null +++ b/libjava/javax/swing/text/html/CSSParser.h @@ -0,0 +1,82 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_CSSParser__ +#define __javax_swing_text_html_CSSParser__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class CSSParser; + class CSSParser$CSSParserCallback; + } + } + } + } +} + +class javax::swing::text::html::CSSParser : public ::java::lang::Object +{ + +public: // actually package-private + CSSParser(); +private: + void append(jchar); + jint nextToken(jchar); + jint readChar(); +public: // actually package-private + virtual void parse(::java::io::Reader *, ::javax::swing::text::html::CSSParser$CSSParserCallback *, jboolean); +private: + jint readWS(); + jboolean getNextStatement(); + void parseAtRule(); + void parseRuleSet(); + jboolean parseSelectors(); + void parseDeclarationBlock(); + jint parseDeclaration(); + jint parseIdentifiers(jchar, jboolean); + void parseTillClosed(jint); + jboolean getIdentifier(jchar); + void readTill(jchar); + void readComment(); + void startBlock(jint); + void endBlock(jint); + jboolean inBlock(); + void pushChar(jint); + static const jint IDENTIFIER = 1; + static const jint BRACKET_OPEN = 2; + static const jint BRACKET_CLOSE = 3; + static const jint BRACE_OPEN = 4; + static const jint BRACE_CLOSE = 5; + static const jint PAREN_OPEN = 6; + static const jint PAREN_CLOSE = 7; + static const jint END = -1; + static JArray< jchar > * charMapping; + jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) didPushChar; + jint pushedChar; + ::java::lang::StringBuffer * unitBuffer; + JArray< jint > * unitStack; + jint stackCount; + ::java::io::Reader * reader; + jboolean encounteredRuleSet; + ::javax::swing::text::html::CSSParser$CSSParserCallback * callback; + JArray< jchar > * tokenBuffer; + jint tokenBufferLength; + jboolean readWS__; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_CSSParser__ diff --git a/libjava/javax/swing/text/html/FormSubmitEvent$MethodType.h b/libjava/javax/swing/text/html/FormSubmitEvent$MethodType.h new file mode 100644 index 00000000000..99fbed04d3e --- /dev/null +++ b/libjava/javax/swing/text/html/FormSubmitEvent$MethodType.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FormSubmitEvent$MethodType__ +#define __javax_swing_text_html_FormSubmitEvent$MethodType__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class FormSubmitEvent$MethodType; + } + } + } + } +} + +class javax::swing::text::html::FormSubmitEvent$MethodType : public ::java::lang::Object +{ + + FormSubmitEvent$MethodType(); +public: + static ::javax::swing::text::html::FormSubmitEvent$MethodType * POST; + static ::javax::swing::text::html::FormSubmitEvent$MethodType * GET; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FormSubmitEvent$MethodType__ diff --git a/libjava/javax/swing/text/html/FormSubmitEvent.h b/libjava/javax/swing/text/html/FormSubmitEvent.h new file mode 100644 index 00000000000..7908376d167 --- /dev/null +++ b/libjava/javax/swing/text/html/FormSubmitEvent.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FormSubmitEvent__ +#define __javax_swing_text_html_FormSubmitEvent__ + +#pragma interface + +#include <javax/swing/text/html/HTMLFrameHyperlinkEvent.h> +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class HyperlinkEvent$EventType; + } + namespace text + { + class Element; + namespace html + { + class FormSubmitEvent; + class FormSubmitEvent$MethodType; + } + } + } + } +} + +class javax::swing::text::html::FormSubmitEvent : public ::javax::swing::text::html::HTMLFrameHyperlinkEvent +{ + +public: // actually package-private + FormSubmitEvent(::java::lang::Object *, ::javax::swing::event::HyperlinkEvent$EventType *, ::java::net::URL *, ::javax::swing::text::Element *, ::java::lang::String *, ::javax::swing::text::html::FormSubmitEvent$MethodType *, ::java::lang::String *); +public: + virtual ::java::lang::String * getData(); + virtual ::javax::swing::text::html::FormSubmitEvent$MethodType * getMethod(); +private: + ::javax::swing::text::html::FormSubmitEvent$MethodType * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLFrameHyperlinkEvent)))) method; + ::java::lang::String * data; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FormSubmitEvent__ diff --git a/libjava/javax/swing/text/html/FormView$1.h b/libjava/javax/swing/text/html/FormView$1.h new file mode 100644 index 00000000000..0bdec66cfcd --- /dev/null +++ b/libjava/javax/swing/text/html/FormView$1.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FormView$1__ +#define __javax_swing_text_html_FormView$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace swing + { + class JEditorPane; + namespace text + { + namespace html + { + class FormView$1; + class FormView$SubmitThread; + class HTMLDocument; + } + } + } + } +} + +class javax::swing::text::html::FormView$1 : public ::java::lang::Object +{ + +public: // actually package-private + FormView$1(::javax::swing::text::html::FormView$SubmitThread *, ::javax::swing::text::html::HTMLDocument *, ::javax::swing::JEditorPane *, ::java::lang::String *, ::java::net::URL *, ::java::lang::String *, ::java::net::URL *); +public: + void run(); +public: // actually package-private + ::javax::swing::text::html::FormView$SubmitThread * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1; +private: + ::javax::swing::text::html::HTMLDocument * val$doc; + ::javax::swing::JEditorPane * val$editor; + ::java::lang::String * val$method; + ::java::net::URL * val$actionURL; + ::java::lang::String * val$target; + ::java::net::URL * val$url; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FormView$1__ diff --git a/libjava/javax/swing/text/html/FormView$MouseEventListener.h b/libjava/javax/swing/text/html/FormView$MouseEventListener.h new file mode 100644 index 00000000000..d602e6449f3 --- /dev/null +++ b/libjava/javax/swing/text/html/FormView$MouseEventListener.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FormView$MouseEventListener__ +#define __javax_swing_text_html_FormView$MouseEventListener__ + +#pragma interface + +#include <java/awt/event/MouseAdapter.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class FormView; + class FormView$MouseEventListener; + } + } + } + } +} + +class javax::swing::text::html::FormView$MouseEventListener : public ::java::awt::event::MouseAdapter +{ + +public: // actually protected + FormView$MouseEventListener(::javax::swing::text::html::FormView *); +public: + virtual void mouseReleased(::java::awt::event::MouseEvent *); +public: // actually package-private + ::javax::swing::text::html::FormView * __attribute__((aligned(__alignof__( ::java::awt::event::MouseAdapter)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FormView$MouseEventListener__ diff --git a/libjava/javax/swing/text/html/FormView$SubmitThread.h b/libjava/javax/swing/text/html/FormView$SubmitThread.h new file mode 100644 index 00000000000..69a01bbe77c --- /dev/null +++ b/libjava/javax/swing/text/html/FormView$SubmitThread.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FormView$SubmitThread__ +#define __javax_swing_text_html_FormView$SubmitThread__ + +#pragma interface + +#include <java/lang/Thread.h> +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + class URLConnection; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + namespace html + { + class FormSubmitEvent; + class FormView; + class FormView$SubmitThread; + } + } + } + } +} + +class javax::swing::text::html::FormView$SubmitThread : public ::java::lang::Thread +{ + +public: // actually package-private + FormView$SubmitThread(::javax::swing::text::html::FormView *, ::java::lang::String *); +public: + virtual void run(); +private: + ::java::lang::String * getMethod(); + ::java::net::URL * getActionURL(); + ::java::lang::String * getTarget(); + void postData(::java::net::URLConnection *, ::java::lang::String *); + ::javax::swing::text::AttributeSet * getFormAttributes(); +public: // actually package-private + virtual ::javax::swing::text::html::FormSubmitEvent * createSubmitEvent(::java::lang::String *, ::java::net::URL *, ::java::lang::String *); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) data; +public: // actually package-private + ::javax::swing::text::html::FormView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FormView$SubmitThread__ diff --git a/libjava/javax/swing/text/html/FormView.h b/libjava/javax/swing/text/html/FormView.h new file mode 100644 index 00000000000..fff2e630988 --- /dev/null +++ b/libjava/javax/swing/text/html/FormView.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FormView__ +#define __javax_swing_text_html_FormView__ + +#pragma interface + +#include <javax/swing/text/ComponentView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + class Point; + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class Element; + namespace html + { + class FormView; + } + } + } + } +} + +class javax::swing::text::html::FormView : public ::javax::swing::text::ComponentView +{ + +public: + FormView(::javax::swing::text::Element *); +public: // actually protected + virtual ::java::awt::Component * createComponent(); +public: + virtual jfloat getMaximumSpan(jint); + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually protected + virtual void submitData(::java::lang::String *); + virtual void imageSubmit(::java::lang::String *); +public: // actually package-private + virtual ::java::lang::String * getImageData(::java::awt::Point *); + virtual ::javax::swing::text::Element * getFormElement(); +private: + ::java::lang::String * getFormData(); + void getElementFormData(::javax::swing::text::Element *, ::java::lang::StringBuilder *); + void getSelectData(::javax::swing::text::AttributeSet *, ::java::lang::StringBuilder *); + ::java::lang::String * getTextAreaData(::javax::swing::text::AttributeSet *); + ::java::lang::String * getInputFormData(::javax::swing::text::AttributeSet *); + void addData(::java::lang::StringBuilder *, ::java::lang::String *, ::java::lang::String *); + void resetForm(); +public: + static ::java::lang::String * SUBMIT; + static ::java::lang::String * RESET; +private: + jboolean __attribute__((aligned(__alignof__( ::javax::swing::text::ComponentView)))) maxIsPreferred; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FormView__ diff --git a/libjava/javax/swing/text/html/FrameSetView$FrameSetRow.h b/libjava/javax/swing/text/html/FrameSetView$FrameSetRow.h new file mode 100644 index 00000000000..ae59240acf9 --- /dev/null +++ b/libjava/javax/swing/text/html/FrameSetView$FrameSetRow.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FrameSetView$FrameSetRow__ +#define __javax_swing_text_html_FrameSetView$FrameSetRow__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class ViewFactory; + namespace html + { + class FrameSetView; + class FrameSetView$FrameSetRow; + } + } + } + } +} + +class javax::swing::text::html::FrameSetView$FrameSetRow : public ::javax::swing::text::BoxView +{ + +public: // actually package-private + FrameSetView$FrameSetRow(::javax::swing::text::html::FrameSetView *, ::javax::swing::text::Element *, jint); +public: // actually protected + virtual void loadChildren(::javax::swing::text::ViewFactory *); + virtual void layoutMajorAxis(jint, jint, JArray< jint > *, JArray< jint > *); +private: + jint __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) row; +public: // actually package-private + ::javax::swing::text::html::FrameSetView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FrameSetView$FrameSetRow__ diff --git a/libjava/javax/swing/text/html/FrameSetView.h b/libjava/javax/swing/text/html/FrameSetView.h new file mode 100644 index 00000000000..a31abb1ca11 --- /dev/null +++ b/libjava/javax/swing/text/html/FrameSetView.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FrameSetView__ +#define __javax_swing_text_html_FrameSetView__ + +#pragma interface + +#include <javax/swing/text/BoxView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class ViewFactory; + namespace html + { + class FrameSetView; + } + } + } + } +} + +class javax::swing::text::html::FrameSetView : public ::javax::swing::text::BoxView +{ + +public: // actually package-private + FrameSetView(::javax::swing::text::Element *); +public: // actually protected + virtual void loadChildren(::javax::swing::text::ViewFactory *); +private: + void parseRowsCols(); + void parseLayout(::java::lang::String *, jint); +public: // actually protected + virtual void layoutMajorAxis(jint, jint, JArray< jint > *, JArray< jint > *); +public: // actually package-private + virtual void layoutViews(jint, jint, JArray< jint > *, JArray< jint > *, jint, JArray< jint > *, JArray< jint > *, JArray< jint > *); + JArray< JArray< jint > * > * __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) absolute; + JArray< JArray< jint > * > * relative; + JArray< JArray< jint > * > * percent; + JArray< jint > * numViews; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FrameSetView__ diff --git a/libjava/javax/swing/text/html/FrameView.h b/libjava/javax/swing/text/html/FrameView.h new file mode 100644 index 00000000000..e1856e327de --- /dev/null +++ b/libjava/javax/swing/text/html/FrameView.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_FrameView__ +#define __javax_swing_text_html_FrameView__ + +#pragma interface + +#include <javax/swing/text/ComponentView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + } + } + namespace javax + { + namespace swing + { + class JEditorPane; + namespace event + { + class HyperlinkEvent; + } + namespace text + { + class Element; + namespace html + { + class FrameView; + class HTMLFrameHyperlinkEvent; + } + } + } + } +} + +class javax::swing::text::html::FrameView : public ::javax::swing::text::ComponentView +{ + +public: // actually package-private + FrameView(::javax::swing::text::Element *); +public: // actually protected + virtual ::java::awt::Component * createComponent(); +public: + virtual void hyperlinkUpdate(::javax::swing::event::HyperlinkEvent *); +private: + void handleHyperlinkEvent(::javax::swing::event::HyperlinkEvent *, ::javax::swing::JEditorPane *, ::java::lang::String *); + void handleFormSubmitEvent(::javax::swing::text::html::HTMLFrameHyperlinkEvent *, ::javax::swing::JEditorPane *, ::java::lang::String *); + ::javax::swing::JEditorPane * getTopEditorPane(); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_FrameView__ diff --git a/libjava/javax/swing/text/html/HRuleView$Beginning.h b/libjava/javax/swing/text/html/HRuleView$Beginning.h new file mode 100644 index 00000000000..a1c6e1dc808 --- /dev/null +++ b/libjava/javax/swing/text/html/HRuleView$Beginning.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HRuleView$Beginning__ +#define __javax_swing_text_html_HRuleView$Beginning__ + +#pragma interface + +#include <javax/swing/text/html/NullView.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + namespace html + { + class HRuleView; + class HRuleView$Beginning; + } + } + } + } +} + +class javax::swing::text::html::HRuleView$Beginning : public ::javax::swing::text::html::NullView +{ + +public: + virtual jint getEndOffset(); + virtual jint getStartOffset(); + HRuleView$Beginning(::javax::swing::text::html::HRuleView *, ::javax::swing::text::Element *, jint); +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::javax::swing::text::html::NullView)))) breakOffset; + ::javax::swing::text::html::HRuleView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HRuleView$Beginning__ diff --git a/libjava/javax/swing/text/html/HRuleView.h b/libjava/javax/swing/text/html/HRuleView.h new file mode 100644 index 00000000000..f028b51ae0b --- /dev/null +++ b/libjava/javax/swing/text/html/HRuleView.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HRuleView__ +#define __javax_swing_text_html_HRuleView__ + +#pragma interface + +#include <javax/swing/text/html/InlineView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class View; + namespace html + { + class HRuleView; + } + } + } + } +} + +class javax::swing::text::html::HRuleView : public ::javax::swing::text::html::InlineView +{ + +public: + HRuleView(::javax::swing::text::Element *); + virtual jint getBreakWeight(jint, jfloat, jfloat); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual ::javax::swing::text::View * breakView(jint, jint, jfloat, jfloat); + virtual jfloat getMaximumSpan(jint); + virtual jfloat getPreferredSpan(jint); +public: // actually package-private + ::javax::swing::text::View * __attribute__((aligned(__alignof__( ::javax::swing::text::html::InlineView)))) nullView; + static jint HEIGHT; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HRuleView__ diff --git a/libjava/javax/swing/text/html/HTML$Attribute.h b/libjava/javax/swing/text/html/HTML$Attribute.h new file mode 100644 index 00000000000..47868d02dbc --- /dev/null +++ b/libjava/javax/swing/text/html/HTML$Attribute.h @@ -0,0 +1,130 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTML$Attribute__ +#define __javax_swing_text_html_HTML$Attribute__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class HTML$Attribute; + } + } + } + } +} + +class javax::swing::text::html::HTML$Attribute : public ::java::lang::Object +{ + + HTML$Attribute(::java::lang::String *); +public: + ::java::lang::String * toString(); +public: // actually package-private + static JArray< ::javax::swing::text::html::HTML$Attribute * > * getAllAttributes(); +public: + static ::javax::swing::text::html::HTML$Attribute * ACTION; + static ::javax::swing::text::html::HTML$Attribute * ALIGN; + static ::javax::swing::text::html::HTML$Attribute * ALINK; + static ::javax::swing::text::html::HTML$Attribute * ALT; + static ::javax::swing::text::html::HTML$Attribute * ARCHIVE; + static ::javax::swing::text::html::HTML$Attribute * BACKGROUND; + static ::javax::swing::text::html::HTML$Attribute * BGCOLOR; + static ::javax::swing::text::html::HTML$Attribute * BORDER; + static ::javax::swing::text::html::HTML$Attribute * CELLPADDING; + static ::javax::swing::text::html::HTML$Attribute * CELLSPACING; + static ::javax::swing::text::html::HTML$Attribute * CHECKED; + static ::javax::swing::text::html::HTML$Attribute * CLASS; + static ::javax::swing::text::html::HTML$Attribute * CLASSID; + static ::javax::swing::text::html::HTML$Attribute * CLEAR; + static ::javax::swing::text::html::HTML$Attribute * CODE; + static ::javax::swing::text::html::HTML$Attribute * CODEBASE; + static ::javax::swing::text::html::HTML$Attribute * CODETYPE; + static ::javax::swing::text::html::HTML$Attribute * COLOR; + static ::javax::swing::text::html::HTML$Attribute * COLS; + static ::javax::swing::text::html::HTML$Attribute * COLSPAN; + static ::javax::swing::text::html::HTML$Attribute * COMMENT; + static ::javax::swing::text::html::HTML$Attribute * COMPACT; + static ::javax::swing::text::html::HTML$Attribute * CONTENT; + static ::javax::swing::text::html::HTML$Attribute * COORDS; + static ::javax::swing::text::html::HTML$Attribute * DATA; + static ::javax::swing::text::html::HTML$Attribute * DECLARE; + static ::javax::swing::text::html::HTML$Attribute * DIR; + static ::javax::swing::text::html::HTML$Attribute * DUMMY; + static ::javax::swing::text::html::HTML$Attribute * ENCTYPE; + static ::javax::swing::text::html::HTML$Attribute * ENDTAG; + static ::javax::swing::text::html::HTML$Attribute * FACE; + static ::javax::swing::text::html::HTML$Attribute * FRAMEBORDER; + static ::javax::swing::text::html::HTML$Attribute * HALIGN; + static ::javax::swing::text::html::HTML$Attribute * HEIGHT; + static ::javax::swing::text::html::HTML$Attribute * HREF; + static ::javax::swing::text::html::HTML$Attribute * HSPACE; + static ::javax::swing::text::html::HTML$Attribute * HTTPEQUIV; + static ::javax::swing::text::html::HTML$Attribute * ID; + static ::javax::swing::text::html::HTML$Attribute * ISMAP; + static ::javax::swing::text::html::HTML$Attribute * LANG; + static ::javax::swing::text::html::HTML$Attribute * LANGUAGE; + static ::javax::swing::text::html::HTML$Attribute * LINK; + static ::javax::swing::text::html::HTML$Attribute * LOWSRC; + static ::javax::swing::text::html::HTML$Attribute * MARGINHEIGHT; + static ::javax::swing::text::html::HTML$Attribute * MARGINWIDTH; + static ::javax::swing::text::html::HTML$Attribute * MAXLENGTH; +public: // actually package-private + static ::javax::swing::text::html::HTML$Attribute * MEDIA; +public: + static ::javax::swing::text::html::HTML$Attribute * METHOD; + static ::javax::swing::text::html::HTML$Attribute * MULTIPLE; + static ::javax::swing::text::html::HTML$Attribute * N; + static ::javax::swing::text::html::HTML$Attribute * NAME; + static ::javax::swing::text::html::HTML$Attribute * NOHREF; + static ::javax::swing::text::html::HTML$Attribute * NORESIZE; + static ::javax::swing::text::html::HTML$Attribute * NOSHADE; + static ::javax::swing::text::html::HTML$Attribute * NOWRAP; + static ::javax::swing::text::html::HTML$Attribute * PROMPT; + static ::javax::swing::text::html::HTML$Attribute * REL; + static ::javax::swing::text::html::HTML$Attribute * REV; + static ::javax::swing::text::html::HTML$Attribute * ROWS; + static ::javax::swing::text::html::HTML$Attribute * ROWSPAN; + static ::javax::swing::text::html::HTML$Attribute * SCROLLING; + static ::javax::swing::text::html::HTML$Attribute * SELECTED; + static ::javax::swing::text::html::HTML$Attribute * SHAPE; + static ::javax::swing::text::html::HTML$Attribute * SHAPES; + static ::javax::swing::text::html::HTML$Attribute * SIZE; + static ::javax::swing::text::html::HTML$Attribute * SRC; + static ::javax::swing::text::html::HTML$Attribute * STANDBY; + static ::javax::swing::text::html::HTML$Attribute * START; + static ::javax::swing::text::html::HTML$Attribute * STYLE; + static ::javax::swing::text::html::HTML$Attribute * TARGET; + static ::javax::swing::text::html::HTML$Attribute * TEXT; + static ::javax::swing::text::html::HTML$Attribute * TITLE; + static ::javax::swing::text::html::HTML$Attribute * TYPE; + static ::javax::swing::text::html::HTML$Attribute * USEMAP; + static ::javax::swing::text::html::HTML$Attribute * VALIGN; + static ::javax::swing::text::html::HTML$Attribute * VALUE; + static ::javax::swing::text::html::HTML$Attribute * VALUETYPE; + static ::javax::swing::text::html::HTML$Attribute * VERSION; + static ::javax::swing::text::html::HTML$Attribute * VLINK; + static ::javax::swing::text::html::HTML$Attribute * VSPACE; + static ::javax::swing::text::html::HTML$Attribute * WIDTH; +public: // actually package-private + static ::javax::swing::text::html::HTML$Attribute * PSEUDO_CLASS; + static ::javax::swing::text::html::HTML$Attribute * DYNAMIC_CLASS; +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTML$Attribute__ diff --git a/libjava/javax/swing/text/html/HTML$Tag.h b/libjava/javax/swing/text/html/HTML$Tag.h new file mode 100644 index 00000000000..2dd2dcebac7 --- /dev/null +++ b/libjava/javax/swing/text/html/HTML$Tag.h @@ -0,0 +1,139 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTML$Tag__ +#define __javax_swing_text_html_HTML$Tag__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class HTML$Tag; + } + } + } + } +} + +class javax::swing::text::html::HTML$Tag : public ::java::lang::Object +{ + +public: + HTML$Tag(); +public: // actually protected + HTML$Tag(::java::lang::String *); + HTML$Tag(::java::lang::String *, jboolean, jboolean); +public: // actually package-private + HTML$Tag(::java::lang::String *, jint); +public: + virtual jboolean isBlock(); + virtual jboolean isPreformatted(); + virtual jboolean breaksFlow(); + virtual ::java::lang::String * toString(); +public: // actually package-private + static JArray< ::javax::swing::text::html::HTML$Tag * > * getAllTags(); + virtual jboolean isSyntetic(); +private: + static void unexpected(::java::lang::Exception *); +public: + static ::javax::swing::text::html::HTML$Tag * A; + static ::javax::swing::text::html::HTML$Tag * ADDRESS; + static ::javax::swing::text::html::HTML$Tag * APPLET; + static ::javax::swing::text::html::HTML$Tag * AREA; + static ::javax::swing::text::html::HTML$Tag * B; + static ::javax::swing::text::html::HTML$Tag * BASE; + static ::javax::swing::text::html::HTML$Tag * BASEFONT; + static ::javax::swing::text::html::HTML$Tag * BIG; + static ::javax::swing::text::html::HTML$Tag * BLOCKQUOTE; + static ::javax::swing::text::html::HTML$Tag * BODY; + static ::javax::swing::text::html::HTML$Tag * BR; + static ::javax::swing::text::html::HTML$Tag * CAPTION; + static ::javax::swing::text::html::HTML$Tag * CENTER; + static ::javax::swing::text::html::HTML$Tag * CITE; + static ::javax::swing::text::html::HTML$Tag * CODE; + static ::javax::swing::text::html::HTML$Tag * DD; + static ::javax::swing::text::html::HTML$Tag * DFN; + static ::javax::swing::text::html::HTML$Tag * DIR; + static ::javax::swing::text::html::HTML$Tag * DIV; + static ::javax::swing::text::html::HTML$Tag * DL; + static ::javax::swing::text::html::HTML$Tag * DT; + static ::javax::swing::text::html::HTML$Tag * EM; + static ::javax::swing::text::html::HTML$Tag * FONT; + static ::javax::swing::text::html::HTML$Tag * FORM; + static ::javax::swing::text::html::HTML$Tag * FRAME; + static ::javax::swing::text::html::HTML$Tag * FRAMESET; + static ::javax::swing::text::html::HTML$Tag * H1; + static ::javax::swing::text::html::HTML$Tag * H2; + static ::javax::swing::text::html::HTML$Tag * H3; + static ::javax::swing::text::html::HTML$Tag * H4; + static ::javax::swing::text::html::HTML$Tag * H5; + static ::javax::swing::text::html::HTML$Tag * H6; + static ::javax::swing::text::html::HTML$Tag * HEAD; + static ::javax::swing::text::html::HTML$Tag * HR; + static ::javax::swing::text::html::HTML$Tag * HTML; + static ::javax::swing::text::html::HTML$Tag * I; + static ::javax::swing::text::html::HTML$Tag * IMG; + static ::javax::swing::text::html::HTML$Tag * INPUT; + static ::javax::swing::text::html::HTML$Tag * ISINDEX; + static ::javax::swing::text::html::HTML$Tag * KBD; + static ::javax::swing::text::html::HTML$Tag * LI; + static ::javax::swing::text::html::HTML$Tag * LINK; + static ::javax::swing::text::html::HTML$Tag * MAP; + static ::javax::swing::text::html::HTML$Tag * MENU; + static ::javax::swing::text::html::HTML$Tag * META; +public: // actually package-private + static ::javax::swing::text::html::HTML$Tag * NOBR; +public: + static ::javax::swing::text::html::HTML$Tag * NOFRAMES; + static ::javax::swing::text::html::HTML$Tag * OBJECT; + static ::javax::swing::text::html::HTML$Tag * OL; + static ::javax::swing::text::html::HTML$Tag * OPTION; + static ::javax::swing::text::html::HTML$Tag * P; + static ::javax::swing::text::html::HTML$Tag * PARAM; + static ::javax::swing::text::html::HTML$Tag * PRE; + static ::javax::swing::text::html::HTML$Tag * S; + static ::javax::swing::text::html::HTML$Tag * SAMP; + static ::javax::swing::text::html::HTML$Tag * SCRIPT; + static ::javax::swing::text::html::HTML$Tag * SELECT; + static ::javax::swing::text::html::HTML$Tag * SMALL; + static ::javax::swing::text::html::HTML$Tag * SPAN; + static ::javax::swing::text::html::HTML$Tag * STRIKE; + static ::javax::swing::text::html::HTML$Tag * STRONG; + static ::javax::swing::text::html::HTML$Tag * STYLE; + static ::javax::swing::text::html::HTML$Tag * SUB; + static ::javax::swing::text::html::HTML$Tag * SUP; + static ::javax::swing::text::html::HTML$Tag * TABLE; + static ::javax::swing::text::html::HTML$Tag * TD; + static ::javax::swing::text::html::HTML$Tag * TEXTAREA; + static ::javax::swing::text::html::HTML$Tag * TH; + static ::javax::swing::text::html::HTML$Tag * TITLE; + static ::javax::swing::text::html::HTML$Tag * TR; + static ::javax::swing::text::html::HTML$Tag * TT; + static ::javax::swing::text::html::HTML$Tag * U; + static ::javax::swing::text::html::HTML$Tag * UL; + static ::javax::swing::text::html::HTML$Tag * VAR; +private: + static const jint TOTAL_SYNTHETIC_TAGS = 3; +public: + static ::javax::swing::text::html::HTML$Tag * COMMENT; + static ::javax::swing::text::html::HTML$Tag * CONTENT; + static ::javax::swing::text::html::HTML$Tag * IMPLIED; +public: // actually package-private + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + jint flags; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTML$Tag__ diff --git a/libjava/javax/swing/text/html/HTML$UnknownTag.h b/libjava/javax/swing/text/html/HTML$UnknownTag.h new file mode 100644 index 00000000000..e499c01ccae --- /dev/null +++ b/libjava/javax/swing/text/html/HTML$UnknownTag.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTML$UnknownTag__ +#define __javax_swing_text_html_HTML$UnknownTag__ + +#pragma interface + +#include <javax/swing/text/html/HTML$Tag.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class HTML$UnknownTag; + } + } + } + } +} + +class javax::swing::text::html::HTML$UnknownTag : public ::javax::swing::text::html::HTML$Tag +{ + +public: + HTML$UnknownTag(::java::lang::String *); +private: + static const jlong serialVersionUID = -1534369342247250625LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTML$UnknownTag__ diff --git a/libjava/javax/swing/text/html/HTML.h b/libjava/javax/swing/text/html/HTML.h new file mode 100644 index 00000000000..84dd640edc8 --- /dev/null +++ b/libjava/javax/swing/text/html/HTML.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTML__ +#define __javax_swing_text_html_HTML__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + namespace html + { + class HTML; + class HTML$Attribute; + class HTML$Tag; + } + } + } + } +} + +class javax::swing::text::html::HTML : public ::java::lang::Object +{ + +public: + HTML(); + static JArray< ::javax::swing::text::html::HTML$Attribute * > * getAllAttributeKeys(); + static JArray< ::javax::swing::text::html::HTML$Tag * > * getAllTags(); + static ::javax::swing::text::html::HTML$Attribute * getAttributeKey(::java::lang::String *); + static jint getIntegerAttributeValue(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::HTML$Attribute *, jint); + static ::javax::swing::text::html::HTML$Tag * getTag(::java::lang::String *); + static ::java::lang::String * NULL_ATTRIBUTE_VALUE; +public: // actually package-private + static const jint BREAKS = 1; + static const jint BLOCK = 2; + static const jint PREFORMATTED = 4; + static const jint SYNTHETIC = 8; +private: + static ::java::util::Map * tagMap; + static ::java::util::Map * attrMap; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTML__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$1.h b/libjava/javax/swing/text/html/HTMLDocument$1.h new file mode 100644 index 00000000000..ff1f7b0a46f --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$1.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$1__ +#define __javax_swing_text_html_HTMLDocument$1__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument; + class HTMLDocument$1; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$1 : public ::javax::swing::text::html::HTMLDocument$HTMLReader +{ + +public: // actually package-private + HTMLDocument$1(::javax::swing::text::html::HTMLDocument *, jint, jint, jint, ::javax::swing::text::html::HTML$Tag *); +public: + void handleStartTag(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *, jint); + void handleEndTag(::javax::swing::text::html::HTML$Tag *, jint); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$1__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$BlockElement.h b/libjava/javax/swing/text/html/HTMLDocument$BlockElement.h new file mode 100644 index 00000000000..efcaa223b47 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$BlockElement.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$BlockElement__ +#define __javax_swing_text_html_HTMLDocument$BlockElement__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument$BranchElement.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class Element; + namespace html + { + class HTMLDocument; + class HTMLDocument$BlockElement; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$BlockElement : public ::javax::swing::text::AbstractDocument$BranchElement +{ + +public: + HTMLDocument$BlockElement(::javax::swing::text::html::HTMLDocument *, ::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * getResolveParent(); + virtual ::java::lang::String * getName(); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument$BranchElement)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$BlockElement__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$AreaAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$AreaAction.h new file mode 100644 index 00000000000..0a6bd0daa03 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$AreaAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$AreaAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$AreaAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$AreaAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$AreaAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$AreaAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$AreaAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$BaseAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$BaseAction.h new file mode 100644 index 00000000000..61e8e538555 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$BaseAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$BaseAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$BaseAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$BaseAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$BaseAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$BaseAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$BaseAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$BlockAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$BlockAction.h new file mode 100644 index 00000000000..52c202de24e --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$BlockAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$BlockAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$BlockAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$BlockAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: + HTMLDocument$HTMLReader$BlockAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$BlockAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$CharacterAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$CharacterAction.h new file mode 100644 index 00000000000..b8ae46357d4 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$CharacterAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$CharacterAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$CharacterAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$CharacterAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$CharacterAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: + HTMLDocument$HTMLReader$CharacterAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$CharacterAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$ConvertAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$ConvertAction.h new file mode 100644 index 00000000000..a58531a128a --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$ConvertAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$ConvertAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$ConvertAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$ConvertAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$ConvertAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$ConvertAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$ConvertAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$FormAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$FormAction.h new file mode 100644 index 00000000000..263088b5aca --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$FormAction.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$FormAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$FormAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$SpecialAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$FormAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$FormAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$SpecialAction +{ + +public: + HTMLDocument$HTMLReader$FormAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +private: + void setModel(::java::lang::String *, ::javax::swing::text::MutableAttributeSet *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$SpecialAction)))) this$1; + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$FormAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$FormTagAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$FormTagAction.h new file mode 100644 index 00000000000..e2e93a12b0b --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$FormTagAction.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$FormTagAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$FormTagAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$BlockAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$FormTagAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$FormTagAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$FormTagAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$FormTagAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$HeadAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$HeadAction.h new file mode 100644 index 00000000000..c150be73ab8 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$HeadAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$HeadAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$HeadAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$BlockAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$HeadAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$HeadAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$HeadAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$HeadAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$HiddenAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$HiddenAction.h new file mode 100644 index 00000000000..a7399eac4e9 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$HiddenAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$HiddenAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$HiddenAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$HiddenAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$HiddenAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: + HTMLDocument$HTMLReader$HiddenAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$HiddenAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$IsindexAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$IsindexAction.h new file mode 100644 index 00000000000..3457ed56cfc --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$IsindexAction.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$IsindexAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$IsindexAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$IsindexAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$IsindexAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: + HTMLDocument$HTMLReader$IsindexAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$IsindexAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$LinkAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$LinkAction.h new file mode 100644 index 00000000000..2d73af7507d --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$LinkAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$LinkAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$LinkAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$HiddenAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$LinkAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$LinkAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$HiddenAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$LinkAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$HiddenAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$LinkAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$MapAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$MapAction.h new file mode 100644 index 00000000000..1b42e2f38e7 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$MapAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$MapAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$MapAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$MapAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$MapAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$MapAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$MapAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$MetaAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$MetaAction.h new file mode 100644 index 00000000000..a00b9fa2284 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$MetaAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$MetaAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$MetaAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$MetaAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$MetaAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$MetaAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$MetaAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$ParagraphAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$ParagraphAction.h new file mode 100644 index 00000000000..8c816a79ebf --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$ParagraphAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$ParagraphAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$ParagraphAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$BlockAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$ParagraphAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$ParagraphAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction +{ + +public: + HTMLDocument$HTMLReader$ParagraphAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$ParagraphAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$PreAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$PreAction.h new file mode 100644 index 00000000000..1f5e38fd450 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$PreAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$PreAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$PreAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$BlockAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$PreAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$PreAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction +{ + +public: + HTMLDocument$HTMLReader$PreAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$BlockAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$PreAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$SpecialAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$SpecialAction.h new file mode 100644 index 00000000000..c1005e6fbf8 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$SpecialAction.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$SpecialAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$SpecialAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$SpecialAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$SpecialAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: + HTMLDocument$HTMLReader$SpecialAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$SpecialAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$StyleAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$StyleAction.h new file mode 100644 index 00000000000..36feb57a007 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$StyleAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$StyleAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$StyleAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$StyleAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$StyleAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$StyleAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$StyleAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h new file mode 100644 index 00000000000..10550400bfa --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$TagAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$TagAction__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$TagAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$TagAction : public ::java::lang::Object +{ + +public: + HTMLDocument$HTMLReader$TagAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$TagAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$TitleAction.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$TitleAction.h new file mode 100644 index 00000000000..4b7a8fe6912 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader$TitleAction.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader$TitleAction__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader$TitleAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$HTMLReader$TagAction.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$TitleAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader$TitleAction : public ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction +{ + +public: // actually package-private + HTMLDocument$HTMLReader$TitleAction(::javax::swing::text::html::HTMLDocument$HTMLReader *); +public: + virtual void start(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); + virtual void end(::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument$HTMLReader * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction)))) this$1; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader$TitleAction__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$HTMLReader.h b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader.h new file mode 100644 index 00000000000..57c250f6bbb --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$HTMLReader.h @@ -0,0 +1,111 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$HTMLReader__ +#define __javax_swing_text_html_HTMLDocument$HTMLReader__ + +#pragma interface + +#include <javax/swing/text/html/HTMLEditorKit$ParserCallback.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument; + class HTMLDocument$HTMLReader; + class HTMLDocument$HTMLReader$TagAction; + class Option; + class ResetablePlainDocument; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$HTMLReader : public ::javax::swing::text::html::HTMLEditorKit$ParserCallback +{ + +public: + HTMLDocument$HTMLReader(::javax::swing::text::html::HTMLDocument *, jint); + HTMLDocument$HTMLReader(::javax::swing::text::html::HTMLDocument *, jint, jint, jint, ::javax::swing::text::html::HTML$Tag *); +public: // actually package-private + virtual void initTags(); +public: // actually protected + virtual void pushCharacterStyle(); + virtual void popCharacterStyle(); + virtual void registerTag(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTMLDocument$HTMLReader$TagAction *); +public: + virtual void flush(); +private: + void flushImpl(); +public: + virtual void handleText(JArray< jchar > *, jint); +private: + jboolean shouldInsert(); +public: + virtual void handleStartTag(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *, jint); + virtual void handleComment(JArray< jchar > *, jint); + virtual void handleEndTag(::javax::swing::text::html::HTML$Tag *, jint); + virtual void handleSimpleTag(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *, jint); + virtual void handleEndOfLineString(::java::lang::String *); +public: // actually protected + virtual void textAreaContent(JArray< jchar > *); + virtual void preContent(JArray< jchar > *); + virtual void blockOpen(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); +private: + jboolean inParagraph(); + jboolean inImpliedParagraph(); +public: // actually protected + virtual void blockClose(::javax::swing::text::html::HTML$Tag *); + virtual void addContent(JArray< jchar > *, jint, jint); + virtual void addContent(JArray< jchar > *, jint, jint, jboolean); + virtual void addSpecialElement(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *); +public: // actually package-private + static ::javax::swing::text::html::HTMLDocument * access$0(::javax::swing::text::html::HTMLDocument$HTMLReader *); +private: + static const jint MAX_THRESHOLD = 10000; + static const jint GROW_THRESHOLD = 5; +public: // actually protected + ::javax::swing::text::MutableAttributeSet * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLEditorKit$ParserCallback)))) charAttr; + ::java::util::Vector * parseBuffer; +private: + ::java::util::Stack * parseStack; +public: // actually package-private + ::java::util::Stack * charAttrStack; + ::java::util::HashMap * tagToAction; + jboolean endHTMLEncountered; + jint popDepth; + jint pushDepth; + jint offset; + ::javax::swing::text::html::HTML$Tag * insertTag; + jboolean insertTagEncountered; + jboolean debug; + jboolean inPreTag; + jboolean inStyleTag; + jboolean inTextArea; + ::java::util::ArrayList * styles; + ::javax::swing::text::html::ResetablePlainDocument * textAreaDocument; + ::java::lang::Object * selectModel; + ::javax::swing::text::html::Option * option; + jint numOptions; + ::java::util::HashMap * buttonGroups; +private: + jint threshold; +public: // actually package-private + ::javax::swing::text::html::HTMLDocument * this$0; + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$HTMLReader__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$Iterator.h b/libjava/javax/swing/text/html/HTMLDocument$Iterator.h new file mode 100644 index 00000000000..3b42157ef10 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$Iterator.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$Iterator__ +#define __javax_swing_text_html_HTMLDocument$Iterator__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + namespace html + { + class HTML$Tag; + class HTMLDocument$Iterator; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$Iterator : public ::java::lang::Object +{ + +public: + HTMLDocument$Iterator(); + virtual ::javax::swing::text::AttributeSet * getAttributes() = 0; + virtual jint getEndOffset() = 0; + virtual jint getStartOffset() = 0; + virtual void next() = 0; + virtual jboolean isValid() = 0; + virtual ::javax::swing::text::html::HTML$Tag * getTag() = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$Iterator__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$LeafIterator.h b/libjava/javax/swing/text/html/HTMLDocument$LeafIterator.h new file mode 100644 index 00000000000..d449c79833b --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$LeafIterator.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$LeafIterator__ +#define __javax_swing_text_html_HTMLDocument$LeafIterator__ + +#pragma interface + +#include <javax/swing/text/html/HTMLDocument$Iterator.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class ElementIterator; + namespace html + { + class HTML$Tag; + class HTMLDocument; + class HTMLDocument$LeafIterator; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$LeafIterator : public ::javax::swing::text::html::HTMLDocument$Iterator +{ + +public: + HTMLDocument$LeafIterator(::javax::swing::text::html::HTMLDocument *, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTMLDocument *); + virtual ::javax::swing::text::AttributeSet * getAttributes(); + virtual jint getEndOffset(); + virtual jint getStartOffset(); + virtual void next(); + virtual jboolean isValid(); + virtual ::javax::swing::text::html::HTML$Tag * getTag(); +public: // actually package-private + ::javax::swing::text::html::HTML$Tag * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLDocument$Iterator)))) tag; + ::javax::swing::text::html::HTMLDocument * doc; + ::javax::swing::text::ElementIterator * it; + ::javax::swing::text::html::HTMLDocument * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$LeafIterator__ diff --git a/libjava/javax/swing/text/html/HTMLDocument$RunElement.h b/libjava/javax/swing/text/html/HTMLDocument$RunElement.h new file mode 100644 index 00000000000..f0c65d99c2d --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument$RunElement.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument$RunElement__ +#define __javax_swing_text_html_HTMLDocument$RunElement__ + +#pragma interface + +#include <javax/swing/text/AbstractDocument$LeafElement.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class Element; + namespace html + { + class HTMLDocument; + class HTMLDocument$RunElement; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument$RunElement : public ::javax::swing::text::AbstractDocument$LeafElement +{ + +public: + HTMLDocument$RunElement(::javax::swing::text::html::HTMLDocument *, ::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *, jint, jint); + virtual ::java::lang::String * getName(); + virtual ::javax::swing::text::AttributeSet * getResolveParent(); +public: // actually package-private + ::javax::swing::text::html::HTMLDocument * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractDocument$LeafElement)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument$RunElement__ diff --git a/libjava/javax/swing/text/html/HTMLDocument.h b/libjava/javax/swing/text/html/HTMLDocument.h new file mode 100644 index 00000000000..014f818af3a --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLDocument.h @@ -0,0 +1,114 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLDocument__ +#define __javax_swing_text_html_HTMLDocument__ + +#pragma interface + +#include <javax/swing/text/DefaultStyledDocument.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AbstractDocument$AbstractElement; + class AbstractDocument$AttributeContext; + class AbstractDocument$Content; + class AbstractDocument$DefaultDocumentEvent; + class AttributeSet; + class DefaultStyledDocument$ElementSpec; + class Element; + namespace html + { + class HTML$Attribute; + class HTML$Tag; + class HTMLDocument; + class HTMLDocument$Iterator; + class HTMLEditorKit$Parser; + class HTMLEditorKit$ParserCallback; + class HTMLFrameHyperlinkEvent; + class StyleSheet; + } + } + } + } +} + +class javax::swing::text::html::HTMLDocument : public ::javax::swing::text::DefaultStyledDocument +{ + +public: + HTMLDocument(); + HTMLDocument(::javax::swing::text::html::StyleSheet *); + HTMLDocument(::javax::swing::text::AbstractDocument$Content *, ::javax::swing::text::html::StyleSheet *); + virtual ::javax::swing::text::html::StyleSheet * getStyleSheet(); +public: // actually protected + virtual ::javax::swing::text::AbstractDocument$AbstractElement * createDefaultRoot(); + virtual ::javax::swing::text::Element * createLeafElement(::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *, jint, jint); + virtual ::javax::swing::text::Element * createBranchElement(::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *); +public: + virtual ::javax::swing::text::html::HTMLEditorKit$Parser * getParser(); + virtual void setParser(::javax::swing::text::html::HTMLEditorKit$Parser *); + virtual void setTokenThreshold(jint); + virtual jint getTokenThreshold(); + virtual ::java::net::URL * getBase(); + virtual void setBase(::java::net::URL *); + virtual jboolean getPreservesUnknownTags(); + virtual void setPreservesUnknownTags(jboolean); + virtual void processHTMLFrameHyperlinkEvent(::javax::swing::text::html::HTMLFrameHyperlinkEvent *); +private: + ::javax::swing::text::Element * findFrame(::java::lang::String *); + void updateFrame(::javax::swing::text::Element *, ::java::net::URL *); + void updateFrameSet(::javax::swing::text::Element *, ::java::net::URL *); +public: + virtual ::javax::swing::text::html::HTMLDocument$Iterator * getIterator(::javax::swing::text::html::HTML$Tag *); + virtual ::javax::swing::text::html::HTMLEditorKit$ParserCallback * getReader(jint); + virtual ::javax::swing::text::html::HTMLEditorKit$ParserCallback * getReader(jint, jint, jint, ::javax::swing::text::html::HTML$Tag *); + virtual ::javax::swing::text::html::HTMLEditorKit$ParserCallback * getInsertingReader(jint, jint, jint, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::Element *); + virtual ::javax::swing::text::Element * getElement(::javax::swing::text::Element *, ::java::lang::Object *, ::java::lang::Object *); + virtual ::javax::swing::text::Element * getElement(::java::lang::String *); + virtual void setInnerHTML(::javax::swing::text::Element *, ::java::lang::String *); + virtual void setOuterHTML(::javax::swing::text::Element *, ::java::lang::String *); + virtual void insertBeforeStart(::javax::swing::text::Element *, ::java::lang::String *); + virtual void insertBeforeEnd(::javax::swing::text::Element *, ::java::lang::String *); + virtual void insertAfterEnd(::javax::swing::text::Element *, ::java::lang::String *); + virtual void insertAfterStart(::javax::swing::text::Element *, ::java::lang::String *); +public: // actually protected + virtual void insertUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *, ::javax::swing::text::AttributeSet *); +public: // actually package-private + virtual jboolean isFrameDocument(); + virtual void setFrameDocument(jboolean); + virtual ::java::lang::String * getBaseTarget(); + virtual void updateSpecialClass(::javax::swing::text::Element *, ::javax::swing::text::html::HTML$Attribute *, ::java::lang::String *); + static void access$0(::javax::swing::text::html::HTMLDocument *, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *); + static void access$1(::javax::swing::text::html::HTMLDocument *, jint, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *); + static ::javax::swing::text::AbstractDocument$AttributeContext * access$2(::javax::swing::text::html::HTMLDocument *); +public: + static ::java::lang::String * AdditionalComments; +public: // actually package-private + ::java::net::URL * __attribute__((aligned(__alignof__( ::javax::swing::text::DefaultStyledDocument)))) baseURL; + jboolean preservesUnknownTags; + jint tokenThreshold; + ::javax::swing::text::html::HTMLEditorKit$Parser * parser; +private: + jboolean frameDocument; +public: // actually package-private + ::java::lang::String * baseTarget; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLDocument__ diff --git a/libjava/javax/swing/text/html/HTMLEditorKit$HTMLFactory.h b/libjava/javax/swing/text/html/HTMLEditorKit$HTMLFactory.h new file mode 100644 index 00000000000..8780e781a67 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLEditorKit$HTMLFactory.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLEditorKit$HTMLFactory__ +#define __javax_swing_text_html_HTMLEditorKit$HTMLFactory__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class View; + namespace html + { + class HTMLEditorKit$HTMLFactory; + } + } + } + } +} + +class javax::swing::text::html::HTMLEditorKit$HTMLFactory : public ::java::lang::Object +{ + +public: + HTMLEditorKit$HTMLFactory(); + virtual ::javax::swing::text::View * create(::javax::swing::text::Element *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLEditorKit$HTMLFactory__ diff --git a/libjava/javax/swing/text/html/HTMLEditorKit$HTMLTextAction.h b/libjava/javax/swing/text/html/HTMLEditorKit$HTMLTextAction.h new file mode 100644 index 00000000000..05cf7f3e5f5 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLEditorKit$HTMLTextAction.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLEditorKit$HTMLTextAction__ +#define __javax_swing_text_html_HTMLEditorKit$HTMLTextAction__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit$StyledTextAction.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class JEditorPane; + namespace text + { + class Element; + namespace html + { + class HTML$Tag; + class HTMLDocument; + class HTMLEditorKit; + class HTMLEditorKit$HTMLTextAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLEditorKit$HTMLTextAction : public ::javax::swing::text::StyledEditorKit$StyledTextAction +{ + +public: + HTMLEditorKit$HTMLTextAction(::java::lang::String *); +public: // actually protected + virtual ::javax::swing::text::html::HTMLDocument * getHTMLDocument(::javax::swing::JEditorPane *); + virtual ::javax::swing::text::html::HTMLEditorKit * getHTMLEditorKit(::javax::swing::JEditorPane *); + virtual JArray< ::javax::swing::text::Element * > * getElementsAt(::javax::swing::text::html::HTMLDocument *, jint); +private: + JArray< ::javax::swing::text::Element * > * getElementsAt(::javax::swing::text::Element *, jint, jint); +public: // actually protected + virtual jint elementCountToTag(::javax::swing::text::html::HTMLDocument *, jint, ::javax::swing::text::html::HTML$Tag *); + virtual ::javax::swing::text::Element * findElementMatchingTag(::javax::swing::text::html::HTMLDocument *, jint, ::javax::swing::text::html::HTML$Tag *); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLEditorKit$HTMLTextAction__ diff --git a/libjava/javax/swing/text/html/HTMLEditorKit$InsertHTMLTextAction.h b/libjava/javax/swing/text/html/HTMLEditorKit$InsertHTMLTextAction.h new file mode 100644 index 00000000000..187c7a8ee76 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLEditorKit$InsertHTMLTextAction.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLEditorKit$InsertHTMLTextAction__ +#define __javax_swing_text_html_HTMLEditorKit$InsertHTMLTextAction__ + +#pragma interface + +#include <javax/swing/text/html/HTMLEditorKit$HTMLTextAction.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } + namespace javax + { + namespace swing + { + class JEditorPane; + namespace text + { + class Element; + namespace html + { + class HTML$Tag; + class HTMLDocument; + class HTMLEditorKit$InsertHTMLTextAction; + } + } + } + } +} + +class javax::swing::text::html::HTMLEditorKit$InsertHTMLTextAction : public ::javax::swing::text::html::HTMLEditorKit$HTMLTextAction +{ + +public: + HTMLEditorKit$InsertHTMLTextAction(::java::lang::String *, ::java::lang::String *, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTML$Tag *); + HTMLEditorKit$InsertHTMLTextAction(::java::lang::String *, ::java::lang::String *, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTML$Tag *); +public: // actually protected + virtual void insertHTML(::javax::swing::JEditorPane *, ::javax::swing::text::html::HTMLDocument *, jint, ::java::lang::String *, jint, jint, ::javax::swing::text::html::HTML$Tag *); + virtual void insertAtBoundary(::javax::swing::JEditorPane *, ::javax::swing::text::html::HTMLDocument *, jint, ::javax::swing::text::Element *, ::java::lang::String *, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTML$Tag *); + virtual void insertAtBoundry(::javax::swing::JEditorPane *, ::javax::swing::text::html::HTMLDocument *, jint, ::javax::swing::text::Element *, ::java::lang::String *, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTML$Tag *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +private: + jboolean tryInsert(::javax::swing::JEditorPane *, ::javax::swing::text::html::HTMLDocument *, jint, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::html::HTML$Tag *); + void adjustSelection(::javax::swing::JEditorPane *, ::javax::swing::text::html::HTMLDocument *, jint, jint); +public: // actually protected + ::javax::swing::text::html::HTML$Tag * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLEditorKit$HTMLTextAction)))) addTag; + ::javax::swing::text::html::HTML$Tag * alternateAddTag; + ::javax::swing::text::html::HTML$Tag * alternateParentTag; + ::java::lang::String * html; + ::javax::swing::text::html::HTML$Tag * parentTag; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLEditorKit$InsertHTMLTextAction__ diff --git a/libjava/javax/swing/text/html/HTMLEditorKit$LinkController.h b/libjava/javax/swing/text/html/HTMLEditorKit$LinkController.h new file mode 100644 index 00000000000..629cc679e6d --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLEditorKit$LinkController.h @@ -0,0 +1,63 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLEditorKit$LinkController__ +#define __javax_swing_text_html_HTMLEditorKit$LinkController__ + +#pragma interface + +#include <java/awt/event/MouseAdapter.h> +extern "Java" +{ + namespace java + { + namespace awt + { + namespace event + { + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + class JEditorPane; + namespace event + { + class HyperlinkEvent; + } + namespace text + { + class AttributeSet; + class Element; + namespace html + { + class HTMLDocument; + class HTMLEditorKit$LinkController; + } + } + } + } +} + +class javax::swing::text::html::HTMLEditorKit$LinkController : public ::java::awt::event::MouseAdapter +{ + +public: + HTMLEditorKit$LinkController(); + virtual void mouseClicked(::java::awt::event::MouseEvent *); + virtual void mouseDragged(::java::awt::event::MouseEvent *); + virtual void mouseMoved(::java::awt::event::MouseEvent *); +public: // actually protected + virtual void activateLink(jint, ::javax::swing::JEditorPane *); +private: + void activateLink(jint, ::javax::swing::JEditorPane *, jint, jint); + ::javax::swing::event::HyperlinkEvent * createHyperlinkEvent(::javax::swing::JEditorPane *, ::javax::swing::text::html::HTMLDocument *, ::java::lang::String *, ::javax::swing::text::AttributeSet *, ::javax::swing::text::Element *); + ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::awt::event::MouseAdapter)))) lastAnchorElement; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLEditorKit$LinkController__ diff --git a/libjava/javax/swing/text/html/HTMLEditorKit$Parser.h b/libjava/javax/swing/text/html/HTMLEditorKit$Parser.h new file mode 100644 index 00000000000..8727c6ca646 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLEditorKit$Parser.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLEditorKit$Parser__ +#define __javax_swing_text_html_HTMLEditorKit$Parser__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class HTMLEditorKit$Parser; + class HTMLEditorKit$ParserCallback; + } + } + } + } +} + +class javax::swing::text::html::HTMLEditorKit$Parser : public ::java::lang::Object +{ + +public: + HTMLEditorKit$Parser(); + virtual void parse(::java::io::Reader *, ::javax::swing::text::html::HTMLEditorKit$ParserCallback *, jboolean) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLEditorKit$Parser__ diff --git a/libjava/javax/swing/text/html/HTMLEditorKit$ParserCallback.h b/libjava/javax/swing/text/html/HTMLEditorKit$ParserCallback.h new file mode 100644 index 00000000000..83dffff9405 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLEditorKit$ParserCallback.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLEditorKit$ParserCallback__ +#define __javax_swing_text_html_HTMLEditorKit$ParserCallback__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class MutableAttributeSet; + namespace html + { + class HTML$Tag; + class HTMLEditorKit$ParserCallback; + } + } + } + } +} + +class javax::swing::text::html::HTMLEditorKit$ParserCallback : public ::java::lang::Object +{ + +public: + HTMLEditorKit$ParserCallback(); + virtual void flush(); + virtual void handleComment(JArray< jchar > *, jint); + virtual void handleEndOfLineString(::java::lang::String *); + virtual void handleEndTag(::javax::swing::text::html::HTML$Tag *, jint); + virtual void handleError(::java::lang::String *, jint); + virtual void handleSimpleTag(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *, jint); + virtual void handleStartTag(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::MutableAttributeSet *, jint); + virtual void handleText(JArray< jchar > *, jint); + static ::java::lang::Object * IMPLIED; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLEditorKit$ParserCallback__ diff --git a/libjava/javax/swing/text/html/HTMLEditorKit.h b/libjava/javax/swing/text/html/HTMLEditorKit.h new file mode 100644 index 00000000000..4c3bc412c39 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLEditorKit.h @@ -0,0 +1,119 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLEditorKit__ +#define __javax_swing_text_html_HTMLEditorKit__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Cursor; + } + } + namespace javax + { + namespace accessibility + { + class AccessibleContext; + } + namespace swing + { + class Action; + class JEditorPane; + namespace text + { + class Document; + class Element; + class MutableAttributeSet; + class ViewFactory; + namespace html + { + class HTML$Tag; + class HTMLDocument; + class HTMLEditorKit; + class HTMLEditorKit$HTMLFactory; + class HTMLEditorKit$LinkController; + class HTMLEditorKit$Parser; + class StyleSheet; + } + } + } + } +} + +class javax::swing::text::html::HTMLEditorKit : public ::javax::swing::text::StyledEditorKit +{ + +public: + HTMLEditorKit(); + virtual ::javax::swing::text::ViewFactory * getViewFactory(); + virtual ::javax::swing::text::Document * createDefaultDocument(); +public: // actually protected + virtual ::javax::swing::text::html::HTMLEditorKit$Parser * getParser(); +public: + virtual void insertHTML(::javax::swing::text::html::HTMLDocument *, jint, ::java::lang::String *, jint, jint, ::javax::swing::text::html::HTML$Tag *); + virtual void read(::java::io::Reader *, ::javax::swing::text::Document *, jint); + virtual void write(::java::io::Writer *, ::javax::swing::text::Document *, jint, jint); + virtual ::java::lang::String * getContentType(); + virtual ::java::lang::Object * clone(); +public: // actually protected + virtual void createInputAttributes(::javax::swing::text::Element *, ::javax::swing::text::MutableAttributeSet *); +public: + virtual void install(::javax::swing::JEditorPane *); + virtual void deinstall(::javax::swing::JEditorPane *); + virtual ::javax::accessibility::AccessibleContext * getAccessibleContext(); + virtual JArray< ::javax::swing::Action * > * getActions(); + virtual ::java::awt::Cursor * getDefaultCursor(); + virtual ::java::awt::Cursor * getLinkCursor(); + virtual void setLinkCursor(::java::awt::Cursor *); + virtual void setDefaultCursor(::java::awt::Cursor *); + virtual ::javax::swing::text::MutableAttributeSet * getInputAttributes(); + virtual ::javax::swing::text::html::StyleSheet * getStyleSheet(); + virtual void setStyleSheet(::javax::swing::text::html::StyleSheet *); + virtual jboolean isAutoFormSubmission(); + virtual void setAutoFormSubmission(jboolean); +private: + static const jlong serialVersionUID = 8751997116710384592LL; +public: + static ::java::lang::String * DEFAULT_CSS; + static ::java::lang::String * BOLD_ACTION; + static ::java::lang::String * ITALIC_ACTION; + static ::java::lang::String * COLOR_ACTION; + static ::java::lang::String * FONT_CHANGE_BIGGER; + static ::java::lang::String * FONT_CHANGE_SMALLER; + static ::java::lang::String * IMG_ALIGN_BOTTOM; + static ::java::lang::String * IMG_ALIGN_MIDDLE; + static ::java::lang::String * IMG_ALIGN_TOP; + static ::java::lang::String * IMG_BORDER; + static ::java::lang::String * LOGICAL_STYLE_ACTION; + static ::java::lang::String * PARA_INDENT_LEFT; + static ::java::lang::String * PARA_INDENT_RIGHT; +private: + static JArray< ::javax::swing::Action * > * defaultActions; + ::javax::swing::text::html::StyleSheet * __attribute__((aligned(__alignof__( ::javax::swing::text::StyledEditorKit)))) styleSheet; +public: // actually package-private + ::javax::swing::text::html::HTMLEditorKit$HTMLFactory * viewFactory; + ::java::awt::Cursor * linkCursor; + ::java::awt::Cursor * defaultCursor; + ::javax::swing::text::html::HTMLEditorKit$Parser * parser; +private: + ::javax::swing::text::html::HTMLEditorKit$LinkController * linkController; +public: // actually package-private + ::java::lang::String * contentType; + ::javax::swing::text::MutableAttributeSet * inputAttributes; + ::javax::swing::JEditorPane * editorPane; +private: + jboolean autoFormSubmission; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLEditorKit__ diff --git a/libjava/javax/swing/text/html/HTMLFrameHyperlinkEvent.h b/libjava/javax/swing/text/html/HTMLFrameHyperlinkEvent.h new file mode 100644 index 00000000000..140395092ac --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLFrameHyperlinkEvent.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLFrameHyperlinkEvent__ +#define __javax_swing_text_html_HTMLFrameHyperlinkEvent__ + +#pragma interface + +#include <javax/swing/event/HyperlinkEvent.h> +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class HyperlinkEvent$EventType; + } + namespace text + { + class Element; + namespace html + { + class HTMLFrameHyperlinkEvent; + } + } + } + } +} + +class javax::swing::text::html::HTMLFrameHyperlinkEvent : public ::javax::swing::event::HyperlinkEvent +{ + +public: + HTMLFrameHyperlinkEvent(::java::lang::Object *, ::javax::swing::event::HyperlinkEvent$EventType *, ::java::net::URL *, ::javax::swing::text::Element *, ::java::lang::String *); + HTMLFrameHyperlinkEvent(::java::lang::Object *, ::javax::swing::event::HyperlinkEvent$EventType *, ::java::net::URL *, ::java::lang::String *); + HTMLFrameHyperlinkEvent(::java::lang::Object *, ::javax::swing::event::HyperlinkEvent$EventType *, ::java::net::URL *, ::java::lang::String *, ::javax::swing::text::Element *, ::java::lang::String *); + HTMLFrameHyperlinkEvent(::java::lang::Object *, ::javax::swing::event::HyperlinkEvent$EventType *, ::java::net::URL *, ::java::lang::String *, ::java::lang::String *); + virtual ::java::lang::String * getTarget(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::event::HyperlinkEvent)))) target_frame; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLFrameHyperlinkEvent__ diff --git a/libjava/javax/swing/text/html/HTMLWriter.h b/libjava/javax/swing/text/html/HTMLWriter.h new file mode 100644 index 00000000000..321b58d1020 --- /dev/null +++ b/libjava/javax/swing/text/html/HTMLWriter.h @@ -0,0 +1,86 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_HTMLWriter__ +#define __javax_swing_text_html_HTMLWriter__ + +#pragma interface + +#include <javax/swing/text/AbstractWriter.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class Element; + namespace html + { + class HTML$Tag; + class HTMLDocument; + class HTMLWriter; + class Option; + } + } + } + } +} + +class javax::swing::text::html::HTMLWriter : public ::javax::swing::text::AbstractWriter +{ + +public: + HTMLWriter(::java::io::Writer *, ::javax::swing::text::html::HTMLDocument *); + HTMLWriter(::java::io::Writer *, ::javax::swing::text::html::HTMLDocument *, jint, jint); + virtual void write(); +public: // actually protected + virtual void writeAttributes(::javax::swing::text::AttributeSet *); + virtual void emptyTag(::javax::swing::text::Element *); + virtual jboolean isBlockTag(::javax::swing::text::AttributeSet *); + virtual void startTag(::javax::swing::text::Element *); + virtual void textAreaContent(::javax::swing::text::AttributeSet *); + virtual void text(::javax::swing::text::Element *); + virtual void selectContent(::javax::swing::text::AttributeSet *); + virtual void writeOption(::javax::swing::text::html::Option *); + virtual void endTag(::javax::swing::text::Element *); + virtual void comment(::javax::swing::text::Element *); + virtual jboolean synthesizedElement(::javax::swing::text::Element *); + virtual jboolean matchNameAttribute(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::HTML$Tag *); + virtual void writeEmbeddedTags(::javax::swing::text::AttributeSet *); + virtual void closeOutUnwantedEmbeddedTags(::javax::swing::text::AttributeSet *); + virtual void writeLineSeparator(); + virtual void output(JArray< jchar > *, jint, jint); +private: + void traverse(::javax::swing::text::Element *); + void traverseHtmlFragment(::javax::swing::text::Element *); + void writeRaw(::java::lang::String *); + void writeContent(::java::lang::String *); + void writeAllAttributes(::javax::swing::text::AttributeSet *); + jboolean hasHtmlEntity(::java::lang::String *); + jboolean isCharHtmlEntity(jchar); + ::java::lang::String * escapeCharHtmlEntity(jchar); + ::java::io::Writer * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractWriter)))) outWriter; + ::javax::swing::text::html::HTMLDocument * htmlDoc; + ::java::util::HashSet * openEmbededTagHashSet; + ::java::lang::String * new_line_str; + JArray< jchar > * html_entity_char_arr; + JArray< ::java::lang::String * > * html_entity_escape_str_arr; + jint doc_pos; + jint doc_len; + jint doc_offset_remaining; + jint doc_len_remaining; + ::java::util::HashSet * htmlFragmentParentHashSet; + ::javax::swing::text::Element * startElem; + ::javax::swing::text::Element * endElem; + jboolean fg_pass_start_elem; + jboolean fg_pass_end_elem; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_HTMLWriter__ diff --git a/libjava/javax/swing/text/html/ImageView$1.h b/libjava/javax/swing/text/html/ImageView$1.h new file mode 100644 index 00000000000..23140f92f91 --- /dev/null +++ b/libjava/javax/swing/text/html/ImageView$1.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ImageView$1__ +#define __javax_swing_text_html_ImageView$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class View; + namespace html + { + class ImageView; + class ImageView$1; + } + } + } + } +} + +class javax::swing::text::html::ImageView$1 : public ::java::lang::Object +{ + +public: // actually package-private + ImageView$1(::javax::swing::text::html::ImageView *, ::javax::swing::text::View *, jboolean, jboolean); +public: + void run(); +public: // actually package-private + ::javax::swing::text::html::ImageView * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +private: + ::javax::swing::text::View * val$v; + jboolean val$width; + jboolean val$height; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ImageView$1__ diff --git a/libjava/javax/swing/text/html/ImageView$Observer.h b/libjava/javax/swing/text/html/ImageView$Observer.h new file mode 100644 index 00000000000..be4b8dbf9dc --- /dev/null +++ b/libjava/javax/swing/text/html/ImageView$Observer.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ImageView$Observer__ +#define __javax_swing_text_html_ImageView$Observer__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Image; + } + } + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class ImageView; + class ImageView$Observer; + } + } + } + } +} + +class javax::swing::text::html::ImageView$Observer : public ::java::lang::Object +{ + +public: // actually package-private + ImageView$Observer(::javax::swing::text::html::ImageView *); +public: + virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint); +public: // actually package-private + ::javax::swing::text::html::ImageView * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ImageView$Observer__ diff --git a/libjava/javax/swing/text/html/ImageView.h b/libjava/javax/swing/text/html/ImageView.h new file mode 100644 index 00000000000..91b96bc012b --- /dev/null +++ b/libjava/javax/swing/text/html/ImageView.h @@ -0,0 +1,126 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ImageView__ +#define __javax_swing_text_html_ImageView__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Length; + } + } + } + } + } + } + namespace java + { + namespace awt + { + class Graphics; + class Image; + class Shape; + namespace image + { + class ImageObserver; + } + } + namespace net + { + class URL; + } + } + namespace javax + { + namespace swing + { + class Icon; + namespace text + { + class AttributeSet; + class Element; + class Position$Bias; + class View; + namespace html + { + class ImageView; + class StyleSheet; + } + } + } + } +} + +class javax::swing::text::html::ImageView : public ::javax::swing::text::View +{ + +public: + ImageView(::javax::swing::text::Element *); +private: + void reloadImage(); +public: + virtual jfloat getAlignment(jint); + virtual ::java::lang::String * getAltText(); + virtual ::javax::swing::text::AttributeSet * getAttributes(); + virtual ::java::awt::Image * getImage(); + virtual ::java::net::URL * getImageURL(); + virtual ::javax::swing::Icon * getLoadingImageIcon(); + virtual jboolean getLoadsSynchronously(); + virtual ::javax::swing::Icon * getNoImageIcon(); + virtual jfloat getPreferredSpan(jint); +public: // actually protected + virtual ::javax::swing::text::html::StyleSheet * getStyleSheet(); +public: + virtual ::java::lang::String * getToolTipText(jfloat, jfloat, ::java::awt::Shape *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual void setLoadsSynchronously(jboolean); +public: // actually protected + virtual void setPropertiesFromAttributes(); +public: + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual void setSize(jfloat, jfloat); +private: + void updateState(); + void loadImage(); + void updateSize(); +public: // actually package-private + virtual void safePreferenceChanged(::javax::swing::text::View *, jboolean, jboolean); + jboolean __attribute__((aligned(__alignof__( ::javax::swing::text::View)))) loadOnDemand; + ::java::awt::Image * image; + jbyte imageState; +private: + jboolean reloadImage__; + jboolean reloadProperties; + jboolean haveWidth; + jboolean haveHeight; + jboolean loading; + jint width; + jint height; + ::java::awt::image::ImageObserver * observer; +public: // actually package-private + JArray< ::gnu::javax::swing::text::html::css::Length * > * spans; +private: + ::javax::swing::text::AttributeSet * attributes; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ImageView__ diff --git a/libjava/javax/swing/text/html/InlineView.h b/libjava/javax/swing/text/html/InlineView.h new file mode 100644 index 00000000000..0d552dd7e8d --- /dev/null +++ b/libjava/javax/swing/text/html/InlineView.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_InlineView__ +#define __javax_swing_text_html_InlineView__ + +#pragma interface + +#include <javax/swing/text/LabelView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace event + { + class DocumentEvent; + } + namespace text + { + class AttributeSet; + class Element; + class View; + class ViewFactory; + namespace html + { + class InlineView; + class StyleSheet; + } + } + } + } +} + +class javax::swing::text::html::InlineView : public ::javax::swing::text::LabelView +{ + +public: + InlineView(::javax::swing::text::Element *); + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual ::javax::swing::text::AttributeSet * getAttributes(); + virtual jint getBreakWeight(jint, jfloat, jfloat); + virtual ::javax::swing::text::View * breakView(jint, jint, jfloat, jfloat); +public: // actually protected + virtual void setPropertiesFromAttributes(); + virtual ::javax::swing::text::html::StyleSheet * getStyleSheet(); +public: + virtual jfloat getMinimumSpan(jint); +private: + jfloat getLongestWord(); + jfloat calculateLongestWord(); + ::javax::swing::text::AttributeSet * __attribute__((aligned(__alignof__( ::javax::swing::text::LabelView)))) attributes; + jfloat longestWord; + jboolean nowrap; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_InlineView__ diff --git a/libjava/javax/swing/text/html/ListView.h b/libjava/javax/swing/text/html/ListView.h new file mode 100644 index 00000000000..7e179a90c69 --- /dev/null +++ b/libjava/javax/swing/text/html/ListView.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ListView__ +#define __javax_swing_text_html_ListView__ + +#pragma interface + +#include <javax/swing/text/html/BlockView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Element; + namespace html + { + class ListView; + class StyleSheet$ListPainter; + } + } + } + } +} + +class javax::swing::text::html::ListView : public ::javax::swing::text::html::BlockView +{ + +public: + ListView(::javax::swing::text::Element *); + virtual jfloat getAlignment(jint); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); +public: // actually protected + virtual void paintChild(::java::awt::Graphics *, ::java::awt::Rectangle *, jint); + virtual void setPropertiesFromAttributes(); +private: + ::javax::swing::text::html::StyleSheet$ListPainter * __attribute__((aligned(__alignof__( ::javax::swing::text::html::BlockView)))) painter; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ListView__ diff --git a/libjava/javax/swing/text/html/MinimalHTMLWriter.h b/libjava/javax/swing/text/html/MinimalHTMLWriter.h new file mode 100644 index 00000000000..c46afec29b5 --- /dev/null +++ b/libjava/javax/swing/text/html/MinimalHTMLWriter.h @@ -0,0 +1,80 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_MinimalHTMLWriter__ +#define __javax_swing_text_html_MinimalHTMLWriter__ + +#pragma interface + +#include <javax/swing/text/AbstractWriter.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class Element; + class Style; + class StyledDocument; + namespace html + { + class MinimalHTMLWriter; + } + } + } + } +} + +class javax::swing::text::html::MinimalHTMLWriter : public ::javax::swing::text::AbstractWriter +{ + +public: + MinimalHTMLWriter(::java::io::Writer *, ::javax::swing::text::StyledDocument *); + MinimalHTMLWriter(::java::io::Writer *, ::javax::swing::text::StyledDocument *, jint, jint); +public: // actually protected + virtual void startFontTag(::java::lang::String *); + virtual jboolean inFontTag(); + virtual void endFontTag(); +public: + virtual void write(); +public: // actually protected + virtual void writeStartTag(::java::lang::String *); + virtual void writeEndTag(::java::lang::String *); + virtual void writeHeader(); + virtual void writeStartParagraph(::javax::swing::text::Element *); + virtual void writeEndParagraph(); + virtual void writeBody(); + virtual void text(::javax::swing::text::Element *); + virtual void writeHTMLTags(::javax::swing::text::AttributeSet *); + virtual jboolean isText(::javax::swing::text::Element *); + virtual void writeContent(::javax::swing::text::Element *, jboolean); + virtual void writeLeaf(::javax::swing::text::Element *); + virtual void writeNonHTMLAttributes(::javax::swing::text::AttributeSet *); + virtual void writeStyles(); + virtual void writeAttributes(::javax::swing::text::AttributeSet *); + virtual void writeComponent(::javax::swing::text::Element *); + virtual void writeImage(::javax::swing::text::Element *); +private: + ::java::lang::String * getAttribute(::java::lang::String *, ::java::lang::Object *); + ::java::lang::String * getColor(::java::awt::Color *); + void endOpenTags(); + void writeStyle(::javax::swing::text::Style *); + jboolean hasText(::javax::swing::text::Element *); + ::javax::swing::text::StyledDocument * __attribute__((aligned(__alignof__( ::javax::swing::text::AbstractWriter)))) doc; + ::java::util::Stack * tagStack; + jboolean inFontTag__; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_MinimalHTMLWriter__ diff --git a/libjava/javax/swing/text/html/MultiAttributeSet$MultiNameEnumeration.h b/libjava/javax/swing/text/html/MultiAttributeSet$MultiNameEnumeration.h new file mode 100644 index 00000000000..5705c57ad50 --- /dev/null +++ b/libjava/javax/swing/text/html/MultiAttributeSet$MultiNameEnumeration.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_MultiAttributeSet$MultiNameEnumeration__ +#define __javax_swing_text_html_MultiAttributeSet$MultiNameEnumeration__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class MultiAttributeSet; + class MultiAttributeSet$MultiNameEnumeration; + } + } + } + } +} + +class javax::swing::text::html::MultiAttributeSet$MultiNameEnumeration : public ::java::lang::Object +{ + +public: // actually package-private + MultiAttributeSet$MultiNameEnumeration(::javax::swing::text::html::MultiAttributeSet *); +public: + virtual jboolean hasMoreElements(); + virtual ::java::lang::Object * nextElement(); +private: + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) index; + ::java::util::Enumeration * current; +public: // actually package-private + ::javax::swing::text::html::MultiAttributeSet * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_MultiAttributeSet$MultiNameEnumeration__ diff --git a/libjava/javax/swing/text/html/MultiAttributeSet.h b/libjava/javax/swing/text/html/MultiAttributeSet.h new file mode 100644 index 00000000000..f189e7c5528 --- /dev/null +++ b/libjava/javax/swing/text/html/MultiAttributeSet.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_MultiAttributeSet__ +#define __javax_swing_text_html_MultiAttributeSet__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + namespace html + { + class MultiAttributeSet; + } + } + } + } +} + +class javax::swing::text::html::MultiAttributeSet : public ::java::lang::Object +{ + +public: // actually package-private + MultiAttributeSet(); + MultiAttributeSet(JArray< ::javax::swing::text::AttributeSet * > *); + virtual void init(JArray< ::javax::swing::text::AttributeSet * > *); +public: + virtual jboolean containsAttribute(::java::lang::Object *, ::java::lang::Object *); + virtual jboolean containsAttributes(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * copyAttributes(); + virtual ::java::lang::Object * getAttribute(::java::lang::Object *); + virtual jint getAttributeCount(); + virtual ::java::util::Enumeration * getAttributeNames(); + virtual ::javax::swing::text::AttributeSet * getResolveParent(); + virtual jboolean isDefined(::java::lang::Object *); + virtual jboolean isEqual(::javax::swing::text::AttributeSet *); +public: // actually package-private + JArray< ::javax::swing::text::AttributeSet * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) multi; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_MultiAttributeSet__ diff --git a/libjava/javax/swing/text/html/MultiStyle.h b/libjava/javax/swing/text/html/MultiStyle.h new file mode 100644 index 00000000000..f330d5f6e47 --- /dev/null +++ b/libjava/javax/swing/text/html/MultiStyle.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_MultiStyle__ +#define __javax_swing_text_html_MultiStyle__ + +#pragma interface + +#include <javax/swing/text/html/MultiAttributeSet.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class ChangeListener; + } + namespace text + { + class AttributeSet; + class SimpleAttributeSet; + namespace html + { + class MultiStyle; + } + } + } + } +} + +class javax::swing::text::html::MultiStyle : public ::javax::swing::text::html::MultiAttributeSet +{ + +public: + MultiStyle(::java::lang::String *, JArray< ::javax::swing::text::AttributeSet * > *); + virtual ::java::lang::String * getName(); + virtual void addChangeListener(::javax::swing::event::ChangeListener *); + virtual void removeChangeListener(::javax::swing::event::ChangeListener *); + virtual void addAttribute(::java::lang::Object *, ::java::lang::Object *); + virtual void addAttributes(::javax::swing::text::AttributeSet *); + virtual void removeAttribute(::java::lang::Object *); + virtual void removeAttributes(::java::util::Enumeration *); + virtual void removeAttributes(::javax::swing::text::AttributeSet *); + virtual void setResolveParent(::javax::swing::text::AttributeSet *); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::text::html::MultiAttributeSet)))) name; + ::javax::swing::text::SimpleAttributeSet * attributes; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_MultiStyle__ diff --git a/libjava/javax/swing/text/html/NullView.h b/libjava/javax/swing/text/html/NullView.h new file mode 100644 index 00000000000..2947ee72769 --- /dev/null +++ b/libjava/javax/swing/text/html/NullView.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_NullView__ +#define __javax_swing_text_html_NullView__ + +#pragma interface + +#include <javax/swing/text/View.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Element; + class Position$Bias; + namespace html + { + class NullView; + } + } + } + } +} + +class javax::swing::text::html::NullView : public ::javax::swing::text::View +{ + +public: + NullView(::javax::swing::text::Element *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual jfloat getPreferredSpan(jint); + virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *); + virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_NullView__ diff --git a/libjava/javax/swing/text/html/ObjectView.h b/libjava/javax/swing/text/html/ObjectView.h new file mode 100644 index 00000000000..666b671aa0d --- /dev/null +++ b/libjava/javax/swing/text/html/ObjectView.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ObjectView__ +#define __javax_swing_text_html_ObjectView__ + +#pragma interface + +#include <javax/swing/text/ComponentView.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class Element; + namespace html + { + class ObjectView; + } + } + } + } +} + +class javax::swing::text::html::ObjectView : public ::javax::swing::text::ComponentView +{ + +public: + ObjectView(::javax::swing::text::Element *); +public: // actually protected + virtual ::java::awt::Component * createComponent(); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ObjectView__ diff --git a/libjava/javax/swing/text/html/Option.h b/libjava/javax/swing/text/html/Option.h new file mode 100644 index 00000000000..062c069e9bb --- /dev/null +++ b/libjava/javax/swing/text/html/Option.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_Option__ +#define __javax_swing_text_html_Option__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + namespace html + { + class Option; + } + } + } + } +} + +class javax::swing::text::html::Option : public ::java::lang::Object +{ + +public: + Option(::javax::swing::text::AttributeSet *); + virtual void setLabel(::java::lang::String *); + virtual ::java::lang::String * getLabel(); + virtual ::javax::swing::text::AttributeSet * getAttributes(); + virtual ::java::lang::String * toString(); +public: // actually protected + virtual void setSelection(jboolean); +public: + virtual jboolean isSelected(); + virtual ::java::lang::String * getValue(); +private: + ::javax::swing::text::AttributeSet * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attributes; + ::java::lang::String * label; + jboolean selected; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_Option__ diff --git a/libjava/javax/swing/text/html/ParagraphView.h b/libjava/javax/swing/text/html/ParagraphView.h new file mode 100644 index 00000000000..6e166ad877d --- /dev/null +++ b/libjava/javax/swing/text/html/ParagraphView.h @@ -0,0 +1,88 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ParagraphView__ +#define __javax_swing_text_html_ParagraphView__ + +#pragma interface + +#include <javax/swing/text/ParagraphView.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Length; + } + } + } + } + } + } + namespace java + { + namespace awt + { + class Graphics; + class Shape; + } + } + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace text + { + class AttributeSet; + class Element; + class View; + namespace html + { + class ParagraphView; + class StyleSheet; + class StyleSheet$BoxPainter; + } + } + } + } +} + +class javax::swing::text::html::ParagraphView : public ::javax::swing::text::ParagraphView +{ + +public: + ParagraphView(::javax::swing::text::Element *); + virtual void setParent(::javax::swing::text::View *); + virtual ::javax::swing::text::AttributeSet * getAttributes(); +public: // actually protected + virtual void setPropertiesFromAttributes(); + virtual ::javax::swing::text::html::StyleSheet * getStyleSheet(); + virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *); +private: + jboolean setCSSSpan(::javax::swing::SizeRequirements *, jint); +public: + virtual jboolean isVisible(); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); + virtual jfloat getPreferredSpan(jint); + virtual jfloat getMinimumSpan(jint); + virtual jfloat getMaximumSpan(jint); +private: + ::javax::swing::text::AttributeSet * __attribute__((aligned(__alignof__( ::javax::swing::text::ParagraphView)))) attributes; + ::javax::swing::text::html::StyleSheet$BoxPainter * painter; + ::gnu::javax::swing::text::html::css::Length * cssWidth; + ::gnu::javax::swing::text::html::css::Length * cssHeight; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ParagraphView__ diff --git a/libjava/javax/swing/text/html/ResetableModel.h b/libjava/javax/swing/text/html/ResetableModel.h new file mode 100644 index 00000000000..f07a0ed9aa2 --- /dev/null +++ b/libjava/javax/swing/text/html/ResetableModel.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ResetableModel__ +#define __javax_swing_text_html_ResetableModel__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class ResetableModel; + } + } + } + } +} + +class javax::swing::text::html::ResetableModel : public ::java::lang::Object +{ + +public: + virtual void reset() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_html_ResetableModel__ diff --git a/libjava/javax/swing/text/html/ResetablePlainDocument.h b/libjava/javax/swing/text/html/ResetablePlainDocument.h new file mode 100644 index 00000000000..31283e50bfb --- /dev/null +++ b/libjava/javax/swing/text/html/ResetablePlainDocument.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ResetablePlainDocument__ +#define __javax_swing_text_html_ResetablePlainDocument__ + +#pragma interface + +#include <javax/swing/text/PlainDocument.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class ResetablePlainDocument; + } + } + } + } +} + +class javax::swing::text::html::ResetablePlainDocument : public ::javax::swing::text::PlainDocument +{ + +public: // actually package-private + ResetablePlainDocument(); + virtual void setInitialText(::java::lang::String *); +public: + virtual void reset(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::text::PlainDocument)))) initial; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ResetablePlainDocument__ diff --git a/libjava/javax/swing/text/html/ResetableToggleButtonModel.h b/libjava/javax/swing/text/html/ResetableToggleButtonModel.h new file mode 100644 index 00000000000..13295225b78 --- /dev/null +++ b/libjava/javax/swing/text/html/ResetableToggleButtonModel.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ResetableToggleButtonModel__ +#define __javax_swing_text_html_ResetableToggleButtonModel__ + +#pragma interface + +#include <javax/swing/JToggleButton$ToggleButtonModel.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class ResetableToggleButtonModel; + } + } + } + } +} + +class javax::swing::text::html::ResetableToggleButtonModel : public ::javax::swing::JToggleButton$ToggleButtonModel +{ + +public: // actually package-private + ResetableToggleButtonModel(); +public: + virtual void setInitial(jboolean); + virtual void reset(); +private: + jboolean __attribute__((aligned(__alignof__( ::javax::swing::JToggleButton$ToggleButtonModel)))) initial; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ResetableToggleButtonModel__ diff --git a/libjava/javax/swing/text/html/SelectComboBoxModel.h b/libjava/javax/swing/text/html/SelectComboBoxModel.h new file mode 100644 index 00000000000..e9ae5c6fe0f --- /dev/null +++ b/libjava/javax/swing/text/html/SelectComboBoxModel.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_SelectComboBoxModel__ +#define __javax_swing_text_html_SelectComboBoxModel__ + +#pragma interface + +#include <javax/swing/DefaultComboBoxModel.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class Option; + class SelectComboBoxModel; + } + } + } + } +} + +class javax::swing::text::html::SelectComboBoxModel : public ::javax::swing::DefaultComboBoxModel +{ + +public: // actually package-private + SelectComboBoxModel(); + virtual void setInitialSelection(::javax::swing::text::html::Option *); + virtual ::javax::swing::text::html::Option * getInitialSelection(); +public: + virtual void reset(); +private: + ::javax::swing::text::html::Option * __attribute__((aligned(__alignof__( ::javax::swing::DefaultComboBoxModel)))) initial; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_SelectComboBoxModel__ diff --git a/libjava/javax/swing/text/html/SelectListModel.h b/libjava/javax/swing/text/html/SelectListModel.h new file mode 100644 index 00000000000..85ce6c3d429 --- /dev/null +++ b/libjava/javax/swing/text/html/SelectListModel.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_SelectListModel__ +#define __javax_swing_text_html_SelectListModel__ + +#pragma interface + +#include <javax/swing/DefaultListModel.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class DefaultListSelectionModel; + class ListSelectionModel; + namespace text + { + namespace html + { + class SelectListModel; + } + } + } + } +} + +class javax::swing::text::html::SelectListModel : public ::javax::swing::DefaultListModel +{ + +public: // actually package-private + SelectListModel(); + virtual void addInitialSelection(jint); +public: + virtual void reset(); +public: // actually package-private + virtual ::javax::swing::ListSelectionModel * getSelectionModel(); +private: + ::javax::swing::DefaultListSelectionModel * __attribute__((aligned(__alignof__( ::javax::swing::DefaultListModel)))) selectionModel; + ::java::util::BitSet * initialSelection; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_SelectListModel__ diff --git a/libjava/javax/swing/text/html/StyleSheet$BoxPainter.h b/libjava/javax/swing/text/html/StyleSheet$BoxPainter.h new file mode 100644 index 00000000000..739686890a9 --- /dev/null +++ b/libjava/javax/swing/text/html/StyleSheet$BoxPainter.h @@ -0,0 +1,65 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_StyleSheet$BoxPainter__ +#define __javax_swing_text_html_StyleSheet$BoxPainter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Graphics; + } + } + namespace javax + { + namespace swing + { + namespace border + { + class Border; + } + namespace text + { + class AttributeSet; + class View; + namespace html + { + class StyleSheet; + class StyleSheet$BoxPainter; + } + } + } + } +} + +class javax::swing::text::html::StyleSheet$BoxPainter : public ::java::lang::Object +{ + +public: // actually package-private + StyleSheet$BoxPainter(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::StyleSheet *); +public: + virtual jfloat getInset(jint, ::javax::swing::text::View *); + virtual void paint(::java::awt::Graphics *, jfloat, jfloat, jfloat, jfloat, ::javax::swing::text::View *); +private: + jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) leftInset; + jfloat rightInset; + jfloat topInset; + jfloat bottomInset; + ::javax::swing::border::Border * border; + jfloat leftPadding; + jfloat rightPadding; + jfloat topPadding; + jfloat bottomPadding; + ::java::awt::Color * background; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_StyleSheet$BoxPainter__ diff --git a/libjava/javax/swing/text/html/StyleSheet$CSSStyle.h b/libjava/javax/swing/text/html/StyleSheet$CSSStyle.h new file mode 100644 index 00000000000..51353b86cf1 --- /dev/null +++ b/libjava/javax/swing/text/html/StyleSheet$CSSStyle.h @@ -0,0 +1,76 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_StyleSheet$CSSStyle__ +#define __javax_swing_text_html_StyleSheet$CSSStyle__ + +#pragma interface + +#include <javax/swing/text/SimpleAttributeSet.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Selector; + } + } + } + } + } + } + namespace javax + { + namespace swing + { + namespace event + { + class ChangeListener; + } + namespace text + { + namespace html + { + class StyleSheet; + class StyleSheet$CSSStyle; + } + } + } + } +} + +class javax::swing::text::html::StyleSheet$CSSStyle : public ::javax::swing::text::SimpleAttributeSet +{ + +public: // actually package-private + StyleSheet$CSSStyle(::javax::swing::text::html::StyleSheet *, jint, ::gnu::javax::swing::text::html::css::Selector *); +public: + virtual ::java::lang::String * getName(); + virtual void addChangeListener(::javax::swing::event::ChangeListener *); + virtual void removeChangeListener(::javax::swing::event::ChangeListener *); + virtual jint compareTo(::java::lang::Object *); +public: // actually package-private + static const jint PREC_UA = 0; + static const jint PREC_NORM = 100000; + static const jint PREC_AUTHOR_NORMAL = 200000; + static const jint PREC_AUTHOR_IMPORTANT = 300000; + static const jint PREC_USER_IMPORTANT = 400000; +private: + jint __attribute__((aligned(__alignof__( ::javax::swing::text::SimpleAttributeSet)))) precedence; +public: // actually package-private + ::gnu::javax::swing::text::html::css::Selector * selector; + ::javax::swing::text::html::StyleSheet * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_StyleSheet$CSSStyle__ diff --git a/libjava/javax/swing/text/html/StyleSheet$CSSStyleSheetParserCallback.h b/libjava/javax/swing/text/html/StyleSheet$CSSStyleSheetParserCallback.h new file mode 100644 index 00000000000..43c5813788c --- /dev/null +++ b/libjava/javax/swing/text/html/StyleSheet$CSSStyleSheetParserCallback.h @@ -0,0 +1,68 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_StyleSheet$CSSStyleSheetParserCallback__ +#define __javax_swing_text_html_StyleSheet$CSSStyleSheetParserCallback__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Selector; + } + } + } + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class StyleSheet; + class StyleSheet$CSSStyle; + class StyleSheet$CSSStyleSheetParserCallback; + } + } + } + } +} + +class javax::swing::text::html::StyleSheet$CSSStyleSheetParserCallback : public ::java::lang::Object +{ + +public: // actually package-private + StyleSheet$CSSStyleSheetParserCallback(::javax::swing::text::html::StyleSheet *, jint); +public: + virtual void startStatement(JArray< ::gnu::javax::swing::text::html::css::Selector * > *); + virtual void endStatement(); + virtual void declaration(::java::lang::String *, ::java::lang::String *); +private: + JArray< ::javax::swing::text::html::StyleSheet$CSSStyle * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) styles; + jint precedence; +public: // actually package-private + ::javax::swing::text::html::StyleSheet * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_StyleSheet$CSSStyleSheetParserCallback__ diff --git a/libjava/javax/swing/text/html/StyleSheet$CssParser.h b/libjava/javax/swing/text/html/StyleSheet$CssParser.h new file mode 100644 index 00000000000..5d2fded39da --- /dev/null +++ b/libjava/javax/swing/text/html/StyleSheet$CssParser.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_StyleSheet$CssParser__ +#define __javax_swing_text_html_StyleSheet$CssParser__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class MutableAttributeSet; + namespace html + { + class CSSParser; + class StyleSheet; + class StyleSheet$CssParser; + } + } + } + } +} + +class javax::swing::text::html::StyleSheet$CssParser : public ::java::lang::Object +{ + +public: // actually package-private + StyleSheet$CssParser(::javax::swing::text::html::StyleSheet *); +public: + virtual ::javax::swing::text::AttributeSet * parseDeclaration(::java::lang::String *); + virtual ::javax::swing::text::AttributeSet * parseDeclaration(::java::io::Reader *); + virtual void parse(::java::net::URL *, ::java::io::Reader *, jboolean, jboolean); + virtual void handleImport(::java::lang::String *); + virtual void handleSelector(::java::lang::String *); + virtual void startRule(); + virtual void handleProperty(::java::lang::String *); + virtual void handleValue(::java::lang::String *); + virtual void endRule(); +private: + void addSelector(); +public: // actually package-private + ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) selectors; + ::java::util::Vector * selectorTokens; + ::java::lang::String * propertyName; + ::javax::swing::text::MutableAttributeSet * declaration; + jboolean parsingDeclaration; + jboolean isLink; + ::java::net::URL * base; + ::javax::swing::text::html::CSSParser * parser; + ::javax::swing::text::html::StyleSheet * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_StyleSheet$CssParser__ diff --git a/libjava/javax/swing/text/html/StyleSheet$ListPainter.h b/libjava/javax/swing/text/html/StyleSheet$ListPainter.h new file mode 100644 index 00000000000..d910fc0d3e6 --- /dev/null +++ b/libjava/javax/swing/text/html/StyleSheet$ListPainter.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_StyleSheet$ListPainter__ +#define __javax_swing_text_html_StyleSheet$ListPainter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class View; + namespace html + { + class StyleSheet; + class StyleSheet$ListPainter; + } + } + } + } +} + +class javax::swing::text::html::StyleSheet$ListPainter : public ::java::lang::Object +{ + +public: // actually package-private + StyleSheet$ListPainter(::javax::swing::text::AttributeSet *, ::javax::swing::text::html::StyleSheet *); +public: + virtual void paint(::java::awt::Graphics *, jfloat, jfloat, jfloat, jfloat, ::javax::swing::text::View *, jint); +private: + ::javax::swing::text::AttributeSet * __attribute__((aligned(__alignof__( ::java::lang::Object)))) attributes; + ::javax::swing::text::html::StyleSheet * styleSheet; + ::java::lang::String * type; + ::java::awt::Rectangle * tmpRect; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_StyleSheet$ListPainter__ diff --git a/libjava/javax/swing/text/html/StyleSheet.h b/libjava/javax/swing/text/html/StyleSheet.h new file mode 100644 index 00000000000..3c9bbffdb19 --- /dev/null +++ b/libjava/javax/swing/text/html/StyleSheet.h @@ -0,0 +1,121 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_StyleSheet__ +#define __javax_swing_text_html_StyleSheet__ + +#pragma interface + +#include <javax/swing/text/StyleContext.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Font; + } + namespace net + { + class URL; + } + } + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class Element; + class MutableAttributeSet; + class Style; + class StyleContext$SmallAttributeSet; + class View; + namespace html + { + class CSS$Attribute; + class HTML$Tag; + class StyleSheet; + class StyleSheet$BoxPainter; + class StyleSheet$ListPainter; + } + } + } + } +} + +class javax::swing::text::html::StyleSheet : public ::javax::swing::text::StyleContext +{ + +public: + StyleSheet(); + virtual ::javax::swing::text::Style * getRule(::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::Element *); +private: + ::javax::swing::text::Style * getResolvedStyle(::java::lang::String *, ::java::util::List *, ::javax::swing::text::html::HTML$Tag *); + ::javax::swing::text::Style * resolveStyle(::java::lang::String *, ::java::util::List *, ::javax::swing::text::html::HTML$Tag *); + ::javax::swing::text::Style * resolveStyle(::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::util::Map * > *); +public: + virtual ::javax::swing::text::Style * getRule(::java::lang::String *); + virtual void addRule(::java::lang::String *); + virtual ::javax::swing::text::AttributeSet * getDeclaration(::java::lang::String *); + virtual void loadRules(::java::io::Reader *, ::java::net::URL *); + virtual ::javax::swing::text::AttributeSet * getViewAttributes(::javax::swing::text::View *); + virtual void removeStyle(::java::lang::String *); + virtual void addStyleSheet(::javax::swing::text::html::StyleSheet *); + virtual void removeStyleSheet(::javax::swing::text::html::StyleSheet *); + virtual JArray< ::javax::swing::text::html::StyleSheet * > * getStyleSheets(); + virtual void importStyleSheet(::java::net::URL *); + virtual void setBase(::java::net::URL *); + virtual ::java::net::URL * getBase(); + virtual void addCSSAttribute(::javax::swing::text::MutableAttributeSet *, ::javax::swing::text::html::CSS$Attribute *, ::java::lang::String *); + virtual jboolean addCSSAttributeFromHTML(::javax::swing::text::MutableAttributeSet *, ::javax::swing::text::html::CSS$Attribute *, ::java::lang::String *); + virtual ::javax::swing::text::AttributeSet * translateHTMLToCSS(::javax::swing::text::AttributeSet *); +private: + ::javax::swing::text::AttributeSet * translateBorder(::javax::swing::text::AttributeSet *, ::java::lang::Object *); +public: + virtual ::javax::swing::text::AttributeSet * addAttribute(::javax::swing::text::AttributeSet *, ::java::lang::Object *, ::java::lang::Object *); + virtual ::javax::swing::text::AttributeSet * addAttributes(::javax::swing::text::AttributeSet *, ::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * removeAttribute(::javax::swing::text::AttributeSet *, ::java::lang::Object *); + virtual ::javax::swing::text::AttributeSet * removeAttributes(::javax::swing::text::AttributeSet *, ::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::AttributeSet * removeAttributes(::javax::swing::text::AttributeSet *, ::java::util::Enumeration *); +public: // actually protected + virtual ::javax::swing::text::StyleContext$SmallAttributeSet * createSmallAttributeSet(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::MutableAttributeSet * createLargeAttributeSet(::javax::swing::text::AttributeSet *); +public: + virtual ::java::awt::Font * getFont(::javax::swing::text::AttributeSet *); +public: // actually package-private + virtual jfloat getEMBase(::javax::swing::text::AttributeSet *); + virtual jfloat getEXBase(::javax::swing::text::AttributeSet *); +private: + jint getFontSize(::javax::swing::text::AttributeSet *); +public: + virtual ::java::awt::Color * getForeground(::javax::swing::text::AttributeSet *); + virtual ::java::awt::Color * getBackground(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::html::StyleSheet$BoxPainter * getBoxPainter(::javax::swing::text::AttributeSet *); + virtual ::javax::swing::text::html::StyleSheet$ListPainter * getListPainter(::javax::swing::text::AttributeSet *); + virtual void setBaseFontSize(jint); + virtual void setBaseFontSize(::java::lang::String *); + static jint getIndexOfSize(jfloat); + virtual jfloat getPointSize(jint); + virtual jfloat getPointSize(::java::lang::String *); + virtual ::java::awt::Color * stringToColor(::java::lang::String *); +private: + ::java::util::Map * attributeSetToMap(::javax::swing::text::AttributeSet *); +public: // actually package-private + ::java::net::URL * __attribute__((aligned(__alignof__( ::javax::swing::text::StyleContext)))) base; + jint baseFontSize; +private: + ::java::util::ArrayList * linked; +public: // actually package-private + ::java::util::ArrayList * css; +private: + ::java::util::HashMap * resolvedStyles; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_StyleSheet__ diff --git a/libjava/javax/swing/text/html/TableView$CellView.h b/libjava/javax/swing/text/html/TableView$CellView.h new file mode 100644 index 00000000000..c878fa60a00 --- /dev/null +++ b/libjava/javax/swing/text/html/TableView$CellView.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_TableView$CellView__ +#define __javax_swing_text_html_TableView$CellView__ + +#pragma interface + +#include <javax/swing/text/html/BlockView.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace text + { + class Element; + namespace html + { + class TableView; + class TableView$CellView; + } + } + } + } +} + +class javax::swing::text::html::TableView$CellView : public ::javax::swing::text::html::BlockView +{ + +public: // actually package-private + TableView$CellView(::javax::swing::text::html::TableView *, ::javax::swing::text::Element *); +public: // actually protected + virtual ::javax::swing::SizeRequirements * calculateMajorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual void setPropertiesFromAttributes(); +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::javax::swing::text::html::BlockView)))) colSpan; + jint rowSpan; + ::javax::swing::text::html::TableView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_TableView$CellView__ diff --git a/libjava/javax/swing/text/html/TableView$RowView.h b/libjava/javax/swing/text/html/TableView$RowView.h new file mode 100644 index 00000000000..f031898c1c1 --- /dev/null +++ b/libjava/javax/swing/text/html/TableView$RowView.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_TableView$RowView__ +#define __javax_swing_text_html_TableView$RowView__ + +#pragma interface + +#include <javax/swing/text/html/BlockView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace text + { + class Element; + class View; + namespace html + { + class TableView; + class TableView$RowView; + } + } + } + } +} + +class javax::swing::text::html::TableView$RowView : public ::javax::swing::text::html::BlockView +{ + +public: // actually package-private + TableView$RowView(::javax::swing::text::html::TableView *, ::javax::swing::text::Element *); +public: + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); + virtual jfloat getMaximumSpan(jint); + virtual jfloat getMinimumSpan(jint); + virtual jfloat getPreferredSpan(jint); +public: // actually protected + virtual ::javax::swing::SizeRequirements * calculateMajorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *); + virtual void layoutMajorAxis(jint, jint, JArray< jint > *, JArray< jint > *); +public: // actually package-private + JArray< jboolean > * __attribute__((aligned(__alignof__( ::javax::swing::text::html::BlockView)))) overlap; + jint rowIndex; + ::javax::swing::text::html::TableView * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_TableView$RowView__ diff --git a/libjava/javax/swing/text/html/TableView.h b/libjava/javax/swing/text/html/TableView.h new file mode 100644 index 00000000000..b271a4e48ac --- /dev/null +++ b/libjava/javax/swing/text/html/TableView.h @@ -0,0 +1,119 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_TableView__ +#define __javax_swing_text_html_TableView__ + +#pragma interface + +#include <javax/swing/text/html/BlockView.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Length; + } + } + } + } + } + } + namespace java + { + namespace awt + { + class Graphics; + class Rectangle; + class Shape; + } + } + namespace javax + { + namespace swing + { + class SizeRequirements; + namespace event + { + class DocumentEvent; + } + namespace text + { + class AttributeSet; + class Element; + class View; + class ViewFactory; + namespace html + { + class StyleSheet; + class TableView; + } + } + } + } +} + +class javax::swing::text::html::TableView : public ::javax::swing::text::html::BlockView +{ + +public: + TableView(::javax::swing::text::Element *); + virtual ::javax::swing::text::View * create(::javax::swing::text::Element *); + virtual ::javax::swing::text::ViewFactory * getViewFactory(); + virtual ::javax::swing::text::AttributeSet * getAttributes(); +public: // actually protected + virtual ::javax::swing::text::html::StyleSheet * getStyleSheet(); + virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *); +private: + void calculateColumnRequirements(); + void layoutColumns(jint); +public: // actually package-private + virtual void updateGrid(); +public: + virtual jfloat getMaximumSpan(jint); + virtual void setParent(::javax::swing::text::View *); +public: // actually protected + virtual void setPropertiesFromAttributes(); + virtual ::javax::swing::SizeRequirements * calculateMajorAxisRequirements(jint, ::javax::swing::SizeRequirements *); + virtual void layoutMajorAxis(jint, jint, JArray< jint > *, JArray< jint > *); +public: + virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *); + virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *); + virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *); +public: // actually package-private + static jint access$0(::javax::swing::text::html::TableView *, jint, jint); +private: + ::javax::swing::text::AttributeSet * __attribute__((aligned(__alignof__( ::javax::swing::text::html::BlockView)))) attributes; +public: // actually package-private + JArray< ::javax::swing::SizeRequirements * > * columnRequirements; + ::javax::swing::SizeRequirements * totalColumnRequirements; + JArray< jint > * columnOffsets; + JArray< jint > * columnSpans; + JArray< ::gnu::javax::swing::text::html::css::Length * > * columnWidths; + jint numColumns; +private: + ::gnu::javax::swing::text::html::css::Length * width; +public: // actually package-private + jboolean gridValid; + jint cellSpacing; +private: + ::java::awt::Rectangle * tmpRect; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_TableView__ diff --git a/libjava/javax/swing/text/html/ViewAttributeSet.h b/libjava/javax/swing/text/html/ViewAttributeSet.h new file mode 100644 index 00000000000..be6ecdcba2a --- /dev/null +++ b/libjava/javax/swing/text/html/ViewAttributeSet.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_ViewAttributeSet__ +#define __javax_swing_text_html_ViewAttributeSet__ + +#pragma interface + +#include <javax/swing/text/html/MultiAttributeSet.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class AttributeSet; + class View; + namespace html + { + class StyleSheet; + class ViewAttributeSet; + } + } + } + } +} + +class javax::swing::text::html::ViewAttributeSet : public ::javax::swing::text::html::MultiAttributeSet +{ + +public: // actually package-private + ViewAttributeSet(::javax::swing::text::View *, ::javax::swing::text::html::StyleSheet *); +public: + virtual ::java::lang::Object * getAttribute(::java::lang::Object *); + virtual ::javax::swing::text::AttributeSet * getResolveParent(); +private: + ::javax::swing::text::View * __attribute__((aligned(__alignof__( ::javax::swing::text::html::MultiAttributeSet)))) view; + ::javax::swing::text::html::StyleSheet * styleSheet; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_ViewAttributeSet__ diff --git a/libjava/javax/swing/text/html/parser/AttributeList$1.h b/libjava/javax/swing/text/html/parser/AttributeList$1.h new file mode 100644 index 00000000000..7c1937b48f7 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/AttributeList$1.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_AttributeList$1__ +#define __javax_swing_text_html_parser_AttributeList$1__ + +#pragma interface + +#include <gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class AttributeList$1; + } + } + } + } + } +} + +class javax::swing::text::html::parser::AttributeList$1 : public ::gnu::javax::swing::text::html::parser::support::gnuStringIntMapper +{ + +public: // actually package-private + AttributeList$1(); +public: // actually protected + void create(); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_AttributeList$1__ diff --git a/libjava/javax/swing/text/html/parser/AttributeList.h b/libjava/javax/swing/text/html/parser/AttributeList.h new file mode 100644 index 00000000000..b7fb6475f2e --- /dev/null +++ b/libjava/javax/swing/text/html/parser/AttributeList.h @@ -0,0 +1,80 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_AttributeList__ +#define __javax_swing_text_html_parser_AttributeList__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + namespace support + { + class gnuStringIntMapper; + } + } + } + } + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class AttributeList; + } + } + } + } + } +} + +class javax::swing::text::html::parser::AttributeList : public ::java::lang::Object +{ + +public: + AttributeList(::java::lang::String *); + AttributeList(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::util::Vector *, ::javax::swing::text::html::parser::AttributeList *); + jint getModifier(); + ::java::lang::String * getName(); + ::javax::swing::text::html::parser::AttributeList * getNext(); + jint getType(); + ::java::lang::String * getValue(); + ::java::util::Enumeration * getValues(); + static jint name2type(::java::lang::String *); + ::java::lang::String * toString(); + static ::java::lang::String * type2name(jint); +private: + static ::gnu::javax::swing::text::html::parser::support::gnuStringIntMapper * mapper; + static const jlong serialVersionUID = -1361214058742015233LL; +public: + ::javax::swing::text::html::parser::AttributeList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) next; + ::java::lang::String * name; + ::java::lang::String * value; + ::java::util::Vector * values; + jint modifier; + jint type; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_AttributeList__ diff --git a/libjava/javax/swing/text/html/parser/ContentModel.h b/libjava/javax/swing/text/html/parser/ContentModel.h new file mode 100644 index 00000000000..45f3b20b2c6 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/ContentModel.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_ContentModel__ +#define __javax_swing_text_html_parser_ContentModel__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class ContentModel; + class Element; + } + } + } + } + } +} + +class javax::swing::text::html::parser::ContentModel : public ::java::lang::Object +{ + +public: + ContentModel(); + ContentModel(::javax::swing::text::html::parser::Element *); + ContentModel(jint, ::javax::swing::text::html::parser::ContentModel *); + ContentModel(jint, ::java::lang::Object *, ::javax::swing::text::html::parser::ContentModel *); + void getElements(::java::util::Vector *); + jboolean empty(); + ::javax::swing::text::html::parser::Element * first(); + jboolean first(::java::lang::Object *); + ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = -1130825523866321257LL; +public: + ::javax::swing::text::html::parser::ContentModel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) next; + ::java::lang::Object * content; + jint type; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_ContentModel__ diff --git a/libjava/javax/swing/text/html/parser/DTD.h b/libjava/javax/swing/text/html/parser/DTD.h new file mode 100644 index 00000000000..f9933273e07 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/DTD.h @@ -0,0 +1,89 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_DTD__ +#define __javax_swing_text_html_parser_DTD__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class AttributeList; + class ContentModel; + class DTD; + class Element; + class Entity; + } + } + } + } + } +} + +class javax::swing::text::html::parser::DTD : public ::java::lang::Object +{ + +public: // actually protected + DTD(::java::lang::String *); +public: + static ::javax::swing::text::html::parser::DTD * getDTD(::java::lang::String *); + virtual ::javax::swing::text::html::parser::Element * getElement(::java::lang::String *); + virtual ::javax::swing::text::html::parser::Element * getElement(jint); + virtual ::javax::swing::text::html::parser::Entity * getEntity(jint); + virtual ::javax::swing::text::html::parser::Entity * getEntity(::java::lang::String *); + virtual ::java::lang::String * getName(); + virtual ::javax::swing::text::html::parser::Entity * defEntity(::java::lang::String *, jint, jint); + virtual void defineAttributes(::java::lang::String *, ::javax::swing::text::html::parser::AttributeList *); + virtual ::javax::swing::text::html::parser::Element * defineElement(::java::lang::String *, jint, jboolean, jboolean, ::javax::swing::text::html::parser::ContentModel *, ::java::util::BitSet *, ::java::util::BitSet *, ::javax::swing::text::html::parser::AttributeList *); + virtual ::javax::swing::text::html::parser::Entity * defineEntity(::java::lang::String *, jint, JArray< jchar > *); + static void putDTDHash(::java::lang::String *, ::javax::swing::text::html::parser::DTD *); + virtual void read(::java::io::DataInputStream *); + virtual ::java::lang::String * toString(); +public: // actually protected + virtual ::javax::swing::text::html::parser::AttributeList * defAttributeList(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::lang::String *, ::javax::swing::text::html::parser::AttributeList *); + virtual ::javax::swing::text::html::parser::ContentModel * defContentModel(jint, ::java::lang::Object *, ::javax::swing::text::html::parser::ContentModel *); + virtual ::javax::swing::text::html::parser::Element * defElement(::java::lang::String *, jint, jboolean, jboolean, ::javax::swing::text::html::parser::ContentModel *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::javax::swing::text::html::parser::AttributeList *); + virtual ::javax::swing::text::html::parser::Entity * defEntity(::java::lang::String *, jint, ::java::lang::String *); +private: + void assignField(::javax::swing::text::html::parser::Element *); + ::java::util::BitSet * bitSet(JArray< ::java::lang::String * > *); + ::javax::swing::text::html::parser::Element * newElement(::java::lang::String *); + ::javax::swing::text::html::parser::Entity * newEntity(::java::lang::String *, jint); + void unexpected(::java::lang::Exception *); +public: + static const jint FILE_VERSION = 1; +public: // actually package-private + static ::java::util::Hashtable * dtdHash; +public: + ::javax::swing::text::html::parser::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) applet; + ::javax::swing::text::html::parser::Element * base; + ::javax::swing::text::html::parser::Element * body; + ::javax::swing::text::html::parser::Element * head; + ::javax::swing::text::html::parser::Element * html; + ::javax::swing::text::html::parser::Element * isindex; + ::javax::swing::text::html::parser::Element * meta; + ::javax::swing::text::html::parser::Element * p; + ::javax::swing::text::html::parser::Element * param; + ::javax::swing::text::html::parser::Element * pcdata; + ::javax::swing::text::html::parser::Element * title; + ::java::util::Hashtable * elementHash; + ::java::util::Hashtable * entityHash; + ::java::lang::String * name; + ::java::util::Vector * elements; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_DTD__ diff --git a/libjava/javax/swing/text/html/parser/DTDConstants.h b/libjava/javax/swing/text/html/parser/DTDConstants.h new file mode 100644 index 00000000000..7fe66c6de36 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/DTDConstants.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_DTDConstants__ +#define __javax_swing_text_html_parser_DTDConstants__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class DTDConstants; + } + } + } + } + } +} + +class javax::swing::text::html::parser::DTDConstants : public ::java::lang::Object +{ + +public: + static const jint CDATA = 1; + static const jint EMPTY = 17; + static const jint ID = 4; + static const jint IDREF = 5; + static const jint IDREFS = 6; + static const jint NAME = 7; + static const jint NAMES = 8; + static const jint NMTOKEN = 9; + static const jint NMTOKENS = 10; + static const jint NOTATION = 11; + static const jint NUMBER = 12; + static const jint NUMBERS = 13; + static const jint NUTOKEN = 14; + static const jint NUTOKENS = 15; + static const jint PUBLIC = 10; + static const jint SYSTEM = 17; + static const jint PARAMETER = 262144; + static const jint GENERAL = 65536; + static const jint REQUIRED = 2; + static const jint FIXED = 1; + static const jint IMPLIED = 5; + static const jint CURRENT = 3; + static const jint CONREF = 4; + static const jint STARTTAG = 13; + static const jint ENDTAG = 14; + static const jint ANY = 19; + static const jint DEFAULT = 131072; + static const jint ENTITIES = 3; + static const jint ENTITY = 2; + static const jint MD = 16; + static const jint MODEL = 18; + static const jint MS = 15; + static const jint PI = 12; + static const jint RCDATA = 16; + static const jint SDATA = 11; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_text_html_parser_DTDConstants__ diff --git a/libjava/javax/swing/text/html/parser/DocumentParser$gnuParser.h b/libjava/javax/swing/text/html/parser/DocumentParser$gnuParser.h new file mode 100644 index 00000000000..cba941dcfe7 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/DocumentParser$gnuParser.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_DocumentParser$gnuParser__ +#define __javax_swing_text_html_parser_DocumentParser$gnuParser__ + +#pragma interface + +#include <gnu/javax/swing/text/html/parser/support/Parser.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class DTD; + class DocumentParser; + class DocumentParser$gnuParser; + class TagElement; + } + } + } + } + } +} + +class javax::swing::text::html::parser::DocumentParser$gnuParser : public ::gnu::javax::swing::text::html::parser::support::Parser +{ + + DocumentParser$gnuParser(::javax::swing::text::html::parser::DocumentParser *, ::javax::swing::text::html::parser::DTD *); +public: // actually protected + virtual void handleComment(JArray< jchar > *); + virtual void handleEmptyTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleEndTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleError(jint, ::java::lang::String *); + virtual void handleStartTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleText(JArray< jchar > *); +public: // actually package-private + virtual ::javax::swing::text::html::parser::DTD * getDTD(); + DocumentParser$gnuParser(::javax::swing::text::html::parser::DocumentParser *, ::javax::swing::text::html::parser::DTD *, ::javax::swing::text::html::parser::DocumentParser$gnuParser *); + ::javax::swing::text::html::parser::DocumentParser * __attribute__((aligned(__alignof__( ::gnu::javax::swing::text::html::parser::support::Parser)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_DocumentParser$gnuParser__ diff --git a/libjava/javax/swing/text/html/parser/DocumentParser.h b/libjava/javax/swing/text/html/parser/DocumentParser.h new file mode 100644 index 00000000000..d07191d19e5 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/DocumentParser.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_DocumentParser__ +#define __javax_swing_text_html_parser_DocumentParser__ + +#pragma interface + +#include <javax/swing/text/html/parser/Parser.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class HTMLEditorKit$ParserCallback; + namespace parser + { + class DTD; + class DocumentParser; + class DocumentParser$gnuParser; + class TagElement; + } + } + } + } + } +} + +class javax::swing::text::html::parser::DocumentParser : public ::javax::swing::text::html::parser::Parser +{ + +public: + DocumentParser(::javax::swing::text::html::parser::DTD *); + virtual void parse(::java::io::Reader *, ::javax::swing::text::html::HTMLEditorKit$ParserCallback *, jboolean); +public: // actually protected + virtual void handleComment(JArray< jchar > *); + virtual void handleEmptyTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleEndTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleError(jint, ::java::lang::String *); + virtual void handleStartTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleText(JArray< jchar > *); +public: // actually package-private + ::javax::swing::text::html::parser::DocumentParser * __attribute__((aligned(__alignof__( ::javax::swing::text::html::parser::Parser)))) parser; + ::javax::swing::text::html::HTMLEditorKit$ParserCallback * callBack; + ::javax::swing::text::html::parser::DocumentParser$gnuParser * gnu; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_DocumentParser__ diff --git a/libjava/javax/swing/text/html/parser/Element$1.h b/libjava/javax/swing/text/html/parser/Element$1.h new file mode 100644 index 00000000000..2afab6c234c --- /dev/null +++ b/libjava/javax/swing/text/html/parser/Element$1.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_Element$1__ +#define __javax_swing_text_html_parser_Element$1__ + +#pragma interface + +#include <gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class Element$1; + } + } + } + } + } +} + +class javax::swing::text::html::parser::Element$1 : public ::gnu::javax::swing::text::html::parser::support::gnuStringIntMapper +{ + +public: // actually package-private + Element$1(); +public: // actually protected + void create(); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_Element$1__ diff --git a/libjava/javax/swing/text/html/parser/Element.h b/libjava/javax/swing/text/html/parser/Element.h new file mode 100644 index 00000000000..08bc75c7a19 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/Element.h @@ -0,0 +1,90 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_Element__ +#define __javax_swing_text_html_parser_Element__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + namespace support + { + class gnuStringIntMapper; + } + } + } + } + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class AttributeList; + class ContentModel; + class Element; + } + } + } + } + } +} + +class javax::swing::text::html::parser::Element : public ::java::lang::Object +{ + +public: // actually package-private + Element(); +public: + static jint name2type(::java::lang::String *); + ::javax::swing::text::html::parser::AttributeList * getAttribute(::java::lang::String *); + ::javax::swing::text::html::parser::AttributeList * getAttributeByValue(::java::lang::String *); + ::javax::swing::text::html::parser::AttributeList * getAttributes(); + ::javax::swing::text::html::parser::ContentModel * getContent(); + jboolean isEmpty(); + jint getIndex(); + ::java::lang::String * getName(); + jint getType(); + jboolean omitEnd(); + jboolean omitStart(); + ::java::lang::String * toString(); +public: // actually package-private + static ::gnu::javax::swing::text::html::parser::support::gnuStringIntMapper * mapper; +private: + static const jlong serialVersionUID = -6717939384601675586LL; +public: + ::javax::swing::text::html::parser::AttributeList * __attribute__((aligned(__alignof__( ::java::lang::Object)))) atts; + ::java::util::BitSet * exclusions; + ::java::util::BitSet * inclusions; + ::javax::swing::text::html::parser::ContentModel * content; + ::java::lang::Object * data; + ::java::lang::String * name; + jboolean oEnd; + jboolean oStart; + jint index; + jint type; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_Element__ diff --git a/libjava/javax/swing/text/html/parser/Entity$1.h b/libjava/javax/swing/text/html/parser/Entity$1.h new file mode 100644 index 00000000000..5be3083b43f --- /dev/null +++ b/libjava/javax/swing/text/html/parser/Entity$1.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_Entity$1__ +#define __javax_swing_text_html_parser_Entity$1__ + +#pragma interface + +#include <gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class Entity$1; + } + } + } + } + } +} + +class javax::swing::text::html::parser::Entity$1 : public ::gnu::javax::swing::text::html::parser::support::gnuStringIntMapper +{ + +public: // actually package-private + Entity$1(); +public: // actually protected + void create(); +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_Entity$1__ diff --git a/libjava/javax/swing/text/html/parser/Entity.h b/libjava/javax/swing/text/html/parser/Entity.h new file mode 100644 index 00000000000..2c82e3167c4 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/Entity.h @@ -0,0 +1,78 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_Entity__ +#define __javax_swing_text_html_parser_Entity__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + namespace support + { + class gnuStringIntMapper; + } + } + } + } + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class Entity; + } + } + } + } + } +} + +class javax::swing::text::html::parser::Entity : public ::java::lang::Object +{ + +public: + Entity(::java::lang::String *, jint, JArray< jchar > *); + static jint name2type(::java::lang::String *); + JArray< jchar > * getData(); + jboolean isGeneral(); + ::java::lang::String * getName(); + jboolean isParameter(); + ::java::lang::String * getString(); + jint getType(); +public: // actually package-private + static ::gnu::javax::swing::text::html::parser::support::gnuStringIntMapper * mapper; +public: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + JArray< jchar > * data; + jint type; +private: + ::java::lang::String * sdata; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_Entity__ diff --git a/libjava/javax/swing/text/html/parser/Parser$1.h b/libjava/javax/swing/text/html/parser/Parser$1.h new file mode 100644 index 00000000000..98f30521735 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/Parser$1.h @@ -0,0 +1,63 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_Parser$1__ +#define __javax_swing_text_html_parser_Parser$1__ + +#pragma interface + +#include <gnu/javax/swing/text/html/parser/support/Parser.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class DTD; + class Element; + class Parser; + class Parser$1; + class TagElement; + } + } + } + } + } +} + +class javax::swing::text::html::parser::Parser$1 : public ::gnu::javax::swing::text::html::parser::support::Parser +{ + +public: // actually package-private + Parser$1(::javax::swing::text::html::parser::Parser *, ::javax::swing::text::html::parser::DTD *, ::javax::swing::text::html::parser::Parser *); +public: // actually protected + void handleComment(JArray< jchar > *); + void handleEOFInComment(); + void handleEmptyTag(::javax::swing::text::html::parser::TagElement *); + void handleStartTag(::javax::swing::text::html::parser::TagElement *); + void handleEndTag(::javax::swing::text::html::parser::TagElement *); + void handleError(jint, ::java::lang::String *); + void handleText(JArray< jchar > *); + void handleTitle(JArray< jchar > *); + void markFirstTime(::javax::swing::text::html::parser::Element *); + void startTag(::javax::swing::text::html::parser::TagElement *); + void endTag(jboolean); + ::javax::swing::text::html::parser::TagElement * makeTag(::javax::swing::text::html::parser::Element *); + ::javax::swing::text::html::parser::TagElement * makeTag(::javax::swing::text::html::parser::Element *, jboolean); +public: // actually package-private + ::javax::swing::text::html::parser::Parser * __attribute__((aligned(__alignof__( ::gnu::javax::swing::text::html::parser::support::Parser)))) this$0; +private: + ::javax::swing::text::html::parser::Parser * val$j; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_Parser$1__ diff --git a/libjava/javax/swing/text/html/parser/Parser.h b/libjava/javax/swing/text/html/parser/Parser.h new file mode 100644 index 00000000000..5f8e0dbab4b --- /dev/null +++ b/libjava/javax/swing/text/html/parser/Parser.h @@ -0,0 +1,96 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_Parser__ +#define __javax_swing_text_html_parser_Parser__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + namespace support + { + class Parser; + } + } + } + } + } + } + } + namespace javax + { + namespace swing + { + namespace text + { + class SimpleAttributeSet; + namespace html + { + namespace parser + { + class DTD; + class Element; + class Parser; + class TagElement; + } + } + } + } + } +} + +class javax::swing::text::html::parser::Parser : public ::java::lang::Object +{ + +public: + Parser(::javax::swing::text::html::parser::DTD *); + virtual void parse(::java::io::Reader *); + virtual ::java::lang::String * parseDTDMarkup(); +public: // actually protected + virtual jboolean parseMarkupDeclarations(::java::lang::StringBuffer *); + virtual ::javax::swing::text::SimpleAttributeSet * getAttributes(); + virtual jint getCurrentLine(); + virtual jint getCurrentPos(); + virtual void endTag(jboolean); + virtual void error(::java::lang::String *); + virtual void error(::java::lang::String *, ::java::lang::String *); + virtual void error(::java::lang::String *, ::java::lang::String *, ::java::lang::String *); + virtual void error(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *); + virtual void flushAttributes(); + virtual void handleComment(JArray< jchar > *); + virtual void handleEOFInComment(); + virtual void handleEmptyTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleEndTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleError(jint, ::java::lang::String *); + virtual void handleStartTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleText(JArray< jchar > *); + virtual void handleTitle(JArray< jchar > *); + virtual ::javax::swing::text::html::parser::TagElement * makeTag(::javax::swing::text::html::parser::Element *); + virtual ::javax::swing::text::html::parser::TagElement * makeTag(::javax::swing::text::html::parser::Element *, jboolean); + virtual void markFirstTime(::javax::swing::text::html::parser::Element *); + virtual void startTag(::javax::swing::text::html::parser::TagElement *); + ::javax::swing::text::html::parser::DTD * __attribute__((aligned(__alignof__( ::java::lang::Object)))) dtd; + jboolean strict; +public: // actually package-private + ::gnu::javax::swing::text::html::parser::support::Parser * gnu; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_Parser__ diff --git a/libjava/javax/swing/text/html/parser/ParserDelegator$gnuParser.h b/libjava/javax/swing/text/html/parser/ParserDelegator$gnuParser.h new file mode 100644 index 00000000000..fec9d39c1f2 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/ParserDelegator$gnuParser.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_ParserDelegator$gnuParser__ +#define __javax_swing_text_html_parser_ParserDelegator$gnuParser__ + +#pragma interface + +#include <gnu/javax/swing/text/html/parser/support/Parser.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace parser + { + class DTD; + class ParserDelegator; + class ParserDelegator$gnuParser; + class TagElement; + } + } + } + } + } +} + +class javax::swing::text::html::parser::ParserDelegator$gnuParser : public ::gnu::javax::swing::text::html::parser::support::Parser +{ + + ParserDelegator$gnuParser(::javax::swing::text::html::parser::ParserDelegator *, ::javax::swing::text::html::parser::DTD *); +public: // actually protected + virtual void handleComment(JArray< jchar > *); + virtual void handleEmptyTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleEndTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleError(jint, ::java::lang::String *); + virtual void handleStartTag(::javax::swing::text::html::parser::TagElement *); + virtual void handleText(JArray< jchar > *); +public: // actually package-private + virtual ::javax::swing::text::html::parser::DTD * getDTD(); + ParserDelegator$gnuParser(::javax::swing::text::html::parser::ParserDelegator *, ::javax::swing::text::html::parser::DTD *, ::javax::swing::text::html::parser::ParserDelegator$gnuParser *); +private: + static const jlong serialVersionUID = 1LL; +public: // actually package-private + ::javax::swing::text::html::parser::ParserDelegator * __attribute__((aligned(__alignof__( ::gnu::javax::swing::text::html::parser::support::Parser)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_ParserDelegator$gnuParser__ diff --git a/libjava/javax/swing/text/html/parser/ParserDelegator.h b/libjava/javax/swing/text/html/parser/ParserDelegator.h new file mode 100644 index 00000000000..b2c35297b15 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/ParserDelegator.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_ParserDelegator__ +#define __javax_swing_text_html_parser_ParserDelegator__ + +#pragma interface + +#include <javax/swing/text/html/HTMLEditorKit$Parser.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class HTMLEditorKit$ParserCallback; + namespace parser + { + class DTD; + class ParserDelegator; + class ParserDelegator$gnuParser; + } + } + } + } + } +} + +class javax::swing::text::html::parser::ParserDelegator : public ::javax::swing::text::html::HTMLEditorKit$Parser +{ + +public: + ParserDelegator(); + virtual void parse(::java::io::Reader *, ::javax::swing::text::html::HTMLEditorKit$ParserCallback *, jboolean); +public: // actually protected + static void setDefaultDTD(); + static ::javax::swing::text::html::parser::DTD * createDTD(::javax::swing::text::html::parser::DTD *, ::java::lang::String *); +private: + static const jlong serialVersionUID = -1276686502624777206LL; + static ::javax::swing::text::html::parser::DTD * dtd; +public: // actually package-private + ::javax::swing::text::html::HTMLEditorKit$ParserCallback * __attribute__((aligned(__alignof__( ::javax::swing::text::html::HTMLEditorKit$Parser)))) callBack; + ::javax::swing::text::html::parser::ParserDelegator$gnuParser * gnu; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_ParserDelegator__ diff --git a/libjava/javax/swing/text/html/parser/TagElement.h b/libjava/javax/swing/text/html/parser/TagElement.h new file mode 100644 index 00000000000..b29cad472b5 --- /dev/null +++ b/libjava/javax/swing/text/html/parser/TagElement.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_html_parser_TagElement__ +#define __javax_swing_text_html_parser_TagElement__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + class HTML$Tag; + namespace parser + { + class Element; + class TagElement; + } + } + } + } + } +} + +class javax::swing::text::html::parser::TagElement : public ::java::lang::Object +{ + +public: + TagElement(::javax::swing::text::html::parser::Element *); + TagElement(::javax::swing::text::html::parser::Element *, jboolean); + virtual ::javax::swing::text::html::parser::Element * getElement(); + virtual ::javax::swing::text::html::HTML$Tag * getHTMLTag(); + virtual jboolean isPreformatted(); + virtual jboolean breaksFlow(); + virtual jboolean fictional(); + virtual ::java::lang::String * toString(); +private: + ::javax::swing::text::html::parser::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) element; + ::javax::swing::text::html::HTML$Tag * tag; + jboolean fictional__; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_html_parser_TagElement__ diff --git a/libjava/javax/swing/text/rtf/ControlWordToken.h b/libjava/javax/swing/text/rtf/ControlWordToken.h new file mode 100644 index 00000000000..aa6a352a4a7 --- /dev/null +++ b/libjava/javax/swing/text/rtf/ControlWordToken.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_rtf_ControlWordToken__ +#define __javax_swing_text_rtf_ControlWordToken__ + +#pragma interface + +#include <javax/swing/text/rtf/Token.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace rtf + { + class ControlWordToken; + } + } + } + } +} + +class javax::swing::text::rtf::ControlWordToken : public ::javax::swing::text::rtf::Token +{ + +public: + ControlWordToken(::java::lang::String *); + ControlWordToken(::java::lang::String *, jint); + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::text::rtf::Token)))) name; + jint param; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_rtf_ControlWordToken__ diff --git a/libjava/javax/swing/text/rtf/RTFEditorKit.h b/libjava/javax/swing/text/rtf/RTFEditorKit.h new file mode 100644 index 00000000000..789bec142ad --- /dev/null +++ b/libjava/javax/swing/text/rtf/RTFEditorKit.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_rtf_RTFEditorKit__ +#define __javax_swing_text_rtf_RTFEditorKit__ + +#pragma interface + +#include <javax/swing/text/StyledEditorKit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Document; + namespace rtf + { + class RTFEditorKit; + } + } + } + } +} + +class javax::swing::text::rtf::RTFEditorKit : public ::javax::swing::text::StyledEditorKit +{ + +public: + RTFEditorKit(); + virtual ::java::lang::String * getContentType(); + virtual void read(::java::io::InputStream *, ::javax::swing::text::Document *, jint); + virtual void read(::java::io::Reader *, ::javax::swing::text::Document *, jint); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_rtf_RTFEditorKit__ diff --git a/libjava/javax/swing/text/rtf/RTFParseException.h b/libjava/javax/swing/text/rtf/RTFParseException.h new file mode 100644 index 00000000000..4c5e2b81ad2 --- /dev/null +++ b/libjava/javax/swing/text/rtf/RTFParseException.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_rtf_RTFParseException__ +#define __javax_swing_text_rtf_RTFParseException__ + +#pragma interface + +#include <java/lang/RuntimeException.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace rtf + { + class RTFParseException; + } + } + } + } +} + +class javax::swing::text::rtf::RTFParseException : public ::java::lang::RuntimeException +{ + +public: + RTFParseException(); + RTFParseException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_rtf_RTFParseException__ diff --git a/libjava/javax/swing/text/rtf/RTFParser.h b/libjava/javax/swing/text/rtf/RTFParser.h new file mode 100644 index 00000000000..5de9f592080 --- /dev/null +++ b/libjava/javax/swing/text/rtf/RTFParser.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_rtf_RTFParser__ +#define __javax_swing_text_rtf_RTFParser__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + class Document; + namespace rtf + { + class RTFParser; + class RTFScanner; + } + } + } + } +} + +class javax::swing::text::rtf::RTFParser : public ::java::lang::Object +{ + + RTFParser(::javax::swing::text::Document *, jint); +public: + RTFParser(::java::io::InputStream *, ::javax::swing::text::Document *, jint); + RTFParser(::java::io::Reader *, ::javax::swing::text::Document *, jint); + virtual ::javax::swing::text::Document * getDocument(); + virtual void parse(); +private: + void parseFile(); + void parseHeader(); + void parseDocument(); + ::javax::swing::text::rtf::RTFScanner * __attribute__((aligned(__alignof__( ::java::lang::Object)))) scanner; + ::javax::swing::text::Document * doc; + jint pos; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_rtf_RTFParser__ diff --git a/libjava/javax/swing/text/rtf/RTFScanner.h b/libjava/javax/swing/text/rtf/RTFScanner.h new file mode 100644 index 00000000000..ebfd9108aa6 --- /dev/null +++ b/libjava/javax/swing/text/rtf/RTFScanner.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_rtf_RTFScanner__ +#define __javax_swing_text_rtf_RTFScanner__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace rtf + { + class RTFScanner; + class Token; + } + } + } + } +} + +class javax::swing::text::rtf::RTFScanner : public ::java::lang::Object +{ + + RTFScanner(); +public: + RTFScanner(::java::io::InputStream *); + RTFScanner(::java::io::Reader *); +private: + ::javax::swing::text::rtf::Token * readTokenImpl(); +public: // actually package-private + virtual ::javax::swing::text::rtf::Token * peekToken(); + virtual ::javax::swing::text::rtf::Token * readToken(); +private: + ::javax::swing::text::rtf::Token * readControlWord(); + ::javax::swing::text::rtf::Token * readText(); + ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) in; + ::java::lang::StringBuffer * buffer; + ::javax::swing::text::rtf::Token * lastToken; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_rtf_RTFScanner__ diff --git a/libjava/javax/swing/text/rtf/TextToken.h b/libjava/javax/swing/text/rtf/TextToken.h new file mode 100644 index 00000000000..189d22994be --- /dev/null +++ b/libjava/javax/swing/text/rtf/TextToken.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_rtf_TextToken__ +#define __javax_swing_text_rtf_TextToken__ + +#pragma interface + +#include <javax/swing/text/rtf/Token.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace rtf + { + class TextToken; + } + } + } + } +} + +class javax::swing::text::rtf::TextToken : public ::javax::swing::text::rtf::Token +{ + +public: + TextToken(::java::lang::String *); + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::swing::text::rtf::Token)))) text; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_rtf_TextToken__ diff --git a/libjava/javax/swing/text/rtf/Token.h b/libjava/javax/swing/text/rtf/Token.h new file mode 100644 index 00000000000..bd32666bff0 --- /dev/null +++ b/libjava/javax/swing/text/rtf/Token.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_text_rtf_Token__ +#define __javax_swing_text_rtf_Token__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace text + { + namespace rtf + { + class Token; + } + } + } + } +} + +class javax::swing::text::rtf::Token : public ::java::lang::Object +{ + +public: + Token(jint); + static const jint EOF = -1; + static const jint LCURLY = 1; + static const jint RCURLY = 2; + static const jint CONTROL_WORD = 3; + static const jint TEXT = 4; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_text_rtf_Token__ |