Method Summary |
|
public void | addAWTEventListener(AWTEventListener listener, long eventMask) |
public void | addPropertyChangeListener(String propName, PropertyChangeListener l) |
abstract public void | beep() |
static void | checkHeadless() |
abstract public int | checkImage(Image a0, int a1, int a2, ImageObserver a3) |
abstract protected ButtonPeer | createButton(Button a0) |
abstract protected CanvasPeer | createCanvas(Canvas a0) |
abstract protected CheckboxPeer | createCheckbox(Checkbox a0) |
abstract protected CheckboxMenuItemPeer | createCheckboxMenuItem(CheckboxMenuItem a0) |
abstract protected ChoicePeer | createChoice(Choice a0) |
protected LightweightPeer | createComponent(Component a0) |
public Cursor | createCustomCursor(Image img, Point hotSpot, String name) |
NativeCursor | createCustomNativeCursor(Image img, Point hotSpot, String name) |
abstract protected DialogPeer | createDialog(Dialog a0) |
public T | createDragGestureRecognizer(Class<T> recognizerAbstractClass, DragSource ds, Component c, int srcActions, DragGestureListener dgl) |
abstract public DragSourceContextPeer | createDragSourceContextPeer(DragGestureEvent a0) |
NativeWindow | createEmbeddedNativeWindow(EmbeddedWindow ew) |
abstract protected FileDialogPeer | createFileDialog(FileDialog a0) |
NativeWindow | createFocusProxyNativeWindow(Window owner) |
abstract protected FramePeer | createFrame(Frame a0) |
abstract public Image | createImage(ImageProducer a0) |
abstract public Image | createImage(byte[] a0, int a1, int a2) |
abstract public Image | createImage(URL a0) |
abstract public Image | createImage(String a0) |
public Image | createImage(byte[] imagedata) |
abstract protected LabelPeer | createLabel(Label a0) |
abstract protected ListPeer | createList(List a0) |
abstract protected MenuPeer | createMenu(Menu a0) |
abstract protected MenuBarPeer | createMenuBar(MenuBar a0) |
abstract protected MenuItemPeer | createMenuItem(MenuItem a0) |
NativeCursor | createNativeCursor(int type) |
NativeWindow | createNativeWindow(Component c) |
abstract protected PanelPeer | createPanel(Panel a0) |
abstract protected PopupMenuPeer | createPopupMenu(PopupMenu a0) |
NativeWindow | createPopupNativeWindow(PopupBox popup) |
abstract protected ScrollPanePeer | createScrollPane(ScrollPane a0) |
abstract protected ScrollbarPeer | createScrollbar(Scrollbar a0) |
abstract protected TextAreaPeer | createTextArea(TextArea a0) |
abstract protected TextFieldPeer | createTextField(TextField a0) |
abstract protected WindowPeer | createWindow(Window a0) |
void | dispatchAWTEvent(AWTEvent event) |
public AWTEventListener[] | getAWTEventListeners() |
public AWTEventListener[] | getAWTEventListeners(long eventMask) |
public Dimension | getBestCursorSize(int prefWidth, int prefHeight) |
abstract public ColorModel | getColorModel() |
Component | getComponentById(long id) |
Font | getDefaultFont() |
public static Toolkit | getDefaultToolkit() |
final public Object | getDesktopProperty(String propName) |
Object | getEventMonitor() |
Window | getFocusProxyOwnerById(long id) |
abstract public String[] | getFontList() |
abstract public FontMetrics | getFontMetrics(Font font) |
abstract protected FontPeer | getFontPeer(String a0, int a1) |
GraphicsFactory | getGraphicsFactory() |
abstract public Image | getImage(String a0) |
abstract public Image | getImage(URL a0) |
public boolean | getLockingKeyState(int keyCode) |
public int | getMaximumCursorColors() |
public int | getMenuShortcutKeyMask() |
protected java.awt.peer.MouseInfoPeer | getMouseInfoPeer() |
protected static Container | getNativeContainer(Component c) |
NativeEventQueue | getNativeEventQueue() |
NativeMouseInfo | getNativeMouseInfo() Returns implementation of org.apache.harmony.awt.wtk.NativeMouseInfo
for current platform. |
PopupBox | getPopupBoxById(long id) |
abstract public PrintJob | getPrintJob(Frame a0, String a1, Properties a2) |
public PrintJob | getPrintJob(Frame a0, String a1, JobAttributes a2, PageAttributes a3) |
public static String | getProperty(String propName, String defVal) |
public PropertyChangeListener[] | getPropertyChangeListeners() |
public PropertyChangeListener[] | getPropertyChangeListeners(String propName) |
public Insets | getScreenInsets(GraphicsConfiguration gc) |
abstract public int | getScreenResolution() |
abstract public Dimension | getScreenSize() |
final Synchronizer | getSynchronizer() |
abstract public Clipboard | getSystemClipboard() |
final public EventQueue | getSystemEventQueue() |
EventQueueCore | getSystemEventQueueCore() |
abstract protected EventQueue | getSystemEventQueueImpl() |
public Clipboard | getSystemSelection() |
final WTK | getWTK() |
WindowFactory | getWindowFactory() |
void | init() |
protected void | initializeDesktopProperties() |
public boolean | isDynamicLayoutActive() |
protected boolean | isDynamicLayoutSet() |
public boolean | isFrameStateSupported(int state) |
protected Object | lazilyLoadDesktopProperty(String propName) |
protected void | loadSystemColors(int[] colors) |
final void | lockAWT() |
abstract public Map<java.awt.font.TextAttribute, ?> | mapInputMethodHighlight(InputMethodHighlight highlight) |
Map<java.awt.font.TextAttribute, ?> | mapInputMethodHighlightImpl(InputMethodHighlight highlight) |
void | nativeWindowCreated(NativeWindow win) Connect the component to its native window
This method is called after the synchronous window creation,
and also in the window creation callback if it exists (WM_CREATE on Windows)
Calling this method twice is OK because in second time it just does nothing.
This is done this way because on Windows the native window gets a series of native
events before windowFactory.CreateWindow() returns, and the WinWindow object should be created
to process them. |
void | onQueueEmpty() |
boolean | onWindowCreated(long winId) |
abstract public boolean | prepareImage(Image a0, int a1, int a2, ImageObserver a3) |
public void | removeAWTEventListener(AWTEventListener listener) |
void | removeFocusProxyNativeWindow(NativeWindow w) |
void | removeNativeWindow(NativeWindow w) |
void | removePopupNativeWindow(NativeWindow w) |
public void | removePropertyChangeListener(String propName, PropertyChangeListener l) |
final protected void | setDesktopProperty(String propName, Object value) |
public void | setDynamicLayout(boolean dynamic) |
public void | setLockingKeyState(int keyCode, boolean on) |
void | setSystemEventQueueCore(EventQueueCore core) |
final static void | staticLockAWT() |
final static void | staticUnlockAWT() |
abstract public void | sync() |
final void | unlockAWT() |
final void | unsafeInvokeAndWait(Runnable runnable) InvokeAndWait under AWT lock. |