Java Doc for XWM.java in  » 6.0-JDK-Platform » solaris » sun » awt » X11 » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Platform » solaris » sun.awt.X11 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.


Field Summary
final static  intAWT_NET_N_KNOWN_STATES
    
static  XToolkit.XErrorHandlerDetectWMHandler
    
final static  intUNDETERMINED_WMNO_WMOTHER_WMOPENLOOK_WMMOTIF_WMCDE_WMENLIGHTEN_WMKDE2_WMSAWFISH_WMICE_WMMETACITY_WMCOMPIZ_WMLG3D_WM
    
static  XToolkit.XErrorHandlerVerifyChangePropertyHandler
    
 intWMID
    
final static  XAtomXA_DT_SM_STATE_INFO
    
final static  XAtomXA_DT_SM_WINDOW_INFO
    
final static  XAtomXA_DT_WORKSPACE_CURRENT
    
static  XAtomXA_ENLIGHTENMENT_COMMS
    
final static  XAtomXA_E_FRAME_SIZE
    
final static  XAtomXA_ICEWM_WINOPTHINT
    
final static  XAtomXA_KDE_NET_WM_FRAME_STRUT
    
final static  XAtomXA_KWM_WIN_ICONIFIED
    
final static  XAtomXA_KWM_WIN_MAXIMIZED
    
final static  XAtomXA_MOTIF_WM_INFO
    
final static  XAtomXA_MWM_HINTS
    
final static  XAtomXA_NET_FRAME_EXTENTS
    
final static  XAtomXA_NET_REQUEST_FRAME_EXTENTS
    
final static  XAtomXA_OL_DECOR_CLOSE
    
final static  XAtomXA_OL_DECOR_DEL
    
final static  XAtomXA_OL_DECOR_HEADER
    
final static  XAtomXA_OL_DECOR_PIN
    
final static  XAtomXA_OL_DECOR_RESIZE
    
final static  XAtomXA_SUN_WM_PROTOCOLS
    
 XAtomXA_UTF8_STRING
    
static  XAtomXA_WM_STATE
    
static  intawtWMStaticGravity
    
static  intawt_wmgr
    
final static  InsetsdefaultInsets
    
static  XNETProtocolg_net_protocol
    
static  XWINProtocolg_win_protocol
    
static  booleaninited
    
final static  charopt
    
 HashMap<Class<?>, Collection<XProtocol>>protocolsMap
    
 HashMapstoredInsets
    
static  booleanwinmgr_running
    
static  XWMwm
    
final static  InsetszeroInsets
    

Constructor Summary
 XWM(int WMID)
    

Method Summary
 voidaddProtocol(Class protocolInterface, XProtocol protocol)
    
static  booleanconfigureGravityBuggy()
    
static  longgetECommsWindowIDProperty(long window)
    
 intgetExtendedState(XWindowPeer window)
    
 intgetID()
    
 InsetsgetInsets(XDecoratedPeer win, long window, long parent)
    
public static  InsetsgetInsetsFromExtents(long window)
    
public static  InsetsgetInsetsFromProp(long window, XAtom atom)
     Helper function reads property of type CARDINAL[4] = { left, right, top, bottom } and converts it to Insets object.
public  XNETProtocolgetNETProtocol()
    
 Collection<XProtocol>getProtocols(Class protocolInterface)
    
static  XWMgetWM()
    
static  intgetWMID()
    
 InsetsguessInsets(XDecoratedPeer window)
    
static  voidinit()
    
static  voidinitAtoms()
    
 voidinitializeProtocols()
    
static  booleanisCDE()
    
static  booleanisCompiz()
    
 booleanisDesktopWindow(long w)
    
static  booleanisEnlightenment()
    
static  booleanisIceWM()
    
static  booleanisKDE2()
    
static  booleanisLookingGlass()
    
static  booleanisMetacity()
    
static  booleanisMotif()
    
static  booleanisNetWMName(String name)
    
static  booleanisNonReparentingWM()
    
static  booleanisOpenLook()
    
static  booleanisSawfish()
    
 IntegerisStateChange(XDecoratedPeer window, XPropertyEvent e)
     \ Notice window state change when WM changes a property on the window ...
static  booleanneedRemap(XDecoratedPeer window)
    
static  Insetsnormalize(Insets insets)
    
static  intnormalizeMotifDecor(int decorations)
    
static  intnormalizeMotifFunc(int functions)
    
