e1bea0c068
2007-05-31 Matthias Klose <doko@ubuntu.com> * javax/management/NotificationBroadcasterSupport.java (getNotificationInfo): Add cast. * native/jni/qt-peer/Makefile.am (AM_CXXFLAGS): Add libstdc++ include directories. * native/jni/qt-peer/Makefile.in: Regenerate. libjava/ChangeLog: 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/natFileWin32.cc (setFilePermissions): New (stub only). _access: Handle EXEC query, stub only. 2007-06-03 Matthias Klose <doko@ubuntu.com> Merged from classpath: * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge. * java/lang/System.java(inheritedChannel): New. * java/lang/Character.java: Remove stray`;'. * java/net/MulticastSocket.java: Merged. * java/text/DateFormatSymbols.java(getInstance): New, comment updates. * java/text/Collator.java(getInstance): Merged. * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG. getDisplayName, getDisplayNames: New. * java/util/logging/Logger.java: Merged. * Regenerate .class and .h files. 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/File.java: Merge with classpath-0.95, new method setFilePermissions, new attribute EXEC. * java/io/natFilePosix.cc (setFilePermissions): New. _access: Handle EXEC query. * classpath/lib/java/io/File.class, java/io/File.h: Regenerate. 2007-06-03 Matthias Klose <doko@ubuntu.com> Imported GNU Classpath 0.95. * classpath/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/native-lib/Makefile.in, classpath/native/jni/java-util/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/jni/qt-peer/Makefile.in, classpath/native/jni/gtk-peer/Makefile.in, classpath/native/Makefile.in, classpath/native/jawt/Makefile.in, classpath/native/fdlibm/Makefile.in, classpath/native/plugin/Makefile.in, classpath/resource/Makefile.in, classpath/scripts/Makefile.in, classpath/tools/Makefile.in, classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, classpath/lib/Makefile.in, classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, classpath/external/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/include/Makefile.in, classpath/examples/Makefile.in: Regenerate. * classpath/config.guess, classpath/config.sub, classpath/ltmain.sh : Update. * classpath/configure, classpath/depcomp, classpath/missing, classpath/aclocal.m4, classpath/install-sh: Regenerate. * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95. * sources.am: Regenerate. * Makefile.in: Regenerate. * Update the .class files and generated CNI header files, add new .class and generated CNI header files. * Remove generated files for removed java source files: classpath/gnu/java/net/BASE64.java, classpath/gnu/java/security/util/Base64.java, classpath/gnu/java/awt/peer/gtk/GThreadMutex.java, classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, classpath/gnu/java/awt/font/autofit/Scaler.java, classpath/gnu/classpath/jdwp/util/Value.java, classpath/gnu/javax/net/ssl/Base64.java. * Remove empty directories. * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc. * java/lang/Class.java(setAccessible): Merge from classpath. * java/util/Locale.java: Remove. * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java, gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New. * gcj/javaprims.h: Update class declarations. * scripts/classes.pl: Update usage. * HACKING: Mention to build all peers. From-SVN: r125302
249 lines
9.7 KiB
C++
249 lines
9.7 KiB
C++
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
#ifndef __java_awt_Toolkit__
|
|
#define __java_awt_Toolkit__
|
|
|
|
#pragma interface
|
|
|
|
#include <java/lang/Object.h>
|
|
#include <gcj/array.h>
|
|
|
|
extern "Java"
|
|
{
|
|
namespace gnu
|
|
{
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
namespace peer
|
|
{
|
|
class GLightweightPeer;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
namespace java
|
|
{
|
|
namespace awt
|
|
{
|
|
class AWTEvent;
|
|
class Button;
|
|
class Canvas;
|
|
class Checkbox;
|
|
class CheckboxMenuItem;
|
|
class Choice;
|
|
class Component;
|
|
class Container;
|
|
class Cursor;
|
|
class Desktop;
|
|
class Dialog;
|
|
class Dimension;
|
|
class EventQueue;
|
|
class FileDialog;
|
|
class Font;
|
|
class FontMetrics;
|
|
class Frame;
|
|
class GraphicsConfiguration;
|
|
class Image;
|
|
class Insets;
|
|
class JobAttributes;
|
|
class Label;
|
|
class List;
|
|
class Menu;
|
|
class MenuBar;
|
|
class MenuItem;
|
|
class PageAttributes;
|
|
class Panel;
|
|
class Point;
|
|
class PopupMenu;
|
|
class PrintJob;
|
|
class ScrollPane;
|
|
class Scrollbar;
|
|
class TextArea;
|
|
class TextField;
|
|
class Toolkit;
|
|
class Window;
|
|
namespace datatransfer
|
|
{
|
|
class Clipboard;
|
|
}
|
|
namespace dnd
|
|
{
|
|
class DragGestureEvent;
|
|
class DragGestureListener;
|
|
class DragGestureRecognizer;
|
|
class DragSource;
|
|
namespace peer
|
|
{
|
|
class DragSourceContextPeer;
|
|
}
|
|
}
|
|
namespace event
|
|
{
|
|
class AWTEventListener;
|
|
class AWTEventListenerProxy;
|
|
}
|
|
namespace im
|
|
{
|
|
class InputMethodHighlight;
|
|
}
|
|
namespace image
|
|
{
|
|
class ColorModel;
|
|
class ImageObserver;
|
|
class ImageProducer;
|
|
}
|
|
namespace peer
|
|
{
|
|
class ButtonPeer;
|
|
class CanvasPeer;
|
|
class CheckboxMenuItemPeer;
|
|
class CheckboxPeer;
|
|
class ChoicePeer;
|
|
class DesktopPeer;
|
|
class DialogPeer;
|
|
class FileDialogPeer;
|
|
class FontPeer;
|
|
class FramePeer;
|
|
class LabelPeer;
|
|
class LightweightPeer;
|
|
class ListPeer;
|
|
class MenuBarPeer;
|
|
class MenuItemPeer;
|
|
class MenuPeer;
|
|
class MouseInfoPeer;
|
|
class PanelPeer;
|
|
class PopupMenuPeer;
|
|
class ScrollPanePeer;
|
|
class ScrollbarPeer;
|
|
class TextAreaPeer;
|
|
class TextFieldPeer;
|
|
class WindowPeer;
|
|
}
|
|
}
|
|
namespace beans
|
|
{
|
|
class PropertyChangeListener;
|
|
class PropertyChangeSupport;
|
|
}
|
|
namespace net
|
|
{
|
|
class URL;
|
|
}
|
|
}
|
|
}
|
|
|
|
class java::awt::Toolkit : public ::java::lang::Object
|
|
{
|
|
|
|
public:
|
|
Toolkit();
|
|
public: // actually protected
|
|
virtual ::java::awt::peer::DesktopPeer * createDesktopPeer(::java::awt::Desktop *) = 0;
|
|
virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *) = 0;
|
|
virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *) = 0;
|
|
virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *) = 0;
|
|
virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *) = 0;
|
|
virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *) = 0;
|
|
virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *) = 0;
|
|
virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *) = 0;
|
|
virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *) = 0;
|
|
virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *) = 0;
|
|
virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *) = 0;
|
|
virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *) = 0;
|
|
virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *) = 0;
|
|
virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *) = 0;
|
|
virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *) = 0;
|
|
virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *) = 0;
|
|
virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *) = 0;
|
|
virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *) = 0;
|
|
virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *) = 0;
|
|
virtual ::java::awt::peer::MouseInfoPeer * getMouseInfoPeer();
|
|
virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *) = 0;
|
|
virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *) = 0;
|
|
virtual ::java::awt::peer::LightweightPeer * createComponent(::java::awt::Component *);
|
|
virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint) = 0;
|
|
virtual void loadSystemColors(JArray< jint > *);
|
|
public:
|
|
virtual void setDynamicLayout(jboolean);
|
|
public: // actually protected
|
|
virtual jboolean isDynamicLayoutSet();
|
|
public:
|
|
virtual jboolean isDynamicLayoutActive();
|
|
virtual ::java::awt::Dimension * getScreenSize() = 0;
|
|
virtual jint getScreenResolution() = 0;
|
|
virtual ::java::awt::Insets * getScreenInsets(::java::awt::GraphicsConfiguration *);
|
|
virtual ::java::awt::image::ColorModel * getColorModel() = 0;
|
|
virtual JArray< ::java::lang::String * > * getFontList() = 0;
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
|
|
virtual void sync() = 0;
|
|
static ::java::awt::Toolkit * getDefaultToolkit();
|
|
virtual ::java::awt::Image * getImage(::java::lang::String *) = 0;
|
|
virtual ::java::awt::Image * getImage(::java::net::URL *) = 0;
|
|
virtual ::java::awt::Image * createImage(::java::lang::String *) = 0;
|
|
virtual ::java::awt::Image * createImage(::java::net::URL *) = 0;
|
|
virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
|
virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
|
virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
|
|
virtual ::java::awt::Image * createImage(JArray< jbyte > *);
|
|
virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint) = 0;
|
|
virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *) = 0;
|
|
virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::awt::JobAttributes *, ::java::awt::PageAttributes *);
|
|
virtual void beep() = 0;
|
|
virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard() = 0;
|
|
virtual ::java::awt::datatransfer::Clipboard * getSystemSelection();
|
|
virtual jint getMenuShortcutKeyMask();
|
|
virtual jboolean getLockingKeyState(jint);
|
|
virtual void setLockingKeyState(jint, jboolean);
|
|
public: // actually protected
|
|
static ::java::awt::Container * getNativeContainer(::java::awt::Component *);
|
|
public:
|
|
virtual ::java::awt::Cursor * createCustomCursor(::java::awt::Image *, ::java::awt::Point *, ::java::lang::String *);
|
|
virtual ::java::awt::Dimension * getBestCursorSize(jint, jint);
|
|
virtual jint getMaximumCursorColors();
|
|
virtual jboolean isFrameStateSupported(jint);
|
|
static ::java::lang::String * getProperty(::java::lang::String *, ::java::lang::String *);
|
|
virtual ::java::awt::EventQueue * getSystemEventQueue();
|
|
public: // actually protected
|
|
virtual ::java::awt::EventQueue * getSystemEventQueueImpl() = 0;
|
|
public:
|
|
virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *) = 0;
|
|
virtual ::java::awt::dnd::DragGestureRecognizer * createDragGestureRecognizer(::java::lang::Class *, ::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
|
|
virtual ::java::lang::Object * getDesktopProperty(::java::lang::String *);
|
|
public: // actually protected
|
|
virtual void setDesktopProperty(::java::lang::String *, ::java::lang::Object *);
|
|
virtual ::java::lang::Object * lazilyLoadDesktopProperty(::java::lang::String *);
|
|
virtual void initializeDesktopProperties();
|
|
public:
|
|
virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
|
|
virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
|
|
virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
|
|
virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
|
|
virtual void addAWTEventListener(::java::awt::event::AWTEventListener *, jlong);
|
|
virtual void removeAWTEventListener(::java::awt::event::AWTEventListener *);
|
|
virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners();
|
|
virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners(jlong);
|
|
public: // actually package-private
|
|
virtual void globalDispatchEvent(::java::awt::AWTEvent *);
|
|
public:
|
|
virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *) = 0;
|
|
private:
|
|
static void initAccessibility();
|
|
static ::java::lang::String * default_toolkit_name;
|
|
static ::java::awt::Toolkit * toolkit;
|
|
static ::java::util::Properties * props;
|
|
public: // actually protected
|
|
::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) desktopProperties;
|
|
::java::beans::PropertyChangeSupport * desktopPropsSupport;
|
|
public: // actually package-private
|
|
JArray< ::java::awt::event::AWTEventListenerProxy * > * awtEventListeners;
|
|
private:
|
|
::gnu::java::awt::peer::GLightweightPeer * lightweightPeer;
|
|
public:
|
|
static ::java::lang::Class class$;
|
|
};
|
|
|
|
#endif // __java_awt_Toolkit__
|