| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| pack-priv Set | |
| public static final String | |
| pack-priv static final int | |
| public static final String | |
| private XCreateWindowParams | |
| public static final String | |
| private boolean | |
| public static final String | |
| pack-priv boolean | |
| public static final String | |
| private static final PlatformLogger | |
| private static final PlatformLogger | |
| private static final PlatformLogger | |
| pack-priv int | |
| private XSizeHints | |
| private XBaseWindow. | |
| private static final PlatformLogger | |
| private static final PlatformLogger | |
| pack-priv boolean | |
| pack-priv Rectangle | |
| pack-priv static final int | |
| public static final String | |
| public static final String | |
| public static final String | |
| pack-priv volatile XBaseWindow | |
| public static final String | |
| private long | |
| protected XBaseWindow. | |
| public static final String | |
| public static final String | |
| pack-priv boolean | |
| public static final String | |
| public static final String | |
| pack-priv int | |
| pack-priv long | |
| private static XAtom | |
| private XWMHints | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public boolean | |
| protected void | |
| public boolean | |
| public boolean | |
| private void | |
| pack-priv void | |
| public void | |
| pack-priv static void | dispatchToWindow(XEvent ev)
Dispatches event to the grab Window or event source window depending on whether the grab is active and on the event type |
| pack-priv void | |
| public int | |
| public int | |
| public Rectangle | |
| public Set | |
| public long | |
| public XBaseWindow | |
| public XCreateWindowParams | |
| pack-priv int | |
| public XSizeHints | |
| public XBaseWindow | |
| protected int | |
| pack-priv long | |
| pack-priv long | |
| pack-priv static long | |
| public Dimension | |
| pack-priv Object | getStateLock()
This lock object can be used to protect instance data from concurrent access by two threads. |
| public XWindowPeer | |
| pack-priv int | |
| public long | |
| public XWMHints | |
| protected String | |
| pack-priv int | |
| pack-priv static XRootWindow | |
| pack-priv int | |
| public boolean | |
| public void | handleButtonPressRelease(XEvent xev)
Activate automatic grab on first ButtonPress, deactivate on full mouse release |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected final void | |
| protected final void | init(XCreateWindowParams params)
Creates window using parameters |
| protected void | |
| pack-priv void | |
| pack-priv boolean | |
| protected boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv boolean | |
| public boolean | |
| pack-priv boolean | |
| protected final void | |
| pack-priv void | postInit(XCreateWindowParams params)
Called after window creation, descendants should override to initialize Window with class-specific values and perform post-initialization actions. |
| protected final void | |
| pack-priv void | preInit(XCreateWindowParams params)
Called before window creation, descendants should override to initialize the data, initialize params. |
| protected int | |
| protected int | |
| pack-priv void | |
| public void | |
| pack-priv void | |
| public final void | |
| public void | |
| pack-priv Rectangle | |
| pack-priv Point | |
| pack-priv Point | |
| pack-priv Point | |
| pack-priv Point | |
| pack-priv static Point | Returns: coordinates relative to dst, or null if error happenedTranslate coordinates from one window into another. |
| public String | |
| public static void | |
| pack-priv void | |
| pack-priv void | |
| public static long | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| BACKGROUND_PIXMAP | back to summary |
|---|---|
| public static final String BACKGROUND_PIXMAP | |
| BACKING_STORE | back to summary |
|---|---|
| public static final String BACKING_STORE | |
| BIT_GRAVITY | back to summary |
|---|---|
| public static final String BIT_GRAVITY | |
| BORDER_PIXEL | back to summary |
|---|---|
| public static final String BORDER_PIXEL | |
| BOUNDS | back to summary |
|---|---|
| public static final String BOUNDS | |
| children | back to summary |
|---|---|
| pack-priv Set<Long> children | |
| COLORMAP | back to summary |
|---|---|
| public static final String COLORMAP | |
| DEF_LOCATION | back to summary |
|---|---|
| pack-priv static final int DEF_LOCATION | |
| DELAYED | back to summary |
|---|---|
| public static final String DELAYED | |
| delayedParams | back to summary |
|---|---|
| private XCreateWindowParams delayedParams | |
| DEPTH | back to summary |
|---|---|
| public static final String DEPTH | |
| disposed | back to summary |
|---|---|
| private boolean disposed | |
| EMBEDDED | back to summary |
|---|---|
| public static final String EMBEDDED | |
| embedded | back to summary |
|---|---|
| pack-priv boolean embedded | |
| EVENT_MASK | back to summary |
|---|---|
| public static final String EVENT_MASK | |
| eventLog | back to summary |
|---|---|
| private static final PlatformLogger eventLog | |
| focusLog | back to summary |
|---|---|
| private static final PlatformLogger focusLog | |
| grabLog | back to summary |
|---|---|
| private static final PlatformLogger grabLog | |
| height | back to summary |
|---|---|
| pack-priv int height | |
| hints | back to summary |
|---|---|
| private XSizeHints hints | |
| initialising | back to summary |
|---|---|
| private XBaseWindow. | |
| insLog | back to summary |
|---|---|
| private static final PlatformLogger insLog | |
| log | back to summary |
|---|---|
| private static final PlatformLogger log | |
| mapped | back to summary |
|---|---|
| pack-priv boolean mapped | |
| maxBounds | back to summary |
|---|---|
| pack-priv Rectangle maxBounds | |
| MIN_SIZE | back to summary |
|---|---|
| pack-priv static final int MIN_SIZE | |
| OVERRIDE_REDIRECT | back to summary |
|---|---|
| public static final String OVERRIDE_REDIRECT | |
| PARENT | back to summary |
|---|---|
| public static final String PARENT | |
| PARENT_WINDOW | back to summary |
|---|---|
| public static final String PARENT_WINDOW | |
| parentWindow | back to summary |
|---|---|
| pack-priv volatile XBaseWindow parentWindow | |
| SAVE_UNDER | back to summary |
|---|---|
| public static final String SAVE_UNDER | |
| screen | back to summary |
|---|---|
| private long screen | |
| state_lock | back to summary |
|---|---|
| protected XBaseWindow. | |
| VALUE_MASK | back to summary |
|---|---|
| public static final String VALUE_MASK | |
| VISIBLE | back to summary |
|---|---|
| public static final String VISIBLE | |
| visible | back to summary |
|---|---|
| pack-priv boolean visible | |
| VISUAL | back to summary |
|---|---|
| public static final String VISUAL | |
| VISUAL_CLASS | back to summary |
|---|---|
| public static final String VISUAL_CLASS | |
| width | back to summary |
|---|---|
| pack-priv int width | |
| window | back to summary |
|---|---|
| pack-priv long window | |
| wm_client_leader | back to summary |
|---|---|
| private static XAtom wm_client_leader | |
| wmHints | back to summary |
|---|---|
| private XWMHints wmHints | |
| x | back to summary |
|---|---|
| pack-priv int x | |
| y | back to summary |
|---|---|
| pack-priv int y | |
| XBaseWindow | back to summary |
|---|---|
| pack-priv XBaseWindow() | |
| XBaseWindow | back to summary |
|---|---|
| pack-priv XBaseWindow(long parentWindow, Rectangle bounds) Creates normal child window | |
| XBaseWindow | back to summary |
|---|---|
| pack-priv XBaseWindow(Rectangle bounds) Creates top-level window | |
| XBaseWindow | back to summary |
|---|---|
| public XBaseWindow(XCreateWindowParams params) | |
| XBaseWindow | back to summary |
|---|---|
| pack-priv XBaseWindow(long parentWindow) | |
| awtLock | back to summary |
|---|---|
| pack-priv void awtLock() | |
| awtLockNotifyAll | back to summary |
|---|---|
| pack-priv void awtLockNotifyAll() | |
| awtLockWait | back to summary |
|---|---|
| pack-priv void awtLockWait() throws InterruptedException | |
| awtUnlock | back to summary |
|---|---|
| pack-priv void awtUnlock() | |
| checkInitialised | back to summary |
|---|---|
| public boolean checkInitialised() | |
| checkParams | back to summary |
|---|---|
| protected void checkParams(XCreateWindowParams params) Verifies that all required parameters are set. If not, sets them to default values. Verifies values of critical parameters, adjust their values when needed.
| |
| contains | back to summary |
|---|---|
| public boolean contains(int x, int y) Returns whether the given point is inside of the window. Coordinates are local. | |
| containsGlobal | back to summary |
|---|---|
| public boolean containsGlobal(int x, int y) Returns whether the given point is inside of the window. Coordinates are global. | |
| create | back to summary |
|---|---|
| private void create(XCreateWindowParams params) Creates window with parameters specified by
| |
| destroy | back to summary |
|---|---|
| pack-priv void destroy() | |
| dispatchEvent | back to summary |
|---|---|
| public void dispatchEvent(XEvent xev) | |
| dispatchToWindow | back to summary |
|---|---|
| pack-priv static void dispatchToWindow(XEvent ev) Dispatches event to the grab Window or event source window depending on whether the grab is active and on the event type | |
| flush | back to summary |
|---|---|
| pack-priv void flush() | |
| getAbsoluteX | back to summary |
|---|---|
| public int getAbsoluteX() | |
| getAbsoluteY | back to summary |
|---|---|
| public int getAbsoluteY() | |
| getBounds | back to summary |
|---|---|
| public Rectangle getBounds() | |
| getChildren | back to summary |
|---|---|
| public Set | |
| getContentWindow | back to summary |
|---|---|
| public long getContentWindow() | |
| getContentXWindow | back to summary |
|---|---|
| public XBaseWindow getContentXWindow() | |
| getDelayedParams | back to summary |
|---|---|
| public XCreateWindowParams getDelayedParams() | |
| getHeight | back to summary |
|---|---|
| pack-priv int getHeight() | |
| getHints | back to summary |
|---|---|
| public XSizeHints getHints() | |
| getParentWindow | back to summary |
|---|---|
| public XBaseWindow getParentWindow() | |
| getScale | back to summary |
|---|---|
| protected int getScale() Returns scale factor of the window. It is used to convert native coordinates to local and vice verse. | |
| getScreen | back to summary |
|---|---|
| pack-priv long getScreen() | |
| getScreenNumber | back to summary |
|---|---|
| pack-priv long getScreenNumber() | |
| getScreenOfWindow | back to summary |
|---|---|
| pack-priv static long getScreenOfWindow(long window) | |
| getSize | back to summary |
|---|---|
| public Dimension getSize() | |
| getStateLock | back to summary |
|---|---|
| pack-priv Object getStateLock() This lock object can be used to protect instance data from concurrent access by two threads. If both state lock and AWT lock are taken, AWT Lock should be taken first. | |
| getToplevelXWindow | back to summary |
|---|---|
| public XWindowPeer getToplevelXWindow() | |
| getWidth | back to summary |
|---|---|
| pack-priv int getWidth() | |
| getWindow | back to summary |
|---|---|
| public long getWindow() | |
| getWMHints | back to summary |
|---|---|
| public XWMHints getWMHints() | |
| getWMName | back to summary |
|---|---|
| protected String getWMName() | |
| getX | back to summary |
|---|---|
| pack-priv int getX() | |
| getXAWTRootWindow | back to summary |
|---|---|
| pack-priv static XRootWindow getXAWTRootWindow() | |
| getY | back to summary |
|---|---|
| pack-priv int getY() | |
| grabInput | back to summary |
|---|---|
| public boolean grabInput() We should always grab both keyboard and pointer to control event flow on popups. This also simplifies synthetic grab implementation. The active grab overrides activated automatic grab. | |
| handleButtonPressRelease | back to summary |
|---|---|
| public void handleButtonPressRelease(XEvent xev) Activate automatic grab on first ButtonPress, deactivate on full mouse release | |
| handleClientMessage | back to summary |
|---|---|
| public void handleClientMessage(XEvent xev) | |
| handleConfigureNotifyEvent | back to summary |
|---|---|
| public void handleConfigureNotifyEvent(XEvent xev) | |
| handleCreateNotify | back to summary |
|---|---|
| public void handleCreateNotify(XEvent xev) | |
| handleDestroyNotify | back to summary |
|---|---|
| public void handleDestroyNotify(XEvent xev) | |
| handleExposeEvent | back to summary |
|---|---|
| public void handleExposeEvent(XEvent xev) | |
| handleKeyPress | back to summary |
|---|---|
| public void handleKeyPress(XEvent xev) | |
| handleKeyRelease | back to summary |
|---|---|
| public void handleKeyRelease(XEvent xev) | |
| handleMapNotifyEvent | back to summary |
|---|---|
| public void handleMapNotifyEvent(XEvent xev) | |
| handleMotionNotify | back to summary |
|---|---|
| public void handleMotionNotify(XEvent xev) | |
| handlePropertyNotify | back to summary |
|---|---|
| public void handlePropertyNotify(XEvent xev) | |
| handleReparentNotifyEvent | back to summary |
|---|---|
| public void handleReparentNotifyEvent(XEvent xev) | |
| handleUnmapNotifyEvent | back to summary |
|---|---|
| public void handleUnmapNotifyEvent(XEvent xev) | |
| handleVisibilityEvent | back to summary |
|---|---|
| public void handleVisibilityEvent(XEvent xev) | |
| handleXCrossingEvent | back to summary |
|---|---|
| public void handleXCrossingEvent(XEvent xev) | |
| init | back to summary |
|---|---|
| protected final void init(long parentWindow, Rectangle bounds) | |
| init | back to summary |
|---|---|
| protected final void init(XCreateWindowParams params) Creates window using parameters Note Descendants can call this method to create the window at the time different to instance construction. | |
| initClientLeader | back to summary |
|---|---|
| protected void initClientLeader() | |
| instantPreInit | back to summary |
|---|---|
| pack-priv void instantPreInit(XCreateWindowParams params) Called for delayed inits during construction | |
| isDisposed | back to summary |
|---|---|
| pack-priv boolean isDisposed() | |
| isEventDisabled | back to summary |
|---|---|
| protected boolean isEventDisabled(XEvent e) | |
| isFullRelease | back to summary |
|---|---|
| pack-priv static boolean isFullRelease(int buttonState, int button) Checks ButtonRelease released all Mouse buttons | |
| isGrabbedEvent | back to summary |
|---|---|
| pack-priv static boolean isGrabbedEvent(XEvent ev, XBaseWindow target) | |
| isMapped | back to summary |
|---|---|
| pack-priv boolean isMapped() | |
| isMinSizeSet | back to summary |
|---|---|
| public boolean isMinSizeSet() | |
| isVisible | back to summary |
|---|---|
| pack-priv boolean isVisible() | |
| postInit | back to summary |
|---|---|
| protected final void postInit() | |
| postInit | back to summary |
|---|---|
| pack-priv void postInit(XCreateWindowParams params) Called after window creation, descendants should override to initialize Window with class-specific values and perform post-initialization actions. | |
| preInit | back to summary |
|---|---|
| protected final void preInit() | |
| preInit | back to summary |
|---|---|
| pack-priv void preInit(XCreateWindowParams params) Called before window creation, descendants should override to initialize the data, initialize params. | |
| scaleDown | back to summary |
|---|---|
| protected int scaleDown(int x) | |
| scaleUp | back to summary |
|---|---|
| protected int scaleUp(int x) | |
| setDisposed | back to summary |
|---|---|
| pack-priv void setDisposed(boolean d) | |
| setSizeHints | back to summary |
|---|---|
| public void setSizeHints(long flags, int x, int y, int width, int height) | |
| setWMClass | back to summary |
|---|---|
| pack-priv void setWMClass(String[] cl) | |
| setWMHints | back to summary |
|---|---|
| public final void setWMHints(XWMHints hints) Helper function to set W | |
| toFront | back to summary |
|---|---|
| public void toFront() | |
| toGlobal | back to summary |
|---|---|
| pack-priv Rectangle toGlobal(Rectangle rec) | |
| toGlobal | back to summary |
|---|---|
| pack-priv Point toGlobal(Point pt) | |
| toGlobal | back to summary |
|---|---|
| pack-priv Point toGlobal(int x, int y) | |
| toLocal | back to summary |
|---|---|
| pack-priv Point toLocal(Point pt) | |
| toLocal | back to summary |
|---|---|
| pack-priv Point toLocal(int x, int y) | |
| toOtherWindow | back to summary |
|---|---|
| pack-priv static Point toOtherWindow(long src, long dst, int x, int y) Translate coordinates from one window into another. Optimized for XAWT - uses cached data when possible. Preferable over pure XTranslateCoordinates.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| ungrabInput | back to summary |
|---|---|
| public static void ungrabInput() | |
| ungrabInputImpl | back to summary |
|---|---|
| pack-priv void ungrabInputImpl() | |
| updateWMName | back to summary |
|---|---|
| pack-priv void updateWMName() | |
| xGetInputFocus | back to summary |
|---|---|
| public static long xGetInputFocus() | |
| xRequestFocus | back to summary |
|---|---|
| public void xRequestFocus(long time) | |
| xRequestFocus | back to summary |
|---|---|
| public void xRequestFocus() | |
| xSetBounds | back to summary |
|---|---|
| public void xSetBounds(Rectangle bounds) | |
| xSetBounds | back to summary |
|---|---|
| public void xSetBounds(int x, int y, int width, int height) | |
| xSetVisible | back to summary |
|---|---|
| public void xSetVisible(boolean visible) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final XBaseWindow. | |
| public static final XBaseWindow. | |
| public static final XBaseWindow. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static XBaseWindow. | |
| public static XBaseWindow. |
| FAILED_INITIALISATION | back to summary |
|---|---|
| public static final XBaseWindow. | |
| INITIALISED | back to summary |
|---|---|
| public static final XBaseWindow. | |
| INITIALISING | back to summary |
|---|---|
| public static final XBaseWindow. | |
| InitialiseState | back to summary |
|---|---|
| private InitialiseState() | |
| valueOf | back to summary |
|---|---|
| public static XBaseWindow. | |
| values | back to summary |
|---|---|
| public static XBaseWindow. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| StateLock | back to summary |
|---|---|
| pack-priv StateLock() | |