diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/undo | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/undo')
-rw-r--r-- | libjava/javax/swing/undo/AbstractUndoableEdit.h | 54 | ||||
-rw-r--r-- | libjava/javax/swing/undo/CannotRedoException.h | 32 | ||||
-rw-r--r-- | libjava/javax/swing/undo/CannotUndoException.h | 32 | ||||
-rw-r--r-- | libjava/javax/swing/undo/CompoundEdit.h | 56 | ||||
-rw-r--r-- | libjava/javax/swing/undo/StateEdit.h | 49 | ||||
-rw-r--r-- | libjava/javax/swing/undo/StateEditable.h | 34 | ||||
-rw-r--r-- | libjava/javax/swing/undo/UndoManager.h | 66 | ||||
-rw-r--r-- | libjava/javax/swing/undo/UndoableEdit.h | 42 | ||||
-rw-r--r-- | libjava/javax/swing/undo/UndoableEditSupport.h | 61 |
9 files changed, 426 insertions, 0 deletions
diff --git a/libjava/javax/swing/undo/AbstractUndoableEdit.h b/libjava/javax/swing/undo/AbstractUndoableEdit.h new file mode 100644 index 000000000..e800a690f --- /dev/null +++ b/libjava/javax/swing/undo/AbstractUndoableEdit.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_AbstractUndoableEdit__ +#define __javax_swing_undo_AbstractUndoableEdit__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace undo + { + class AbstractUndoableEdit; + class UndoableEdit; + } + } + } +} + +class javax::swing::undo::AbstractUndoableEdit : public ::java::lang::Object +{ + +public: + AbstractUndoableEdit(); + virtual void undo(); + virtual jboolean canUndo(); + virtual void redo(); + virtual jboolean canRedo(); + virtual void die(); + virtual jboolean addEdit(::javax::swing::undo::UndoableEdit *); + virtual jboolean replaceEdit(::javax::swing::undo::UndoableEdit *); + virtual jboolean isSignificant(); + virtual ::java::lang::String * getPresentationName(); + virtual ::java::lang::String * getUndoPresentationName(); + virtual ::java::lang::String * getRedoPresentationName(); + virtual ::java::lang::String * toString(); +public: // actually package-private + static const jlong serialVersionUID = 580150227676302096LL; +public: // actually protected + static ::java::lang::String * UndoName; + static ::java::lang::String * RedoName; +private: + jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) hasBeenDone; + jboolean alive; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_undo_AbstractUndoableEdit__ diff --git a/libjava/javax/swing/undo/CannotRedoException.h b/libjava/javax/swing/undo/CannotRedoException.h new file mode 100644 index 000000000..5d20d8d7a --- /dev/null +++ b/libjava/javax/swing/undo/CannotRedoException.h @@ -0,0 +1,32 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_CannotRedoException__ +#define __javax_swing_undo_CannotRedoException__ + +#pragma interface + +#include <java/lang/RuntimeException.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace undo + { + class CannotRedoException; + } + } + } +} + +class javax::swing::undo::CannotRedoException : public ::java::lang::RuntimeException +{ + +public: + CannotRedoException(); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_undo_CannotRedoException__ diff --git a/libjava/javax/swing/undo/CannotUndoException.h b/libjava/javax/swing/undo/CannotUndoException.h new file mode 100644 index 000000000..d7a3cb2c2 --- /dev/null +++ b/libjava/javax/swing/undo/CannotUndoException.h @@ -0,0 +1,32 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_CannotUndoException__ +#define __javax_swing_undo_CannotUndoException__ + +#pragma interface + +#include <java/lang/RuntimeException.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace undo + { + class CannotUndoException; + } + } + } +} + +class javax::swing::undo::CannotUndoException : public ::java::lang::RuntimeException +{ + +public: + CannotUndoException(); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_undo_CannotUndoException__ diff --git a/libjava/javax/swing/undo/CompoundEdit.h b/libjava/javax/swing/undo/CompoundEdit.h new file mode 100644 index 000000000..9c8905384 --- /dev/null +++ b/libjava/javax/swing/undo/CompoundEdit.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_CompoundEdit__ +#define __javax_swing_undo_CompoundEdit__ + +#pragma interface + +#include <javax/swing/undo/AbstractUndoableEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace undo + { + class CompoundEdit; + class UndoableEdit; + } + } + } +} + +class javax::swing::undo::CompoundEdit : public ::javax::swing::undo::AbstractUndoableEdit +{ + +public: + CompoundEdit(); + virtual void undo(); + virtual void redo(); +public: // actually protected + virtual ::javax::swing::undo::UndoableEdit * lastEdit(); +public: + virtual void die(); + virtual jboolean addEdit(::javax::swing::undo::UndoableEdit *); + virtual void end(); + virtual jboolean canUndo(); + virtual jboolean canRedo(); + virtual jboolean isInProgress(); + virtual jboolean isSignificant(); + virtual ::java::lang::String * getPresentationName(); + virtual ::java::lang::String * getUndoPresentationName(); + virtual ::java::lang::String * getRedoPresentationName(); + virtual ::java::lang::String * toString(); +private: + static const jlong serialVersionUID = -6512679249930119683LL; +public: // actually protected + ::java::util::Vector * __attribute__((aligned(__alignof__( ::javax::swing::undo::AbstractUndoableEdit)))) edits; +private: + jboolean inProgress; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_undo_CompoundEdit__ diff --git a/libjava/javax/swing/undo/StateEdit.h b/libjava/javax/swing/undo/StateEdit.h new file mode 100644 index 000000000..80c91588e --- /dev/null +++ b/libjava/javax/swing/undo/StateEdit.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_StateEdit__ +#define __javax_swing_undo_StateEdit__ + +#pragma interface + +#include <javax/swing/undo/AbstractUndoableEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace undo + { + class StateEdit; + class StateEditable; + } + } + } +} + +class javax::swing::undo::StateEdit : public ::javax::swing::undo::AbstractUndoableEdit +{ + +public: + StateEdit(::javax::swing::undo::StateEditable *); + StateEdit(::javax::swing::undo::StateEditable *, ::java::lang::String *); +public: // actually protected + virtual void init(::javax::swing::undo::StateEditable *, ::java::lang::String *); +public: + virtual void end(); + virtual void undo(); + virtual void redo(); + virtual ::java::lang::String * getPresentationName(); +public: // actually protected + virtual void removeRedundantState(); + static ::java::lang::String * RCSID; + ::javax::swing::undo::StateEditable * __attribute__((aligned(__alignof__( ::javax::swing::undo::AbstractUndoableEdit)))) object; + ::java::util::Hashtable * preState; + ::java::util::Hashtable * postState; + ::java::lang::String * undoRedoName; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_undo_StateEdit__ diff --git a/libjava/javax/swing/undo/StateEditable.h b/libjava/javax/swing/undo/StateEditable.h new file mode 100644 index 000000000..0f1343ab8 --- /dev/null +++ b/libjava/javax/swing/undo/StateEditable.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_StateEditable__ +#define __javax_swing_undo_StateEditable__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace undo + { + class StateEditable; + } + } + } +} + +class javax::swing::undo::StateEditable : public ::java::lang::Object +{ + +public: + virtual void restoreState(::java::util::Hashtable *) = 0; + virtual void storeState(::java::util::Hashtable *) = 0; + static ::java::lang::String * RCSID; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_undo_StateEditable__ diff --git a/libjava/javax/swing/undo/UndoManager.h b/libjava/javax/swing/undo/UndoManager.h new file mode 100644 index 000000000..9189c1c0b --- /dev/null +++ b/libjava/javax/swing/undo/UndoManager.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_UndoManager__ +#define __javax_swing_undo_UndoManager__ + +#pragma interface + +#include <javax/swing/undo/CompoundEdit.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class UndoableEditEvent; + } + namespace undo + { + class UndoManager; + class UndoableEdit; + } + } + } +} + +class javax::swing::undo::UndoManager : public ::javax::swing::undo::CompoundEdit +{ + +public: + UndoManager(); + virtual ::java::lang::String * toString(); + virtual void end(); + virtual jint getLimit(); + virtual void setLimit(jint); + virtual void discardAllEdits(); +public: // actually protected + virtual void trimForLimit(); + virtual void trimEdits(jint, jint); + virtual ::javax::swing::undo::UndoableEdit * editToBeUndone(); + virtual ::javax::swing::undo::UndoableEdit * editToBeRedone(); + virtual void undoTo(::javax::swing::undo::UndoableEdit *); + virtual void redoTo(::javax::swing::undo::UndoableEdit *); +public: + virtual void undoOrRedo(); + virtual jboolean canUndoOrRedo(); + virtual void undo(); + virtual jboolean canUndo(); + virtual void redo(); + virtual jboolean canRedo(); + virtual jboolean addEdit(::javax::swing::undo::UndoableEdit *); + virtual ::java::lang::String * getUndoOrRedoPresentationName(); + virtual ::java::lang::String * getUndoPresentationName(); + virtual ::java::lang::String * getRedoPresentationName(); + virtual void undoableEditHappened(::javax::swing::event::UndoableEditEvent *); +public: // actually package-private + static const jlong serialVersionUID = -2077529998244066750LL; + jint __attribute__((aligned(__alignof__( ::javax::swing::undo::CompoundEdit)))) indexOfNextAdd; + jint limit; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_undo_UndoManager__ diff --git a/libjava/javax/swing/undo/UndoableEdit.h b/libjava/javax/swing/undo/UndoableEdit.h new file mode 100644 index 000000000..59b73543d --- /dev/null +++ b/libjava/javax/swing/undo/UndoableEdit.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_UndoableEdit__ +#define __javax_swing_undo_UndoableEdit__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace undo + { + class UndoableEdit; + } + } + } +} + +class javax::swing::undo::UndoableEdit : public ::java::lang::Object +{ + +public: + virtual jboolean addEdit(::javax::swing::undo::UndoableEdit *) = 0; + virtual jboolean canRedo() = 0; + virtual jboolean canUndo() = 0; + virtual void die() = 0; + virtual ::java::lang::String * getPresentationName() = 0; + virtual ::java::lang::String * getRedoPresentationName() = 0; + virtual ::java::lang::String * getUndoPresentationName() = 0; + virtual jboolean isSignificant() = 0; + virtual void redo() = 0; + virtual jboolean replaceEdit(::javax::swing::undo::UndoableEdit *) = 0; + virtual void undo() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_undo_UndoableEdit__ diff --git a/libjava/javax/swing/undo/UndoableEditSupport.h b/libjava/javax/swing/undo/UndoableEditSupport.h new file mode 100644 index 000000000..3bfbe30b7 --- /dev/null +++ b/libjava/javax/swing/undo/UndoableEditSupport.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_undo_UndoableEditSupport__ +#define __javax_swing_undo_UndoableEditSupport__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace event + { + class UndoableEditListener; + } + namespace undo + { + class CompoundEdit; + class UndoableEdit; + class UndoableEditSupport; + } + } + } +} + +class javax::swing::undo::UndoableEditSupport : public ::java::lang::Object +{ + +public: + UndoableEditSupport(); + UndoableEditSupport(::java::lang::Object *); + virtual ::java::lang::String * toString(); + 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 _postEdit(::javax::swing::undo::UndoableEdit *); +public: + virtual void postEdit(::javax::swing::undo::UndoableEdit *); + virtual jint getUpdateLevel(); + virtual void beginUpdate(); +public: // actually protected + virtual ::javax::swing::undo::CompoundEdit * createCompoundEdit(); +public: + virtual void endUpdate(); +public: // actually protected + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) updateLevel; + ::javax::swing::undo::CompoundEdit * compoundEdit; + ::java::util::Vector * listeners; + ::java::lang::Object * realSource; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_undo_UndoableEditSupport__ |