| java.lang.Object sun.awt.X11.XWM
XWM | class XWM implements MWMConstants,XUtilConstants(Code) | | Class incapsulating knowledge about window managers in general
Descendants should provide some information about specific window manager.
|
Constructor Summary | |
| XWM(int WMID) |
Method Summary | |
void | addProtocol(Class protocolInterface, XProtocol protocol) | static boolean | configureGravityBuggy() | static long | getECommsWindowIDProperty(long window) | int | getExtendedState(XWindowPeer window) | int | getID() | Insets | getInsets(XDecoratedPeer win, long window, long parent) | public static Insets | getInsetsFromExtents(long window) | public static Insets | getInsetsFromProp(long window, XAtom atom) Helper function reads property of type CARDINAL[4] = { left, right, top, bottom }
and converts it to Insets object. | public XNETProtocol | getNETProtocol() | Collection<XProtocol> | getProtocols(Class protocolInterface) | static XWM | getWM() | static int | getWMID() | Insets | guessInsets(XDecoratedPeer window) | static void | init() | static void | initAtoms() | void | initializeProtocols() | static boolean | isCDE() | static boolean | isCompiz() | boolean | isDesktopWindow(long w) | static boolean | isEnlightenment() | static boolean | isIceWM() | static boolean | isKDE2() | static boolean | isLookingGlass() | static boolean | isMetacity() | static boolean | isMotif() | static boolean | isNetWMName(String name) | static boolean | isNonReparentingWM() | static boolean | isOpenLook() | static boolean | isSawfish() | Integer | isStateChange(XDecoratedPeer window, XPropertyEvent e) \
Notice window state change when WM changes a property on the window ... | static boolean | needRemap(XDecoratedPeer window) | static Insets | normalize(Insets insets) | static int | normalizeMotifDecor(int decorations) | static int | normalizeMotifFunc(int functions) | static boolean | prepareIsIceWM() | static void | removeSizeHints(XDecoratedPeer window, long mask) \
Size and decoration hints ... | public static void | requestWMExtents(long window) Asks WM to fill Frame Extents (insets) for the window. | void | setExtendedState(XWindowPeer window, int state) | void | setLayer(XWindowPeer window, int layer) | static void | setMotifDecor(XWindowPeer window, boolean resizable, int decorations, int functions) | public boolean | setNetWMIcon(XWindowPeer window, java.util.List<XIconInfo> icons) Sets _NET_WN_ICON property on the window using the arrays of
raster-data for icons. | static void | setOLDecor(XWindow window, boolean resizable, int decorations) | static void | setShellDecor(XDecoratedPeer window) | static void | setShellNotResizable(XDecoratedPeer window, WindowDimensions newDimensions, Rectangle shellBounds, boolean justChangeSize) | static void | setShellResizable(XDecoratedPeer window) | boolean | supportsDynamicLayout() | boolean | supportsExtendedState(int state) Check if state is supported.
Note that a compound state is always reported as not supported. | boolean | syncTopLevelPos(long window, XWindowAttributes attrs) | public String | toString() | void | unshadeKludge(XDecoratedPeer window) |
AWT_NET_N_KNOWN_STATES | final static int AWT_NET_N_KNOWN_STATES(Code) | | |
UNDETERMINED_WMNO_WMOTHER_WMOPENLOOK_WMMOTIF_WMCDE_WMENLIGHTEN_WMKDE2_WMSAWFISH_WMICE_WMMETACITY_WMCOMPIZ_WMLG3D_WM | final static int UNDETERMINED_WMNO_WMOTHER_WMOPENLOOK_WMMOTIF_WMCDE_WMENLIGHTEN_WMKDE2_WMSAWFISH_WMICE_WMMETACITY_WMCOMPIZ_WMLG3D_WM(Code) | | |
XA_DT_SM_STATE_INFO | final static XAtom XA_DT_SM_STATE_INFO(Code) | | |
XA_DT_SM_WINDOW_INFO | final static XAtom XA_DT_SM_WINDOW_INFO(Code) | | |
XA_DT_WORKSPACE_CURRENT | final static XAtom XA_DT_WORKSPACE_CURRENT(Code) | | |
XA_ENLIGHTENMENT_COMMS | static XAtom XA_ENLIGHTENMENT_COMMS(Code) | | |
XA_E_FRAME_SIZE | final static XAtom XA_E_FRAME_SIZE(Code) | | |
XA_ICEWM_WINOPTHINT | final static XAtom XA_ICEWM_WINOPTHINT(Code) | | |
XA_KDE_NET_WM_FRAME_STRUT | final static XAtom XA_KDE_NET_WM_FRAME_STRUT(Code) | | |
XA_KWM_WIN_ICONIFIED | final static XAtom XA_KWM_WIN_ICONIFIED(Code) | | |
XA_KWM_WIN_MAXIMIZED | final static XAtom XA_KWM_WIN_MAXIMIZED(Code) | | |
XA_MOTIF_WM_INFO | final static XAtom XA_MOTIF_WM_INFO(Code) | | |
XA_NET_FRAME_EXTENTS | final static XAtom XA_NET_FRAME_EXTENTS(Code) | | |
XA_NET_REQUEST_FRAME_EXTENTS | final static XAtom XA_NET_REQUEST_FRAME_EXTENTS(Code) | | |
XA_OL_DECOR_CLOSE | final static XAtom XA_OL_DECOR_CLOSE(Code) | | |
XA_OL_DECOR_DEL | final static XAtom XA_OL_DECOR_DEL(Code) | | |
XA_OL_DECOR_HEADER | final static XAtom XA_OL_DECOR_HEADER(Code) | | |
XA_OL_DECOR_PIN | final static XAtom XA_OL_DECOR_PIN(Code) | | |
XA_OL_DECOR_RESIZE | final static XAtom XA_OL_DECOR_RESIZE(Code) | | |
XA_SUN_WM_PROTOCOLS | final static XAtom XA_SUN_WM_PROTOCOLS(Code) | | |
awtWMStaticGravity | static int awtWMStaticGravity(Code) | | |
awt_wmgr | static int awt_wmgr(Code) | | |
inited | static boolean inited(Code) | | |
opt | final static char opt(Code) | | |
winmgr_running | static boolean winmgr_running(Code) | | |
configureGravityBuggy | static boolean configureGravityBuggy()(Code) | | |
getECommsWindowIDProperty | static long getECommsWindowIDProperty(long window)(Code) | | |
getExtendedState | int getExtendedState(XWindowPeer window)(Code) | | \
Reading state from different protocols
\****************************************************************************
|
getInsetsFromExtents | public static Insets getInsetsFromExtents(long window)(Code) | | |
getInsetsFromProp | public static Insets getInsetsFromProp(long window, XAtom atom)(Code) | | Helper function reads property of type CARDINAL[4] = { left, right, top, bottom }
and converts it to Insets object.
|
getWMID | static int getWMID()(Code) | | |
initAtoms | static void initAtoms()(Code) | | |
initializeProtocols | void initializeProtocols()(Code) | | |
isCDE | static boolean isCDE()(Code) | | |
isCompiz | static boolean isCompiz()(Code) | | |
isDesktopWindow | boolean isDesktopWindow(long w)(Code) | | |
isEnlightenment | static boolean isEnlightenment()(Code) | | |
isIceWM | static boolean isIceWM()(Code) | | |
isKDE2 | static boolean isKDE2()(Code) | | |
isLookingGlass | static boolean isLookingGlass()(Code) | | |
isMetacity | static boolean isMetacity()(Code) | | |
isMotif | static boolean isMotif()(Code) | | |
isNonReparentingWM | static boolean isNonReparentingWM()(Code) | | |
isOpenLook | static boolean isOpenLook()(Code) | | |
isSawfish | static boolean isSawfish()(Code) | | |
isStateChange | Integer isStateChange(XDecoratedPeer window, XPropertyEvent e)(Code) | | \
Notice window state change when WM changes a property on the window ...
\****************************************************************************
|
normalizeMotifDecor | static int normalizeMotifDecor(int decorations)(Code) | | |
normalizeMotifFunc | static int normalizeMotifFunc(int functions)(Code) | | |
prepareIsIceWM | static boolean prepareIsIceWM()(Code) | | |
removeSizeHints | static void removeSizeHints(XDecoratedPeer window, long mask)(Code) | | \
Size and decoration hints ...
\****************************************************************************
|
requestWMExtents | public static void requestWMExtents(long window)(Code) | | Asks WM to fill Frame Extents (insets) for the window.
|
setLayer | void setLayer(XWindowPeer window, int layer)(Code) | | Moves window to the specified layer, layer is one of the constants defined
in XLayerProtocol
|
setMotifDecor | static void setMotifDecor(XWindowPeer window, boolean resizable, int decorations, int functions)(Code) | | |
setNetWMIcon | public boolean setNetWMIcon(XWindowPeer window, java.util.List<XIconInfo> icons)(Code) | | Sets _NET_WN_ICON property on the window using the arrays of
raster-data for icons. If icons is null, removes _NET_WM_ICON
property.
This method invokes XNETProtocol.setWMIcon() for WMs that
support NET protocol.
true if hint was modified successfully, false otherwise |
setOLDecor | static void setOLDecor(XWindow window, boolean resizable, int decorations)(Code) | | |
supportsDynamicLayout | boolean supportsDynamicLayout()(Code) | | |
supportsExtendedState | boolean supportsExtendedState(int state)(Code) | | Check if state is supported.
Note that a compound state is always reported as not supported.
Note also that MAXIMIZED_BOTH is considered not a compound state.
Therefore, a compound state is just ICONIFIED | anything else.
|
syncTopLevelPos | boolean syncTopLevelPos(long window, XWindowAttributes attrs)(Code) | | |
|
|