static  booleanprepareIsIceWM()
    
static  voidremoveSizeHints(XDecoratedPeer window, long mask)
     \ Size and decoration hints ...
public static  voidrequestWMExtents(long window)
     Asks WM to fill Frame Extents (insets) for the window.
 voidsetExtendedState(XWindowPeer window, int state)
    
 voidsetLayer(XWindowPeer window, int layer)
    
static  voidsetMotifDecor(XWindowPeer window, boolean resizable, int decorations, int functions)
    
public  booleansetNetWMIcon(XWindowPeer window, java.util.List<XIconInfo> icons)
     Sets _NET_WN_ICON property on the window using the arrays of raster-data for icons.
static  voidsetOLDecor(XWindow window, boolean resizable, int decorations)
    
static  voidsetShellDecor(XDecoratedPeer window)
    
static  voidsetShellNotResizable(XDecoratedPeer window, WindowDimensions newDimensions, Rectangle shellBounds, boolean justChangeSize)
    
static  voidsetShellResizable(XDecoratedPeer window)
    
 booleansupportsDynamicLayout()
    
 booleansupportsExtendedState(int state)
     Check if state is supported. Note that a compound state is always reported as not supported.
 booleansyncTopLevelPos(long window, XWindowAttributes attrs)
    
public  StringtoString()
    
 voidunshadeKludge(XDecoratedPeer window)
    

Field Detail
AWT_NET_N_KNOWN_STATES
final static int AWT_NET_N_KNOWN_STATES(Code)



DetectWMHandler
static XToolkit.XErrorHandler DetectWMHandler(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)



VerifyChangePropertyHandler
static XToolkit.XErrorHandler VerifyChangePropertyHandler(Code)



WMID
int WMID(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_MWM_HINTS
final static XAtom XA_MWM_HINTS(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)



XA_UTF8_STRING
XAtom XA_UTF8_STRING(Code)



XA_WM_STATE
static XAtom XA_WM_STATE(Code)



awtWMStaticGravity
static int awtWMStaticGravity(Code)



awt_wmgr
static int awt_wmgr(Code)



defaultInsets
final static Insets defaultInsets(Code)



g_net_protocol
static XNETProtocol g_net_protocol(Code)



g_win_protocol
static XWINProtocol g_win_protocol(Code)



inited
static boolean inited(Code)



opt
final static char opt(Code)



protocolsMap
HashMap<Class<?>, Collection<XProtocol>> protocolsMap(Code)
\ Protocols support



storedInsets
HashMap storedInsets(Code)



winmgr_running
static boolean winmgr_running(Code)



wm
static XWM wm(Code)



zeroInsets
final static Insets zeroInsets(Code)




Constructor Detail
XWM
XWM(int WMID)(Code)




Method Detail
addProtocol
void addProtocol(Class protocolInterface, XProtocol protocol)(Code)



configureGravityBuggy
static boolean configureGravityBuggy()(Code)



getECommsWindowIDProperty
static long getECommsWindowIDProperty(long window)(Code)



getExtendedState
int getExtendedState(XWindowPeer window)(Code)
\ Reading state from different protocols \****************************************************************************



getID
int getID()(Code)



getInsets
Insets getInsets(XDecoratedPeer win, long window, long parent)(Code)



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.



getNETProtocol
public XNETProtocol getNETProtocol()(Code)



getProtocols
Collection<XProtocol> getProtocols(Class protocolInterface)(Code)
Returns all protocols supporting given protocol interface



getWM
static XWM getWM()(Code)



getWMID
static int getWMID()(Code)



guessInsets
Insets guessInsets(XDecoratedPeer window)(Code)



init
static void init()(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)



isNetWMName
static boolean isNetWMName(String name)(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 ... \****************************************************************************



needRemap
static boolean needRemap(XDecoratedPeer window)(Code)



normalize
static Insets normalize(Insets insets)(Code)



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.



setExtendedState
void setExtendedState(XWindowPeer window, int state)(Code)



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)



setShellDecor
static void setShellDecor(XDecoratedPeer window)(Code)



setShellNotResizable
static void setShellNotResizable(XDecoratedPeer window, WindowDimensions newDimensions, Rectangle shellBounds, boolean justChangeSize)(Code)



setShellResizable
static void setShellResizable(XDecoratedPeer window)(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)



toString
public String toString()(Code)



unshadeKludge
void unshadeKludge(XDecoratedPeer window)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.