// 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 java
  {
    namespace net
    {
      class URL;
    }
    namespace beans
    {
      class PropertyChangeListener;
      class PropertyChangeSupport;
    }
    namespace awt
    {
      namespace event
      {
        class AWTEventListener;
      }
      class Cursor;
      class Point;
      class EventQueue;
      namespace datatransfer
      {
        class Clipboard;
      }
      class PrintJob;
      class Image;
      class FontMetrics;
      class Font;
      namespace image
      {
        class ImageProducer;
        class ImageObserver;
        class ColorModel;
      }
      class Dimension;
      class CheckboxMenuItem;
      class FileDialog;
      class MenuItem;
      class PopupMenu;
      class Menu;
      class MenuBar;
      class Dialog;
      class Window;
      class Panel;
      class Canvas;
      class Frame;
      class Choice;
      class TextArea;
      class ScrollPane;
      class Scrollbar;
      class Checkbox;
      class List;
      class Label;
      class TextField;
      namespace peer
      {
        class FontPeer;
        class LightweightPeer;
        class CheckboxMenuItemPeer;
        class FileDialogPeer;
        class MenuItemPeer;
        class PopupMenuPeer;
        class MenuPeer;
        class MenuBarPeer;
        class DialogPeer;
        class WindowPeer;
        class PanelPeer;
        class CanvasPeer;
        class FramePeer;
        class ChoicePeer;
        class TextAreaPeer;
        class ScrollPanePeer;
        class ScrollbarPeer;
        class CheckboxPeer;
        class ListPeer;
        class LabelPeer;
        class TextFieldPeer;
        class ButtonPeer;
      }
      class Button;
      class Container;
      class Component;
      class Toolkit;
    }
  }
};

class ::java::awt::Toolkit : public ::java::lang::Object
{
public:
  static ::java::awt::Toolkit *getDefaultToolkit ();
  static ::java::lang::String *getProperty (::java::lang::String *, ::java::lang::String *);
public:  // actually protected
  static ::java::awt::Container *getNativeContainer (::java::awt::Component *);
public:
  Toolkit ();
public:  // actually protected
  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::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 *) { return 0; }
  virtual ::java::awt::peer::FontPeer *getFontPeer (::java::lang::String *, jint) = 0;
  virtual void loadSystemColors (jintArray) { }
public:
  virtual ::java::awt::Dimension *getScreenSize () = 0;
  virtual jint getScreenResolution () = 0;
  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;
  virtual ::java::awt::Image *getImage (::java::lang::String *) = 0;
  virtual ::java::awt::Image *getImage (::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 (jbyteArray, jint, jint) = 0;
  virtual ::java::awt::Image *createImage (jbyteArray);
  virtual ::java::awt::Image *createImage (::java::lang::String *) = 0;
  virtual ::java::awt::Image *createImage (::java::net::URL *) = 0;
  virtual ::java::awt::PrintJob *getPrintJob (::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *) = 0;
  virtual ::java::awt::datatransfer::Clipboard *getSystemClipboard () = 0;
  virtual jint getMenuShortcutKeyMask ();
  virtual jboolean getLockingKeyState (jint);
  virtual void setLockingKeyState (jint, jboolean);
  ::java::awt::EventQueue *getSystemEventQueue ();
public:  // actually protected
  virtual ::java::awt::EventQueue *getSystemEventQueueImpl () = 0;
public:
  virtual void beep () = 0;
  virtual ::java::awt::Cursor *createCustomCursor (::java::awt::Image *, ::java::awt::Point *, ::java::lang::String *) { return 0; }
  virtual ::java::awt::Dimension *getBestCursorSize (jint, jint);
  virtual jint getMaximumCursorColors ();
  ::java::lang::Object *getDesktopProperty (::java::lang::String *);
public:  // actually protected
  void setDesktopProperty (::java::lang::String *, ::java::lang::Object *);
  virtual ::java::lang::Object *lazilyLoadDesktopProperty (::java::lang::String *) { return 0; }
  virtual void initializeDesktopProperties () { }
public:
  virtual void addPropertyChangeListener (::java::lang::String *, ::java::beans::PropertyChangeListener *);
  virtual void removePropertyChangeListener (::java::lang::String *, ::java::beans::PropertyChangeListener *);
  virtual void addAWTEventListener (::java::awt::event::AWTEventListener *, jlong) { }
  virtual void removeAWTEventListener (::java::awt::event::AWTEventListener *) { }
private:
  static ::java::lang::String *default_toolkit_name;
  static ::java::awt::Toolkit *toolkit;
  static ::java::util::Properties *props;
  ::java::beans::PropertyChangeSupport *changeSupport;
  ::java::util::Properties *desktopProperties;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_awt_Toolkit__ */
