From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; 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. --- libjava/javax/swing/TransferHandler.h | 94 +++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 libjava/javax/swing/TransferHandler.h (limited to 'libjava/javax/swing/TransferHandler.h') diff --git a/libjava/javax/swing/TransferHandler.h b/libjava/javax/swing/TransferHandler.h new file mode 100644 index 000000000..f7ae80492 --- /dev/null +++ b/libjava/javax/swing/TransferHandler.h @@ -0,0 +1,94 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_TransferHandler__ +#define __javax_swing_TransferHandler__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace java + { + namespace awt + { + namespace datatransfer + { + class Clipboard; + class DataFlavor; + class Transferable; + } + namespace event + { + class InputEvent; + } + } + namespace beans + { + class PropertyDescriptor; + } + } + namespace javax + { + namespace swing + { + class Action; + class Icon; + class JComponent; + class TransferHandler; + class TransferHandler$SwingDragGestureRecognizer; + } + } +} + +class javax::swing::TransferHandler : public ::java::lang::Object +{ + +public: + static ::javax::swing::Action * getCopyAction(); + static ::javax::swing::Action * getCutAction(); + static ::javax::swing::Action * getPasteAction(); +public: // actually protected + TransferHandler(); +public: + TransferHandler(::java::lang::String *); + virtual jboolean canImport(::javax::swing::JComponent *, JArray< ::java::awt::datatransfer::DataFlavor * > *); +public: // actually protected + virtual ::java::awt::datatransfer::Transferable * createTransferable(::javax::swing::JComponent *); +public: + virtual void exportAsDrag(::javax::swing::JComponent *, ::java::awt::event::InputEvent *, jint); +public: // actually protected + virtual void exportDone(::javax::swing::JComponent *, ::java::awt::datatransfer::Transferable *, jint); +public: + virtual void exportToClipboard(::javax::swing::JComponent *, ::java::awt::datatransfer::Clipboard *, jint); + virtual jint getSourceActions(::javax::swing::JComponent *); + virtual ::javax::swing::Icon * getVisualRepresentation(::java::awt::datatransfer::Transferable *); + virtual jboolean importData(::javax::swing::JComponent *, ::java::awt::datatransfer::Transferable *); +private: + ::java::beans::PropertyDescriptor * getPropertyDescriptor(::javax::swing::JComponent *); + ::java::awt::datatransfer::DataFlavor * getPropertyDataFlavor(::java::lang::Class *, JArray< ::java::awt::datatransfer::DataFlavor * > *); + static const jlong serialVersionUID = -967749805571669910LL; + static ::java::lang::String * COMMAND_COPY; + static ::java::lang::String * COMMAND_CUT; + static ::java::lang::String * COMMAND_PASTE; +public: + static const jint NONE = 0; + static const jint COPY = 1; + static const jint MOVE = 2; + static const jint COPY_OR_MOVE = 3; +private: + static ::javax::swing::Action * copyAction; + static ::javax::swing::Action * cutAction; + static ::javax::swing::Action * pasteAction; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) sourceActions; + ::javax::swing::Icon * visualRepresentation; + ::java::lang::String * propertyName; + ::javax::swing::TransferHandler$SwingDragGestureRecognizer * recognizer; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_TransferHandler__ -- cgit v1.2.3