| java.lang.Object java.awt.Toolkit java.awt.ToolkitImpl
All known Subclasses: java.awt.HeadlessToolkit,
Method Summary | |
public void | beep() | public int | checkImage(Image image, int width, int height, ImageObserver observer) | protected ButtonPeer | createButton(Button a0) | protected CanvasPeer | createCanvas(Canvas a0) | protected CheckboxPeer | createCheckbox(Checkbox a0) | protected CheckboxMenuItemPeer | createCheckboxMenuItem(CheckboxMenuItem a0) | protected ChoicePeer | createChoice(Choice a0) | protected DialogPeer | createDialog(Dialog a0) | public DragSourceContextPeer | createDragSourceContextPeer(DragGestureEvent dge) | protected FileDialogPeer | createFileDialog(FileDialog a0) | protected FramePeer | createFrame(Frame a0) | public Image | createImage(ImageProducer producer) | public Image | createImage(byte[] imagedata, int imageoffset, int imagelength) | public Image | createImage(URL url) | public Image | createImage(String filename) | protected LabelPeer | createLabel(Label a0) | protected ListPeer | createList(List a0) | protected MenuPeer | createMenu(Menu a0) | protected MenuBarPeer | createMenuBar(MenuBar a0) | protected MenuItemPeer | createMenuItem(MenuItem a0) | protected PanelPeer | createPanel(Panel a0) | protected PopupMenuPeer | createPopupMenu(PopupMenu a0) | protected ScrollPanePeer | createScrollPane(ScrollPane a0) | protected ScrollbarPeer | createScrollbar(Scrollbar a0) | protected TextAreaPeer | createTextArea(TextArea a0) | protected TextFieldPeer | createTextField(TextField a0) | protected WindowPeer | createWindow(Window a0) | public ColorModel | getColorModel() | public String[] | getFontList() | public FontMetrics | getFontMetrics(Font font) Returns FontMetrics object that keeps metrics of the specified font. | protected FontPeer | getFontPeer(String a0, int a1) | public Image | getImage(String filename) | static Image | getImage(String filename, Toolkit toolkit) | public Image | getImage(URL url) | static Image | getImage(URL url, Toolkit toolkit) | public PrintJob | getPrintJob(Frame a0, String a1, Properties a2) | public int | getScreenResolution() | public Dimension | getScreenSize() | public Clipboard | getSystemClipboard() | protected EventQueue | getSystemEventQueueImpl() | public Map<java.awt.font.TextAttribute, ?> | mapInputMethodHighlight(InputMethodHighlight highlight) | public boolean | prepareImage(Image image, int width, int height, ImageObserver observer) | public void | sync() |
createImage | public Image createImage(byte[] imagedata, int imageoffset, int imagelength)(Code) | | |
getFontMetrics | public FontMetrics getFontMetrics(Font font)(Code) | | Returns FontMetrics object that keeps metrics of the specified font.
Parameters: font - specified Font FontMetrics object corresponding to the specified Font object |
Methods inherited from java.awt.Toolkit | public void addAWTEventListener(AWTEventListener listener, long eventMask)(Code)(Java Doc) public void addPropertyChangeListener(String propName, PropertyChangeListener l)(Code)(Java Doc) abstract public void beep()(Code)(Java Doc) static void checkHeadless() throws HeadlessException(Code)(Java Doc) abstract public int checkImage(Image a0, int a1, int a2, ImageObserver a3)(Code)(Java Doc) abstract protected ButtonPeer createButton(Button a0) throws HeadlessException(Code)(Java Doc) abstract protected CanvasPeer createCanvas(Canvas a0)(Code)(Java Doc) abstract protected CheckboxPeer createCheckbox(Checkbox a0) throws HeadlessException(Code)(Java Doc) abstract protected CheckboxMenuItemPeer createCheckboxMenuItem(CheckboxMenuItem a0) throws HeadlessException(Code)(Java Doc) abstract protected ChoicePeer createChoice(Choice a0) throws HeadlessException(Code)(Java Doc) protected LightweightPeer createComponent(Component a0) throws org.apache.harmony.luni.util.NotImplementedException(Code)(Java Doc) public Cursor createCustomCursor(Image img, Point hotSpot, String name) throws IndexOutOfBoundsException, HeadlessException(Code)(Java Doc) NativeCursor createCustomNativeCursor(Image img, Point hotSpot, String name)(Code)(Java Doc) abstract protected DialogPeer createDialog(Dialog a0) throws HeadlessException(Code)(Java Doc) public T createDragGestureRecognizer(Class<T> recognizerAbstractClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl)(Code)(Java Doc) abstract public DragSourceContextPeer createDragSourceContextPeer(DragGestureEvent a0) throws InvalidDnDOperationException(Code)(Java Doc) NativeWindow createEmbeddedNativeWindow(EmbeddedWindow ew)(Code)(Java Doc) abstract protected FileDialogPeer createFileDialog(FileDialog a0) throws HeadlessException(Code)(Java Doc) NativeWindow createFocusProxyNativeWindow(Window owner)(Code)(Java Doc) abstract protected FramePeer createFrame(Frame a0) throws HeadlessException(Code)(Java Doc) abstract public Image createImage(ImageProducer a0)(Code)(Java Doc) abstract public Image createImage(byte[] a0, int a1, int a2)(Code)(Java Doc) abstract public Image createImage(URL a0)(Code)(Java Doc) abstract public Image createImage(String a0)(Code)(Java Doc) public Image createImage(byte[] imagedata)(Code)(Java Doc) abstract protected LabelPeer createLabel(Label a0) throws HeadlessException(Code)(Java Doc) abstract protected ListPeer createList(List a0) throws HeadlessException(Code)(Java Doc) abstract protected MenuPeer createMenu(Menu a0) throws HeadlessException(Code)(Java Doc) abstract protected MenuBarPeer createMenuBar(MenuBar a0) throws HeadlessException(Code)(Java Doc) abstract protected MenuItemPeer createMenuItem(MenuItem a0) throws HeadlessException(Code)(Java Doc) NativeCursor createNativeCursor(int type)(Code)(Java Doc) NativeWindow createNativeWindow(Component c)(Code)(Java Doc) abstract protected PanelPeer createPanel(Panel a0)(Code)(Java Doc) abstract protected PopupMenuPeer createPopupMenu(PopupMenu a0) throws HeadlessException(Code)(Java Doc) NativeWindow createPopupNativeWindow(PopupBox popup)(Code)(Java Doc) abstract protected ScrollPanePeer createScrollPane(ScrollPane a0) throws HeadlessException(Code)(Java Doc) abstract protected ScrollbarPeer createScrollbar(Scrollbar a0) throws HeadlessException(Code)(Java Doc) abstract protected TextAreaPeer createTextArea(TextArea a0) throws HeadlessException(Code)(Java Doc) abstract protected TextFieldPeer createTextField(TextField a0) throws HeadlessException(Code)(Java Doc) abstract protected WindowPeer createWindow(Window a0) throws HeadlessException(Code)(Java Doc) void dispatchAWTEvent(AWTEvent event)(Code)(Java Doc) public AWTEventListener[] getAWTEventListeners()(Code)(Java Doc) public AWTEventListener[] getAWTEventListeners(long eventMask)(Code)(Java Doc) public Dimension getBestCursorSize(int prefWidth, int prefHeight) throws HeadlessException(Code)(Java Doc) abstract public ColorModel getColorModel() throws HeadlessException(Code)(Java Doc) Component getComponentById(long id)(Code)(Java Doc) Font getDefaultFont()(Code)(Java Doc) public static Toolkit getDefaultToolkit()(Code)(Java Doc) final public Object getDesktopProperty(String propName)(Code)(Java Doc) Object getEventMonitor()(Code)(Java Doc) Window getFocusProxyOwnerById(long id)(Code)(Java Doc) abstract public String[] getFontList()(Code)(Java Doc) abstract public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) abstract protected FontPeer getFontPeer(String a0, int a1)(Code)(Java Doc) GraphicsFactory getGraphicsFactory()(Code)(Java Doc) abstract public Image getImage(String a0)(Code)(Java Doc) abstract public Image getImage(URL a0)(Code)(Java Doc) public boolean getLockingKeyState(int keyCode) throws UnsupportedOperationException(Code)(Java Doc) public int getMaximumCursorColors() throws HeadlessException(Code)(Java Doc) public int getMenuShortcutKeyMask() throws HeadlessException(Code)(Java Doc) protected java.awt.peer.MouseInfoPeer getMouseInfoPeer()(Code)(Java Doc) protected static Container getNativeContainer(Component c)(Code)(Java Doc) NativeEventQueue getNativeEventQueue()(Code)(Java Doc) NativeMouseInfo getNativeMouseInfo()(Code)(Java Doc) PopupBox getPopupBoxById(long id)(Code)(Java Doc) abstract public PrintJob getPrintJob(Frame a0, String a1, Properties a2)(Code)(Java Doc) public PrintJob getPrintJob(Frame a0, String a1, JobAttributes a2, PageAttributes a3) throws org.apache.harmony.luni.util.NotImplementedException(Code)(Java Doc) public static String getProperty(String propName, String defVal)(Code)(Java Doc) public PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public PropertyChangeListener[] getPropertyChangeListeners(String propName)(Code)(Java Doc) public Insets getScreenInsets(GraphicsConfiguration gc) throws HeadlessException(Code)(Java Doc) abstract public int getScreenResolution() throws HeadlessException(Code)(Java Doc) abstract public Dimension getScreenSize() throws HeadlessException(Code)(Java Doc) final Synchronizer getSynchronizer()(Code)(Java Doc) abstract public Clipboard getSystemClipboard() throws HeadlessException(Code)(Java Doc) final public EventQueue getSystemEventQueue()(Code)(Java Doc) EventQueueCore getSystemEventQueueCore()(Code)(Java Doc) abstract protected EventQueue getSystemEventQueueImpl()(Code)(Java Doc) public Clipboard getSystemSelection() throws HeadlessException(Code)(Java Doc) final WTK getWTK()(Code)(Java Doc) WindowFactory getWindowFactory()(Code)(Java Doc) void init()(Code)(Java Doc) protected void initializeDesktopProperties()(Code)(Java Doc) public boolean isDynamicLayoutActive() throws HeadlessException(Code)(Java Doc) protected boolean isDynamicLayoutSet() throws HeadlessException(Code)(Java Doc) public boolean isFrameStateSupported(int state) throws HeadlessException(Code)(Java Doc) protected Object lazilyLoadDesktopProperty(String propName)(Code)(Java Doc) protected void loadSystemColors(int[] colors) throws HeadlessException(Code)(Java Doc) final void lockAWT()(Code)(Java Doc) abstract public Map<java.awt.font.TextAttribute, ?> mapInputMethodHighlight(InputMethodHighlight highlight) throws HeadlessException(Code)(Java Doc) Map<java.awt.font.TextAttribute, ?> mapInputMethodHighlightImpl(InputMethodHighlight highlight) throws HeadlessException(Code)(Java Doc) void nativeWindowCreated(NativeWindow win)(Code)(Java Doc) void onQueueEmpty()(Code)(Java Doc) boolean onWindowCreated(long winId)(Code)(Java Doc) abstract public boolean prepareImage(Image a0, int a1, int a2, ImageObserver a3)(Code)(Java Doc) public void removeAWTEventListener(AWTEventListener listener)(Code)(Java Doc) void removeFocusProxyNativeWindow(NativeWindow w)(Code)(Java Doc) void removeNativeWindow(NativeWindow w)(Code)(Java Doc) void removePopupNativeWindow(NativeWindow w)(Code)(Java Doc) public void removePropertyChangeListener(String propName, PropertyChangeListener l)(Code)(Java Doc) final protected void setDesktopProperty(String propName, Object value)(Code)(Java Doc) public void setDynamicLayout(boolean dynamic) throws HeadlessException(Code)(Java Doc) public void setLockingKeyState(int keyCode, boolean on) throws UnsupportedOperationException(Code)(Java Doc) void setSystemEventQueueCore(EventQueueCore core)(Code)(Java Doc) final static void staticLockAWT()(Code)(Java Doc) final static void staticUnlockAWT()(Code)(Java Doc) abstract public void sync()(Code)(Java Doc) final void unlockAWT()(Code)(Java Doc) final void unsafeInvokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException(Code)(Java Doc)
|
|
|