Additional top-level class in compilation unit: PostEventQueue.
Modifier and Type | Class and Description |
---|---|
public static class | |
pack-priv static class |
Modifier and Type | Field and Description |
---|---|
private static final Map | |
private static final ReentrantLock | AWT_LOCK
The AWT lock is typically only used on Unix platforms to synchronize access to Xlib, OpenGL, etc. However, these methods are implemented in SunToolkit so that they can be called from shared code (e.g. from the OGL pipeline) or from the X11 pipeline regardless of whether XToolkit is currently in use. |
private static final Condition | |
private static boolean | |
private static final Object | |
private static Dialog. | |
public static final int | |
private static RenderingHints | |
public static final String | |
pack-priv static final SoftCache | fileImgCache
Deprecated
as a consequence of
SoftCache being deprecated.
|
public static final int | GRAB_EVENT_MASK
Special mask for the UngrabEvent events, in addition to the public masks defined in AWTEvent. |
private static boolean | |
public static final int | |
private static final int | |
private static final int | |
private static final int | |
private SunToolkit. | |
protected static int | numberOfButtons
Number of buttons. |
private static final String | |
private static Locale | |
private static Boolean | |
private static boolean | |
pack-priv static final SoftCache | urlImgCache
Deprecated
as a consequence of
SoftCache being deprecated.
|
private static boolean | |
private final Object |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | |
public static final void | |
public static final void | |
public static final void | |
public static final void | |
public static final void | |
public static final boolean | |
public static final void | |
public boolean | |
public static void | |
public int | checkImage(Image
the image whose status is being checked. img, int the width of the scaled version whose status is
being checked, or w, int -1 .the height of the scaled version whose status
is being checked, or h, ImageObserver -1 .the o)ImageObserver object to be
notified as the image is being prepared.Implements abstract java. |
private static void | |
private static void | |
private int | |
public static native void | closeSplashScreen()
Locates the splash screen library in a platform dependent way and closes the splash screen. |
public static synchronized void | |
public Image | createImage(String
the name of a file containing pixel data
in a recognized file format. filename)Implements abstract java. |
public Image | createImage(URL
the URL to use in fetching the pixel data. url)Implements abstract java. |
public Image | createImage(byte[]
an array of bytes, representing
image data in a supported image format. data, int the offset of the beginning
of the data in the array. offset, int the length of the data in the array. length)Implements abstract java. |
public Image | createImage(ImageProducer
the image producer to be used. producer)Implements abstract java. |
public static Image | |
public Window | createInputMethodWindow(String title, InputContext context)
Implements sun. java. .
|
public abstract FramePeer | |
public static AppContext | |
pack-priv static final AppContext | |
public abstract SystemTrayPeer | |
public abstract TrayIconPeer | |
public void | disableBackgroundErase(Canvas canvas)
Disables erasing of background on the canvas before painting if this is supported by the current toolkit. |
public void | disableBackgroundErase(Component component)
Disables the native erasing of the background on the given component before painting if this is supported by the current toolkit. |
private void | |
public void | |
public void | |
protected static void | |
public boolean | enableInputMethodsForTextComponent()
Implements sun. |
public static void | |
public static void | |
public static void | |
public static void | |
private void | |
public static void | |
public static void | |
private static AppContext | |
public ColorModel | getColorModel()
Implements abstract java. |
public static Window | Returns: Window ancestor of the component or component by itself if it is Window; null, if component is not a part of window hierarchyReturns the |
public Locale | getDefaultKeyboardLocale()
Implements sun. |
public String | |
protected RenderingHints | |
private static RenderingHints | |
public static RenderingHints | |
public int | getFocusAcceleratorKeyMask()
Returns key modifiers used by Swing to set up a focus accelerator key stroke. |
public String[] | getFontList()
Implements abstract java. |
public FontMetrics | getFontMetrics(Font
a font font)Implements abstract java. |
public static Component | getHeavyweightComponent(Component c)
Gives native peers the ability to query the closest HW component. |
public Image | getImage(String
the name of a file containing pixel data
in a recognized file format. filename)Implements abstract java. |
public Image | getImage(URL
the URL to use in fetching the pixel data. url)Implements abstract java. |
pack-priv static Image | |
pack-priv static Image | |
protected Image | |
protected Image | |
public abstract KeyboardFocusManagerPeer | getKeyboardFocusManagerPeer()
Redeclares sun. |
protected static LightweightFrame | |
public static Container | getNativeContainer(Component
the component to fetch the container for c)
Give native peers the ability to query the native container
given a native component (eg the direct parent may be lightweight).
|
public int | |
private static ToolkitImage | |
private static int | |
public static DataBufferInt | |
public static BufferedImage | getScaledIconImage(List<Image> imageList, int width, int height)
Scans |
public Dimension | |
public static Locale | |
public static synchronized boolean | |
public static boolean | |
public static boolean | |
protected EventQueue | getSystemEventQueueImpl()
Implements abstract java. EventQueue
instance, without checking access.
|
pack-priv static EventQueue | |
public static EventQueue | |
public synchronized long | |
public abstract void | |
protected static boolean | |
protected static boolean | |
protected static boolean | |
protected static boolean | |
private static void | initEQ(AppContext
AppContext to associate with the event queue appContext)Creates and initializes EventQueue instance for the specified AppContext. |
private static void | |
public static void | |
public static void | |
public static final boolean | |
public static boolean | Returns: true if the passed component is not null and has a
containing toplevel window which is opaque (so per-pixel translucency
is not enabled), false otherwisea Component which toplevel's to check c)Returns whether or not a containing top level window for the passed
component is
|
public static boolean | Returns: true if the passed component is not null and has a
containing toplevel window which has opacity less than
1.0f (which means that it is translucent), false otherwisea Component which toplevel's to check c)Returns whether or not a containing top level window for the passed
component is
|
public abstract boolean | |
public static boolean | |
private boolean | |
public static boolean | Returns: true, if this object implements/extends the given interface/class, false, otherwise, or if obj or type is nullObject to be checked obj, String The name of the interface/class. Must be
fully-qualified interface/class name. type)Checks that the given object implements/extends the given interface/class. |
private static boolean | |
public static boolean | |
public static boolean | |
public static boolean | Returns: true if modal exclusion is supported by the toolkit, false otherwiseReturns whether the modal exclusion API is supported by the current toolkit. |
protected boolean | |
public boolean | isModalExclusionTypeSupported(Dialog.
modal exclusion type to be checked for support by this toolkit exclusionTypeImplements abstract java. |
public boolean | isModalityTypeSupported(Dialog.
modality type to be checked for support by this toolkit modalityTypeImplements abstract java. |
public boolean | |
public boolean | isPrintableCharacterModifiersMask(int mods)
Tests whether specified key modifiers mask can be used to enter a printable character. |
public boolean | Returns: true if running on Wayland, false otherwiseChecks if the system is running Linux with the Wayland server. |
public boolean | |
public static boolean | |
public abstract boolean | |
public static boolean | |
public boolean | |
public abstract boolean | |
public boolean | |
public boolean | |
public boolean | |
protected final boolean | |
public static boolean | Returns: true , if XEmbed is needed, false otherwiseReturns whether default toolkit needs the support of the xembed from embedding host(if any). |
protected boolean | Returns: true , if XEmbed is needed, false otherwiseReturns whether this toolkit needs the support of the xembed from embedding host(if any). |
public boolean | needUpdateWindow()
Returns whether the native system requires using the peer.updateWindow() method to update the contents of a non-opaque window, or if usual painting procedures are sufficient. |
pack-priv final void | |
public void | |
public void | |
public static void | |
public static void | |
public boolean | prepareImage(Image
the image for which to prepare a
screen representation. img, int the width of the desired screen
representation, or w, int -1 .the height of the desired screen
representation, or h, ImageObserver -1 .the o)ImageObserver
object to be notified as the
image is being prepared.Implements abstract java. |
private boolean | |
public void | realSync()
Parameterless version of |
public void | realSync(final long
the maximum time to wait in milliseconds, negative means "forever". timeout)Forces toolkit to synchronize with the native windowing sub-system, flushing all pending work and waiting for all the events to be processed. |
public void | |
public static void | |
private static boolean | |
public static void | setLWRequestStatus(Window
the window for which the lightweight focus request
status should be set changed, boolean the value of lightweight focus request status status)Sets the synchronous status of focus requests on lightweight components in the specified window to the specified value. |
public static void | |
public static void | |
public synchronized void | |
public void | |
protected abstract boolean | syncNativeQueue(long timeout)
Platform toolkits need to implement this method to perform the sync of the native queue. |
protected static void | |
protected static void | |
public static AppContext | |
protected static Object | |
protected long | |
public abstract void | |
public void | |
public boolean | |
private static boolean | |
private final boolean | |
pack-priv static void |