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/gnu/java/awt/peer/swing | |
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/gnu/java/awt/peer/swing')
30 files changed, 2057 insertions, 0 deletions
diff --git a/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButton.h b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButton.h new file mode 100644 index 000000000..ffaa2b6cd --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButton.h @@ -0,0 +1,80 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButton__ +#define __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButton__ + +#pragma interface + +#include <javax/swing/JButton.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingButtonPeer; + class SwingButtonPeer$SwingButton; + } + } + } + } + } + namespace java + { + namespace awt + { + class Button; + class Container; + class Graphics; + class Image; + class Point; + namespace event + { + class FocusEvent; + class KeyEvent; + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + class JComponent; + } + } +} + +class gnu::java::awt::peer::swing::SwingButtonPeer$SwingButton : public ::javax::swing::JButton +{ + +public: // actually package-private + SwingButtonPeer$SwingButton(::gnu::java::awt::peer::swing::SwingButtonPeer *, ::java::awt::Button *); +public: + virtual ::java::awt::Point * getLocationOnScreen(); + virtual jboolean isShowing(); + virtual ::java::awt::Image * createImage(jint, jint); + virtual ::java::awt::Graphics * getGraphics(); + virtual ::javax::swing::JComponent * getJComponent(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void handleKeyEvent(::java::awt::event::KeyEvent *); + virtual ::java::awt::Container * getParent(); + virtual void handleFocusEvent(::java::awt::event::FocusEvent *); + virtual void requestFocus(); + virtual jboolean requestFocus(jboolean); +public: // actually package-private + ::java::awt::Button * __attribute__((aligned(__alignof__( ::javax::swing::JButton)))) button; + ::gnu::java::awt::peer::swing::SwingButtonPeer * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButton__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButtonListener.h b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButtonListener.h new file mode 100644 index 000000000..c6a6f9a0f --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer$SwingButtonListener.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButtonListener__ +#define __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButtonListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingButtonPeer; + class SwingButtonPeer$SwingButtonListener; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingButtonPeer$SwingButtonListener : public ::java::lang::Object +{ + +public: // actually package-private + SwingButtonPeer$SwingButtonListener(::gnu::java::awt::peer::swing::SwingButtonPeer *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + ::gnu::java::awt::peer::swing::SwingButtonPeer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingButtonPeer$SwingButtonListener__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingButtonPeer.h b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer.h new file mode 100644 index 000000000..cca199f89 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingButtonPeer.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingButtonPeer__ +#define __gnu_java_awt_peer_swing_SwingButtonPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingComponentPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingButtonPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Button; + } + } +} + +class gnu::java::awt::peer::swing::SwingButtonPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer +{ + +public: + SwingButtonPeer(::java::awt::Button *); + virtual void setLabel(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingButtonPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingCanvasPeer.h b/libjava/gnu/java/awt/peer/swing/SwingCanvasPeer.h new file mode 100644 index 000000000..1fd853bb8 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingCanvasPeer.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingCanvasPeer__ +#define __gnu_java_awt_peer_swing_SwingCanvasPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingComponentPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingCanvasPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Canvas; + } + } +} + +class gnu::java::awt::peer::swing::SwingCanvasPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer +{ + +public: + SwingCanvasPeer(::java::awt::Canvas *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingCanvasPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckbox.h b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckbox.h new file mode 100644 index 000000000..d50fe6699 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckbox.h @@ -0,0 +1,80 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckbox__ +#define __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckbox__ + +#pragma interface + +#include <javax/swing/JCheckBox.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingCheckboxPeer; + class SwingCheckboxPeer$SwingCheckbox; + } + } + } + } + } + namespace java + { + namespace awt + { + class Checkbox; + class Container; + class Graphics; + class Image; + class Point; + namespace event + { + class FocusEvent; + class KeyEvent; + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + class JComponent; + } + } +} + +class gnu::java::awt::peer::swing::SwingCheckboxPeer$SwingCheckbox : public ::javax::swing::JCheckBox +{ + +public: // actually package-private + SwingCheckboxPeer$SwingCheckbox(::gnu::java::awt::peer::swing::SwingCheckboxPeer *, ::java::awt::Checkbox *); +public: + virtual ::javax::swing::JComponent * getJComponent(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void handleKeyEvent(::java::awt::event::KeyEvent *); + virtual void handleFocusEvent(::java::awt::event::FocusEvent *); + virtual ::java::awt::Point * getLocationOnScreen(); + virtual jboolean isShowing(); + virtual ::java::awt::Image * createImage(jint, jint); + virtual ::java::awt::Graphics * getGraphics(); + virtual ::java::awt::Container * getParent(); + virtual void requestFocus(); + virtual jboolean requestFocus(jboolean); +public: // actually package-private + ::java::awt::Checkbox * __attribute__((aligned(__alignof__( ::javax::swing::JCheckBox)))) checkbox; + ::gnu::java::awt::peer::swing::SwingCheckboxPeer * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckbox__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckboxListener.h b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckboxListener.h new file mode 100644 index 000000000..71517aeb3 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer$SwingCheckboxListener.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckboxListener__ +#define __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckboxListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingCheckboxPeer; + class SwingCheckboxPeer$SwingCheckboxListener; + } + } + } + } + } + namespace java + { + namespace awt + { + class Checkbox; + namespace event + { + class ItemEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingCheckboxPeer$SwingCheckboxListener : public ::java::lang::Object +{ + +public: // actually package-private + SwingCheckboxPeer$SwingCheckboxListener(::gnu::java::awt::peer::swing::SwingCheckboxPeer *, ::java::awt::Checkbox *); +public: + virtual void itemStateChanged(::java::awt::event::ItemEvent *); +public: // actually package-private + ::java::awt::Checkbox * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtCheckbox; + ::gnu::java::awt::peer::swing::SwingCheckboxPeer * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingCheckboxPeer$SwingCheckboxListener__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer.h b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer.h new file mode 100644 index 000000000..bceaa2168 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingCheckboxPeer.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingCheckboxPeer__ +#define __gnu_java_awt_peer_swing_SwingCheckboxPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingComponentPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingCheckboxPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Checkbox; + class CheckboxGroup; + } + } +} + +class gnu::java::awt::peer::swing::SwingCheckboxPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer +{ + +public: + SwingCheckboxPeer(::java::awt::Checkbox *); + virtual void setCheckboxGroup(::java::awt::CheckboxGroup *); + virtual void setLabel(::java::lang::String *); + virtual void setState(jboolean); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingCheckboxPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingComponent.h b/libjava/gnu/java/awt/peer/swing/SwingComponent.h new file mode 100644 index 000000000..619a05e36 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingComponent.h @@ -0,0 +1,61 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingComponent__ +#define __gnu_java_awt_peer_swing_SwingComponent__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingComponent; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class FocusEvent; + class KeyEvent; + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + class JComponent; + } + } +} + +class gnu::java::awt::peer::swing::SwingComponent : public ::java::lang::Object +{ + +public: + virtual ::javax::swing::JComponent * getJComponent() = 0; + virtual void handleMouseEvent(::java::awt::event::MouseEvent *) = 0; + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *) = 0; + virtual void handleKeyEvent(::java::awt::event::KeyEvent *) = 0; + virtual void handleFocusEvent(::java::awt::event::FocusEvent *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __gnu_java_awt_peer_swing_SwingComponent__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingComponentPeer.h b/libjava/gnu/java/awt/peer/swing/SwingComponentPeer.h new file mode 100644 index 000000000..545496878 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingComponentPeer.h @@ -0,0 +1,156 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingComponentPeer__ +#define __gnu_java_awt_peer_swing_SwingComponentPeer__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingComponent; + class SwingComponentPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class AWTEvent; + class BufferCapabilities; + class BufferCapabilities$FlipContents; + class Color; + class Component; + class Cursor; + class Dimension; + class Font; + class FontMetrics; + class Graphics; + class GraphicsConfiguration; + class Image; + class Point; + class Rectangle; + class Toolkit; + namespace event + { + class FocusEvent; + class KeyEvent; + class MouseEvent; + class PaintEvent; + } + namespace image + { + class ColorModel; + class ImageObserver; + class ImageProducer; + class VolatileImage; + } + namespace peer + { + class ContainerPeer; + } + } + } + namespace sun + { + namespace awt + { + class CausedFocusEvent$Cause; + } + } +} + +class gnu::java::awt::peer::swing::SwingComponentPeer : public ::java::lang::Object +{ + +public: // actually protected + SwingComponentPeer(); + virtual void init(::java::awt::Component *, ::gnu::java::awt::peer::swing::SwingComponent *); +public: + virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *); + virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *); + virtual ::java::awt::Image * createImage(jint, jint); + virtual void disable(); + virtual void dispose(); + virtual void enable(); + virtual ::java::awt::image::ColorModel * getColorModel(); + virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *); + virtual ::java::awt::Graphics * getGraphics(); + virtual ::java::awt::Point * getLocationOnScreen(); + virtual ::java::awt::Dimension * getMinimumSize(); + virtual ::java::awt::Dimension * getPreferredSize(); + virtual ::java::awt::Toolkit * getToolkit(); + virtual void handleEvent(::java::awt::AWTEvent *); + virtual void hide(); + virtual jboolean isFocusTraversable(); + virtual jboolean isFocusable(); + virtual ::java::awt::Dimension * minimumSize(); + virtual ::java::awt::Dimension * preferredSize(); + virtual void paint(::java::awt::Graphics *); + virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *); + virtual void print(::java::awt::Graphics *); + virtual void repaint(jlong, jint, jint, jint, jint); + virtual void requestFocus(); + virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong); + virtual void reshape(jint, jint, jint, jint); + virtual void setBackground(::java::awt::Color *); + virtual void setBounds(jint, jint, jint, jint); + virtual void setCursor(::java::awt::Cursor *); + virtual void setEnabled(jboolean); + virtual void setFont(::java::awt::Font *); + virtual void setForeground(::java::awt::Color *); + virtual void setVisible(jboolean); + virtual void show(); + virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration(); + virtual void setEventMask(jlong); + virtual jboolean isObscured(); + virtual jboolean canDetermineObscurity(); + virtual void coalescePaintEvent(::java::awt::event::PaintEvent *); + virtual void updateCursorImmediately(); + virtual jboolean handlesWheelScrolling(); + virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint); + virtual void createBuffers(jint, ::java::awt::BufferCapabilities *); + virtual ::java::awt::Image * getBackBuffer(); + virtual void flip(::java::awt::BufferCapabilities$FlipContents *); + virtual void destroyBuffers(); + virtual ::java::awt::Rectangle * getBounds(); + virtual void reparent(::java::awt::peer::ContainerPeer *); + virtual void setBounds(jint, jint, jint, jint, jint); + virtual jboolean isReparentSupported(); + virtual void layout(); +public: // actually protected + virtual void peerPaint(::java::awt::Graphics *, jboolean); + virtual void peerPaintComponent(::java::awt::Graphics *); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void handleKeyEvent(::java::awt::event::KeyEvent *); + virtual void handleFocusEvent(::java::awt::event::FocusEvent *); +public: + virtual ::java::awt::Component * getComponent(); + virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *); +public: // actually protected + ::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtComponent; + ::gnu::java::awt::peer::swing::SwingComponent * swingComponent; + ::java::awt::Font * peerFont; + ::java::awt::Rectangle * paintArea; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingComponentPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingContainerPeer.h b/libjava/gnu/java/awt/peer/swing/SwingContainerPeer.h new file mode 100644 index 000000000..a3895c08c --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingContainerPeer.h @@ -0,0 +1,86 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingContainerPeer__ +#define __gnu_java_awt_peer_swing_SwingContainerPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingComponentPeer.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingContainerPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Component; + class Container; + class Graphics; + class Image; + class Insets; + namespace event + { + class KeyEvent; + class MouseEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingContainerPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer +{ + +public: + SwingContainerPeer(::java::awt::Container *); +public: // actually protected + virtual void addHeavyweightDescendent(::java::awt::Component *); + virtual void removeHeavyweightDescendent(::java::awt::Component *); + virtual JArray< ::java::awt::Component * > * getHeavyweightDescendents(); +public: + virtual ::java::awt::Insets * insets(); + virtual ::java::awt::Insets * getInsets(); + virtual void beginValidate(); + virtual void endValidate(); + virtual void beginLayout(); + virtual void endLayout(); + virtual jboolean isPaintPending(); + virtual jboolean isRestackSupported(); + virtual void cancelPendingPaint(jint, jint, jint, jint); + virtual void restack(); +public: // actually protected + virtual void peerPaint(::java::awt::Graphics *, jboolean); +private: + jboolean isDoubleBuffering(); +public: // actually protected + virtual void peerPaintChildren(::java::awt::Graphics *); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void handleKeyEvent(::java::awt::event::KeyEvent *); +private: + ::java::awt::Component * getFocusOwner(); + ::java::util::LinkedList * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingComponentPeer)))) heavyweightDescendents; + ::java::awt::Image * backbuffer; + ::java::awt::Component * focusOwner; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingContainerPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingFramePeer.h b/libjava/gnu/java/awt/peer/swing/SwingFramePeer.h new file mode 100644 index 000000000..e09ee5d1d --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingFramePeer.h @@ -0,0 +1,78 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingFramePeer__ +#define __gnu_java_awt_peer_swing_SwingFramePeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingWindowPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingFramePeer; + class SwingMenuBarPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Frame; + class Graphics; + class Image; + class Insets; + class MenuBar; + class Point; + class Rectangle; + namespace event + { + class MouseEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingFramePeer : public ::gnu::java::awt::peer::swing::SwingWindowPeer +{ + +public: + SwingFramePeer(::java::awt::Frame *); + virtual void setMenuBar(::java::awt::MenuBar *); +public: // actually protected + virtual void peerPaintComponent(::java::awt::Graphics *); +public: + virtual void setBounds(jint, jint, jint, jint); + virtual ::java::awt::Insets * getInsets(); + virtual ::java::awt::Point * getMenuLocationOnScreen(); +public: // actually protected + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); +public: + virtual void setIconImage(::java::awt::Image *) = 0; + virtual void setResizable(jboolean) = 0; + virtual void setTitle(::java::lang::String *) = 0; + virtual jint getState() = 0; + virtual void setState(jint) = 0; + virtual void setMaximizedBounds(::java::awt::Rectangle *) = 0; + virtual void setBoundsPrivate(jint, jint, jint, jint) = 0; + virtual ::java::awt::Rectangle * getBoundsPrivate() = 0; +public: // actually package-private + ::gnu::java::awt::peer::swing::SwingMenuBarPeer * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingWindowPeer)))) menuBar; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingFramePeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingLabelPeer$SwingLabel.h b/libjava/gnu/java/awt/peer/swing/SwingLabelPeer$SwingLabel.h new file mode 100644 index 000000000..561c8102f --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingLabelPeer$SwingLabel.h @@ -0,0 +1,78 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingLabelPeer$SwingLabel__ +#define __gnu_java_awt_peer_swing_SwingLabelPeer$SwingLabel__ + +#pragma interface + +#include <javax/swing/JLabel.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingLabelPeer; + class SwingLabelPeer$SwingLabel; + } + } + } + } + } + namespace java + { + namespace awt + { + class Container; + class Graphics; + class Image; + class Label; + class Point; + namespace event + { + class FocusEvent; + class KeyEvent; + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + class JComponent; + } + } +} + +class gnu::java::awt::peer::swing::SwingLabelPeer$SwingLabel : public ::javax::swing::JLabel +{ + +public: // actually package-private + SwingLabelPeer$SwingLabel(::gnu::java::awt::peer::swing::SwingLabelPeer *, ::java::awt::Label *); +public: + virtual ::javax::swing::JComponent * getJComponent(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void handleKeyEvent(::java::awt::event::KeyEvent *); + virtual void handleFocusEvent(::java::awt::event::FocusEvent *); + virtual ::java::awt::Point * getLocationOnScreen(); + virtual jboolean isShowing(); + virtual ::java::awt::Image * createImage(jint, jint); + virtual ::java::awt::Graphics * getGraphics(); + virtual ::java::awt::Container * getParent(); +public: // actually package-private + ::java::awt::Label * __attribute__((aligned(__alignof__( ::javax::swing::JLabel)))) label; + ::gnu::java::awt::peer::swing::SwingLabelPeer * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingLabelPeer$SwingLabel__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingLabelPeer.h b/libjava/gnu/java/awt/peer/swing/SwingLabelPeer.h new file mode 100644 index 000000000..a400853f7 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingLabelPeer.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingLabelPeer__ +#define __gnu_java_awt_peer_swing_SwingLabelPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingComponentPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingLabelPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Label; + } + } +} + +class gnu::java::awt::peer::swing::SwingLabelPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer +{ + +public: + SwingLabelPeer(::java::awt::Label *); + virtual void setText(::java::lang::String *); + virtual void setAlignment(jint); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingLabelPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingListPeer$SwingList.h b/libjava/gnu/java/awt/peer/swing/SwingListPeer$SwingList.h new file mode 100644 index 000000000..76b8b759b --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingListPeer$SwingList.h @@ -0,0 +1,78 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingListPeer$SwingList__ +#define __gnu_java_awt_peer_swing_SwingListPeer$SwingList__ + +#pragma interface + +#include <javax/swing/JScrollPane.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingListPeer; + class SwingListPeer$SwingList; + } + } + } + } + } + namespace java + { + namespace awt + { + class Component; + class Container; + class Graphics; + class Image; + class Point; + namespace event + { + class FocusEvent; + class KeyEvent; + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + class JComponent; + } + } +} + +class gnu::java::awt::peer::swing::SwingListPeer$SwingList : public ::javax::swing::JScrollPane +{ + +public: // actually package-private + SwingListPeer$SwingList(::gnu::java::awt::peer::swing::SwingListPeer *, ::java::awt::Component *); +public: + virtual ::javax::swing::JComponent * getJComponent(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual jboolean isLightweight(); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void handleKeyEvent(::java::awt::event::KeyEvent *); + virtual void handleFocusEvent(::java::awt::event::FocusEvent *); + virtual ::java::awt::Point * getLocationOnScreen(); + virtual jboolean isShowing(); + virtual ::java::awt::Image * createImage(jint, jint); + virtual ::java::awt::Graphics * getGraphics(); + virtual ::java::awt::Container * getParent(); +public: // actually package-private + ::gnu::java::awt::peer::swing::SwingListPeer * __attribute__((aligned(__alignof__( ::javax::swing::JScrollPane)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingListPeer$SwingList__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingListPeer.h b/libjava/gnu/java/awt/peer/swing/SwingListPeer.h new file mode 100644 index 000000000..fa6fde624 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingListPeer.h @@ -0,0 +1,79 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingListPeer__ +#define __gnu_java_awt_peer_swing_SwingListPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingComponentPeer.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingListPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Dimension; + class Graphics; + class List; + } + } + namespace javax + { + namespace swing + { + class DefaultListModel; + class JList; + } + } +} + +class gnu::java::awt::peer::swing::SwingListPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer +{ + +public: + SwingListPeer(::java::awt::List *); + virtual void add(::java::lang::String *, jint); + virtual void addItem(::java::lang::String *, jint); + virtual void clear(); + virtual void delItems(jint, jint); + virtual void deselect(jint); + virtual ::java::awt::Dimension * getMinimumSize(jint); + virtual ::java::awt::Dimension * getPreferredSize(jint); + virtual JArray< jint > * getSelectedIndexes(); + virtual void makeVisible(jint); + virtual ::java::awt::Dimension * minimumSize(jint); + virtual ::java::awt::Dimension * preferredSize(jint); + virtual void removeAll(); + virtual void select(jint); + virtual void setMultipleMode(jboolean); + virtual void setMultipleSelections(jboolean); + virtual void reshape(jint, jint, jint, jint); +public: // actually protected + virtual void peerPaint(::java::awt::Graphics *, jboolean); +private: + ::javax::swing::JList * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingComponentPeer)))) jList; + ::javax::swing::DefaultListModel * listModel; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingListPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer$SwingMenuBar.h b/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer$SwingMenuBar.h new file mode 100644 index 000000000..4ab74e8a1 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer$SwingMenuBar.h @@ -0,0 +1,59 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingMenuBarPeer$SwingMenuBar__ +#define __gnu_java_awt_peer_swing_SwingMenuBarPeer$SwingMenuBar__ + +#pragma interface + +#include <javax/swing/JMenuBar.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingMenuBarPeer; + class SwingMenuBarPeer$SwingMenuBar; + } + } + } + } + } + namespace java + { + namespace awt + { + class Container; + class Point; + namespace event + { + class MouseEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingMenuBarPeer$SwingMenuBar : public ::javax::swing::JMenuBar +{ + + SwingMenuBarPeer$SwingMenuBar(::gnu::java::awt::peer::swing::SwingMenuBarPeer *); +public: + virtual ::java::awt::Container * getParent(); + virtual jboolean isShowing(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual ::java::awt::Point * getLocationOnScreen(); +public: // actually package-private + SwingMenuBarPeer$SwingMenuBar(::gnu::java::awt::peer::swing::SwingMenuBarPeer *, ::gnu::java::awt::peer::swing::SwingMenuBarPeer$SwingMenuBar *); + ::gnu::java::awt::peer::swing::SwingMenuBarPeer * __attribute__((aligned(__alignof__( ::javax::swing::JMenuBar)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingMenuBarPeer$SwingMenuBar__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer.h b/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer.h new file mode 100644 index 000000000..357947669 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingMenuBarPeer.h @@ -0,0 +1,70 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingMenuBarPeer__ +#define __gnu_java_awt_peer_swing_SwingMenuBarPeer__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingFramePeer; + class SwingMenuBarPeer; + class SwingMenuBarPeer$SwingMenuBar; + } + } + } + } + } + namespace java + { + namespace awt + { + class Font; + class Graphics; + class Menu; + class MenuBar; + namespace event + { + class MouseEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingMenuBarPeer : public ::java::lang::Object +{ + +public: + SwingMenuBarPeer(::java::awt::MenuBar *); + virtual void setFramePeer(::gnu::java::awt::peer::swing::SwingFramePeer *); + virtual void addMenu(::java::awt::Menu *); + virtual void addHelpMenu(::java::awt::Menu *); + virtual void delMenu(jint); + virtual void dispose(); + virtual void setFont(::java::awt::Font *); + virtual void setWidth(jint); + virtual void peerPaint(::java::awt::Graphics *); + virtual jint getHeight(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); +public: // actually package-private + ::java::awt::MenuBar * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtMenuBar; + ::gnu::java::awt::peer::swing::SwingMenuBarPeer$SwingMenuBar * menuBar; + ::gnu::java::awt::peer::swing::SwingFramePeer * framePeer; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingMenuBarPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer$SwingMenuItemListener.h b/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer$SwingMenuItemListener.h new file mode 100644 index 000000000..1aa993ba7 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer$SwingMenuItemListener.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingMenuItemPeer$SwingMenuItemListener__ +#define __gnu_java_awt_peer_swing_SwingMenuItemPeer$SwingMenuItemListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingMenuItemPeer; + class SwingMenuItemPeer$SwingMenuItemListener; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ActionEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingMenuItemPeer$SwingMenuItemListener : public ::java::lang::Object +{ + + SwingMenuItemPeer$SwingMenuItemListener(::gnu::java::awt::peer::swing::SwingMenuItemPeer *); +public: + virtual void actionPerformed(::java::awt::event::ActionEvent *); +public: // actually package-private + SwingMenuItemPeer$SwingMenuItemListener(::gnu::java::awt::peer::swing::SwingMenuItemPeer *, ::gnu::java::awt::peer::swing::SwingMenuItemPeer$SwingMenuItemListener *); + ::gnu::java::awt::peer::swing::SwingMenuItemPeer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingMenuItemPeer$SwingMenuItemListener__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer.h b/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer.h new file mode 100644 index 000000000..f79e2d27f --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingMenuItemPeer.h @@ -0,0 +1,63 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingMenuItemPeer__ +#define __gnu_java_awt_peer_swing_SwingMenuItemPeer__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingMenuItemPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Font; + class MenuItem; + } + } + namespace javax + { + namespace swing + { + class JMenuItem; + } + } +} + +class gnu::java::awt::peer::swing::SwingMenuItemPeer : public ::java::lang::Object +{ + +public: + SwingMenuItemPeer(::java::awt::MenuItem *); + virtual void disable(); + virtual void enable(); + virtual void setEnabled(jboolean); + virtual void setLabel(::java::lang::String *); + virtual void dispose(); + virtual void setFont(::java::awt::Font *); +public: // actually package-private + ::java::awt::MenuItem * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtMenuItem; + ::javax::swing::JMenuItem * menuItem; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingMenuItemPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuPeer$SwingMenu.h b/libjava/gnu/java/awt/peer/swing/SwingMenuPeer$SwingMenu.h new file mode 100644 index 000000000..1de2beecc --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingMenuPeer$SwingMenu.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingMenuPeer$SwingMenu__ +#define __gnu_java_awt_peer_swing_SwingMenuPeer$SwingMenu__ + +#pragma interface + +#include <javax/swing/JMenu.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingMenuPeer; + class SwingMenuPeer$SwingMenu; + } + } + } + } + } + namespace java + { + namespace awt + { + class Point; + namespace event + { + class MouseEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingMenuPeer$SwingMenu : public ::javax::swing::JMenu +{ + + SwingMenuPeer$SwingMenu(::gnu::java::awt::peer::swing::SwingMenuPeer *); +public: + virtual jboolean isShowing(); + virtual ::java::awt::Point * getLocationOnScreen(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); +public: // actually package-private + SwingMenuPeer$SwingMenu(::gnu::java::awt::peer::swing::SwingMenuPeer *, ::gnu::java::awt::peer::swing::SwingMenuPeer$SwingMenu *); + ::gnu::java::awt::peer::swing::SwingMenuPeer * __attribute__((aligned(__alignof__( ::javax::swing::JMenu)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingMenuPeer$SwingMenu__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingMenuPeer.h b/libjava/gnu/java/awt/peer/swing/SwingMenuPeer.h new file mode 100644 index 000000000..988b48139 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingMenuPeer.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingMenuPeer__ +#define __gnu_java_awt_peer_swing_SwingMenuPeer__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingMenuPeer; + class SwingMenuPeer$SwingMenu; + } + } + } + } + } + namespace java + { + namespace awt + { + class Font; + class Menu; + class MenuItem; + namespace event + { + class MouseEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingMenuPeer : public ::java::lang::Object +{ + +public: + SwingMenuPeer(::java::awt::Menu *); + virtual void addItem(::java::awt::MenuItem *); + virtual void addSeparator(); + virtual void delItem(jint); + virtual void disable(); + virtual void enable(); + virtual void setEnabled(jboolean); + virtual void setLabel(::java::lang::String *); + virtual void dispose(); + virtual void setFont(::java::awt::Font *); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); +public: // actually package-private + virtual jint getX(); + virtual jint getWidth(); +public: + virtual jint getY(); +public: // actually package-private + ::java::awt::Menu * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtMenu; + ::gnu::java::awt::peer::swing::SwingMenuPeer$SwingMenu * menu; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingMenuPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingPanelPeer.h b/libjava/gnu/java/awt/peer/swing/SwingPanelPeer.h new file mode 100644 index 000000000..3b9f61b8a --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingPanelPeer.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingPanelPeer__ +#define __gnu_java_awt_peer_swing_SwingPanelPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingContainerPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingPanelPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Panel; + } + } +} + +class gnu::java::awt::peer::swing::SwingPanelPeer : public ::gnu::java::awt::peer::swing::SwingContainerPeer +{ + +public: + SwingPanelPeer(::java::awt::Panel *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingPanelPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$1.h b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$1.h new file mode 100644 index 000000000..77c15293b --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$1.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingTextAreaPeer$1__ +#define __gnu_java_awt_peer_swing_SwingTextAreaPeer$1__ + +#pragma interface + +#include <javax/swing/JViewport.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingTextAreaPeer; + class SwingTextAreaPeer$1; + } + } + } + } + } + namespace java + { + namespace awt + { + class Image; + } + } +} + +class gnu::java::awt::peer::swing::SwingTextAreaPeer$1 : public ::javax::swing::JViewport +{ + +public: // actually package-private + SwingTextAreaPeer$1(::gnu::java::awt::peer::swing::SwingTextAreaPeer *); +public: + virtual ::java::awt::Image * createImage(jint, jint); +public: // actually package-private + ::gnu::java::awt::peer::swing::SwingTextAreaPeer * __attribute__((aligned(__alignof__( ::javax::swing::JViewport)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingTextAreaPeer$1__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingScrollPane.h b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingScrollPane.h new file mode 100644 index 000000000..040c7f017 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingScrollPane.h @@ -0,0 +1,81 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingScrollPane__ +#define __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingScrollPane__ + +#pragma interface + +#include <javax/swing/JScrollPane.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingTextAreaPeer; + class SwingTextAreaPeer$SwingScrollPane; + class SwingTextAreaPeer$SwingTextArea; + } + } + } + } + } + namespace java + { + namespace awt + { + class Container; + class Graphics; + class Image; + class Point; + namespace event + { + class FocusEvent; + class KeyEvent; + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + class JComponent; + } + } +} + +class gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingScrollPane : public ::javax::swing::JScrollPane +{ + +public: // actually package-private + SwingTextAreaPeer$SwingScrollPane(::gnu::java::awt::peer::swing::SwingTextAreaPeer *, ::gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea *); +public: + virtual ::javax::swing::JComponent * getJComponent(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual jboolean isLightweight(); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void handleKeyEvent(::java::awt::event::KeyEvent *); + virtual void handleFocusEvent(::java::awt::event::FocusEvent *); + virtual ::java::awt::Point * getLocationOnScreen(); + virtual jboolean isShowing(); + virtual ::java::awt::Image * createImage(jint, jint); + virtual ::java::awt::Graphics * getGraphics(); + virtual ::java::awt::Container * getParent(); + virtual void requestFocus(); + virtual jboolean requestFocus(jboolean); +public: // actually package-private + ::gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea * __attribute__((aligned(__alignof__( ::javax::swing::JScrollPane)))) textArea; + ::gnu::java::awt::peer::swing::SwingTextAreaPeer * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingScrollPane__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingTextArea.h b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingTextArea.h new file mode 100644 index 000000000..fe39275bb --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer$SwingTextArea.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingTextArea__ +#define __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingTextArea__ + +#pragma interface + +#include <javax/swing/JTextArea.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingTextAreaPeer; + class SwingTextAreaPeer$SwingTextArea; + } + } + } + } + } + namespace java + { + namespace awt + { + namespace event + { + class ComponentEvent; + class FocusEvent; + class HierarchyEvent; + class InputMethodEvent; + class KeyEvent; + class MouseEvent; + class MouseWheelEvent; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea : public ::javax::swing::JTextArea +{ + + SwingTextAreaPeer$SwingTextArea(::gnu::java::awt::peer::swing::SwingTextAreaPeer *); +public: // actually protected + virtual void processComponentKeyEvent(::java::awt::event::KeyEvent *); + virtual void processMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void processComponentEvent(::java::awt::event::ComponentEvent *); + virtual void processFocusEvent(::java::awt::event::FocusEvent *); + virtual void processHierarchyBoundsEvent(::java::awt::event::HierarchyEvent *); + virtual void processHierarchyEvent(::java::awt::event::HierarchyEvent *); + virtual void processInputMethodEvent(::java::awt::event::InputMethodEvent *); + virtual void processMouseEvent(::java::awt::event::MouseEvent *); + virtual void processMouseWheelEvent(::java::awt::event::MouseWheelEvent *); + virtual void processKeyEvent(::java::awt::event::KeyEvent *); +public: + virtual void requestFocus(); + virtual jboolean requestFocus(jboolean); +public: // actually package-private + SwingTextAreaPeer$SwingTextArea(::gnu::java::awt::peer::swing::SwingTextAreaPeer *, ::gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea *); + ::gnu::java::awt::peer::swing::SwingTextAreaPeer * __attribute__((aligned(__alignof__( ::javax::swing::JTextArea)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingTextAreaPeer$SwingTextArea__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer.h b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer.h new file mode 100644 index 000000000..2e58f536a --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingTextAreaPeer.h @@ -0,0 +1,78 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingTextAreaPeer__ +#define __gnu_java_awt_peer_swing_SwingTextAreaPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingComponentPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingTextAreaPeer; + class SwingTextAreaPeer$SwingTextArea; + } + } + } + } + } + namespace java + { + namespace awt + { + class Dimension; + class Rectangle; + class TextArea; + namespace im + { + class InputMethodRequests; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingTextAreaPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer +{ + +public: + SwingTextAreaPeer(::java::awt::TextArea *); + virtual ::java::awt::Dimension * getMinimumSize(jint, jint); + virtual ::java::awt::Dimension * getPreferredSize(jint, jint); + virtual void insert(::java::lang::String *, jint); + virtual void insertText(::java::lang::String *, jint); + virtual ::java::awt::Dimension * minimumSize(); + virtual ::java::awt::Dimension * preferredSize(); + virtual ::java::awt::Dimension * minimumSize(jint, jint); + virtual ::java::awt::Dimension * preferredSize(jint, jint); + virtual void replaceRange(::java::lang::String *, jint, jint); + virtual void replaceText(::java::lang::String *, jint, jint); + virtual jlong filterEvents(jlong); + virtual jint getCaretPosition(); + virtual ::java::awt::Rectangle * getCharacterBounds(jint); + virtual jint getIndexAtPoint(jint, jint); + virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests(); + virtual jint getSelectionEnd(); + virtual jint getSelectionStart(); + virtual ::java::lang::String * getText(); + virtual void select(jint, jint); + virtual void setCaretPosition(jint); + virtual void setEditable(jboolean); + virtual void setText(::java::lang::String *); + virtual void reshape(jint, jint, jint, jint); +private: + ::gnu::java::awt::peer::swing::SwingTextAreaPeer$SwingTextArea * __attribute__((aligned(__alignof__( ::gnu::java::awt::peer::swing::SwingComponentPeer)))) jTextArea; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingTextAreaPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer$SwingTextField.h b/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer$SwingTextField.h new file mode 100644 index 000000000..3a46f6719 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer$SwingTextField.h @@ -0,0 +1,80 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingTextFieldPeer$SwingTextField__ +#define __gnu_java_awt_peer_swing_SwingTextFieldPeer$SwingTextField__ + +#pragma interface + +#include <javax/swing/JTextField.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingTextFieldPeer; + class SwingTextFieldPeer$SwingTextField; + } + } + } + } + } + namespace java + { + namespace awt + { + class Container; + class Graphics; + class Image; + class Point; + class TextField; + namespace event + { + class FocusEvent; + class KeyEvent; + class MouseEvent; + } + } + } + namespace javax + { + namespace swing + { + class JComponent; + } + } +} + +class gnu::java::awt::peer::swing::SwingTextFieldPeer$SwingTextField : public ::javax::swing::JTextField +{ + +public: // actually package-private + SwingTextFieldPeer$SwingTextField(::gnu::java::awt::peer::swing::SwingTextFieldPeer *, ::java::awt::TextField *); +public: + virtual ::java::awt::Point * getLocationOnScreen(); + virtual jboolean isShowing(); + virtual ::java::awt::Image * createImage(jint, jint); + virtual ::javax::swing::JComponent * getJComponent(); + virtual void handleMouseEvent(::java::awt::event::MouseEvent *); + virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *); + virtual void handleKeyEvent(::java::awt::event::KeyEvent *); + virtual void handleFocusEvent(::java::awt::event::FocusEvent *); + virtual ::java::awt::Container * getParent(); + virtual ::java::awt::Graphics * getGraphics(); + virtual void requestFocus(); + virtual jboolean requestFocus(jboolean); +public: // actually package-private + ::java::awt::TextField * __attribute__((aligned(__alignof__( ::javax::swing::JTextField)))) textField; + ::gnu::java::awt::peer::swing::SwingTextFieldPeer * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingTextFieldPeer$SwingTextField__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer.h b/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer.h new file mode 100644 index 000000000..43d26d5b3 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingTextFieldPeer.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingTextFieldPeer__ +#define __gnu_java_awt_peer_swing_SwingTextFieldPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingComponentPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingTextFieldPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Dimension; + class Rectangle; + class TextField; + namespace im + { + class InputMethodRequests; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingTextFieldPeer : public ::gnu::java::awt::peer::swing::SwingComponentPeer +{ + +public: + SwingTextFieldPeer(::java::awt::TextField *); + virtual ::java::awt::Dimension * minimumSize(jint); + virtual ::java::awt::Dimension * preferredSize(jint); + virtual ::java::awt::Dimension * getMinimumSize(jint); + virtual ::java::awt::Dimension * getPreferredSize(jint); + virtual void setEchoChar(jchar); + virtual void setEchoCharacter(jchar); + virtual jint getSelectionEnd(); + virtual jint getSelectionStart(); + virtual ::java::lang::String * getText(); + virtual void setText(::java::lang::String *); + virtual void select(jint, jint); + virtual void setEditable(jboolean); + virtual jint getCaretPosition(); + virtual void setCaretPosition(jint); + virtual jint getIndexAtPoint(jint, jint); + virtual ::java::awt::Rectangle * getCharacterBounds(jint); + virtual jlong filterEvents(jlong); + virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingTextFieldPeer__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingToolkit.h b/libjava/gnu/java/awt/peer/swing/SwingToolkit.h new file mode 100644 index 000000000..9572f3f76 --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingToolkit.h @@ -0,0 +1,77 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingToolkit__ +#define __gnu_java_awt_peer_swing_SwingToolkit__ + +#pragma interface + +#include <gnu/java/awt/ClasspathToolkit.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingToolkit; + } + } + } + } + } + namespace java + { + namespace awt + { + class Button; + class Canvas; + class Dialog$ModalExclusionType; + class Dialog$ModalityType; + class Label; + class Menu; + class MenuBar; + class MenuItem; + class Panel; + class TextField; + namespace peer + { + class ButtonPeer; + class CanvasPeer; + class LabelPeer; + class MenuBarPeer; + class MenuItemPeer; + class MenuPeer; + class PanelPeer; + class TextFieldPeer; + } + } + } +} + +class gnu::java::awt::peer::swing::SwingToolkit : public ::gnu::java::awt::ClasspathToolkit +{ + +public: + SwingToolkit(); +public: // actually protected + virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *); + virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *); + virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *); + virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *); + virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *); + virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *); + virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *); + virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *); +public: + virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *); + virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingToolkit__ diff --git a/libjava/gnu/java/awt/peer/swing/SwingWindowPeer.h b/libjava/gnu/java/awt/peer/swing/SwingWindowPeer.h new file mode 100644 index 000000000..c4fc73fda --- /dev/null +++ b/libjava/gnu/java/awt/peer/swing/SwingWindowPeer.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_java_awt_peer_swing_SwingWindowPeer__ +#define __gnu_java_awt_peer_swing_SwingWindowPeer__ + +#pragma interface + +#include <gnu/java/awt/peer/swing/SwingContainerPeer.h> +extern "Java" +{ + namespace gnu + { + namespace java + { + namespace awt + { + namespace peer + { + namespace swing + { + class SwingWindowPeer; + } + } + } + } + } + namespace java + { + namespace awt + { + class Dialog; + class Window; + } + } +} + +class gnu::java::awt::peer::swing::SwingWindowPeer : public ::gnu::java::awt::peer::swing::SwingContainerPeer +{ + +public: + SwingWindowPeer(::java::awt::Window *); + virtual void updateIconImages(); + virtual void updateMinimumSize(); + virtual void setModalBlocked(::java::awt::Dialog *, jboolean); + virtual void updateFocusableWindowState(); + virtual void setAlwaysOnTop(jboolean); + virtual void toBack() = 0; + virtual void toFront() = 0; + virtual void updateAlwaysOnTop() = 0; + virtual jboolean requestWindowFocus() = 0; + static ::java::lang::Class class$; +}; + +#endif // __gnu_java_awt_peer_swing_SwingWindowPeer__ |