Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.1
public abstract class Toolkit extends Object { // Default Constructor: public Toolkit() // Class Methods public static synchronized Toolkit getDefaultToolkit(); 1.1 protected static Container getNativeContainer(Component c); 1.1 public static String getProperty(String key, String defaultValue); // Public Instance Methods 1.1 public abstract void beep(); public abstract int checkImage(Image image, int width, int height, ImageObserver observer); public abstract Image createImage(ImageProducer producer); 1.1 public Image createImage(byte[] imagedata); 1.1 public abstract Image createImage(byte[] imagedata, int imageoffset, int imagelength); public abstract ColorModel getColorModel(); public abstract String[] getFontList(); public abstract FontMetrics getFontMetrics(Font font); public abstract Image getImage(String filename); public abstract Image getImage(URL url); 1.1 public int getMenuShortcutKeyMask(); 1.1 public abstract PrintJob getPrintJob(Frame frame, String jobtitle, Properties props); public abstract int getScreenResolution(); public abstract Dimension getScreenSize(); 1.1 public abstract Clipboard getSystemClipboard(); 1.1 public final EventQueue getSystemEventQueue(); public abstract boolean prepareImage(Image image, int width, int height, ImageObserver observer); public abstract void sync(); // Protected Instance Methods protected abstract ButtonPeer createButton(Button target); protected abstract CanvasPeer createCanvas(Canvas target); protected abstract CheckboxPeer createCheckbox(Checkbox target); protected abstract CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem target); protected abstract ChoicePeer createChoice(Choice target); 1.1 protected LightweightPeer createComponent(Component target); protected abstract DialogPeer createDialog(Dialog target); protected abstract FileDialogPeer createFileDialog(FileDialog target); protected abstract FramePeer createFrame(Frame target); protected abstract LabelPeer createLabel(Label target); protected abstract ListPeer createList(List target); protected abstract MenuPeer createMenu(Menu target); protected abstract MenuBarPeer createMenuBar(MenuBar target); protected abstract MenuItemPeer createMenuItem(MenuItem target); protected abstract PanelPeer createPanel(Panel target); 1.1 protected abstract PopupMenuPeer createPopupMenu(PopupMenu target); 1.1 protected abstract ScrollPanePeer createScrollPane(ScrollPane target); protected abstract ScrollbarPeer createScrollbar(Scrollbar target); protected abstract TextAreaPeer createTextArea(TextArea target); protected abstract TextFieldPeer createTextField(TextField target); protected abstract WindowPeer createWindow(Window target); 1.1 protected abstract FontPeer getFontPeer(String name, int style); 1.1 protected abstract EventQueue getSystemEventQueueImpl(); 1.1 protected void loadSystemColors(int[] systemColors); }