Java Doc for XAtom.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.XAtom

XAtom
public class XAtom (Code)


Field Summary
final public static  longXA_ARC
    
final public static  longXA_ATOM
    
final public static  longXA_BITMAP
    
final public static  longXA_CAP_HEIGHT
    
final public static  longXA_CARDINAL
    
final public static  longXA_COLORMAP
    
final public static  longXA_COPYRIGHT
    
final public static  longXA_CURSOR
    
final public static  longXA_CUT_BUFFER0
    
final public static  longXA_CUT_BUFFER1
    
final public static  longXA_CUT_BUFFER2
    
final public static  longXA_CUT_BUFFER3
    
final public static  longXA_CUT_BUFFER4
    
final public static  longXA_CUT_BUFFER5
    
final public static  longXA_CUT_BUFFER6
    
final public static  longXA_CUT_BUFFER7
    
final public static  longXA_DRAWABLE
    
final public static  longXA_END_SPACE
    
final public static  longXA_FAMILY_NAME
    
final public static  longXA_FONT
    
final public static  longXA_FONT_NAME
    
final public static  longXA_FULL_NAME
    
final public static  longXA_INTEGER
    
final public static  longXA_ITALIC_ANGLE
    
final public static  longXA_LAST_PREDEFINED
    
final public static  longXA_MAX_SPACE
    
final public static  longXA_MIN_SPACE
    
final public static  longXA_NORM_SPACE
    
final public static  longXA_NOTICE
    
final public static  longXA_PIXMAP
    
final public static  longXA_POINT
    
final public static  longXA_POINT_SIZE
    
final public static  longXA_PRIMARY
    
final public static  longXA_QUAD_WIDTH
    
final public static  longXA_RECTANGLE
    
final public static  longXA_RESOLUTION
    
final public static  longXA_RESOURCE_MANAGER
    
final public static  longXA_RGB_BEST_MAP
    
final public static  longXA_RGB_BLUE_MAP
    
final public static  longXA_RGB_COLOR_MAP
    
final public static  longXA_RGB_DEFAULT_MAP
    
final public static  longXA_RGB_GRAY_MAP
    
final public static  longXA_RGB_GREEN_MAP
    
final public static  longXA_RGB_RED_MAP
    
final public static  longXA_SECONDARY
    
final public static  longXA_STRIKEOUT_ASCENT
    
final public static  longXA_STRIKEOUT_DESCENT
    
final public static  longXA_STRING
    
final public static  longXA_SUBSCRIPT_X
    
final public static  longXA_SUBSCRIPT_Y
    
final public static  longXA_SUPERSCRIPT_X
    
final public static  longXA_SUPERSCRIPT_Y
    
final public static  longXA_UNDERLINE_POSITION
    
final public static  longXA_UNDERLINE_THICKNESS
    
final public static  longXA_VISUALID
    
final public static  longXA_WEIGHT
    
final public static  longXA_WINDOW
    
final public static  longXA_WM_CLASS
    
final public static  longXA_WM_CLIENT_MACHINE
    
final public static  longXA_WM_COMMAND
    
final public static  longXA_WM_HINTS
    
final public static  longXA_WM_ICON_NAME
    
final public static  longXA_WM_ICON_SIZE
    
final public static  longXA_WM_NAME
    
final public static  longXA_WM_NORMAL_HINTS
    
final public static  longXA_WM_SIZE_HINTS
    
final public static  longXA_WM_TRANSIENT_FOR
    
final public static  longXA_WM_ZOOM_HINTS
    
final public static  longXA_X_HEIGHT
    
 longatom
    
static  HashMap<Long, XAtom>atomToAtom
    
 longdisplay
    
 Stringname
    
static  HashMap<String, XAtom>nameToAtom
    

Constructor Summary
public  XAtom(String name, boolean autoIntern)
    
public  XAtom(long display, long atom)
    
public  XAtom(long display, String name, boolean autoIntern)
     This constructor will create the instance, and if autoIntern is true intern a new XAtom that is specified by the supplied name.
public  XAtom()
    

Method Summary
public  voidDeleteProperty(long window)
     Deletes property specified by this item on the window.
public  voidDeleteProperty(XBaseWindow window)
     Deletes property specified by this item on the window.
static  StringasString(long atom)
    
 voidcheckWindow(long window)
    
public  booleanequals(Object o)
    
static  XAtomget(long atom)
    
public static  XAtomget(String name)
    
public  longget32Property(long window, long property_type)
    
 longgetAtom()
    
static  longgetAtom(long ptr)
    
public  booleangetAtomData(long window, long data_ptr, int length)
     Gets uninterpreted set of data from property and stores them in data_ptr. Property type is the same as current atom, property is current atom. Property format is 32.
public  booleangetAtomData(long window, long type, long data_ptr, int length)
     Gets uninterpreted set of data from property and stores them in data_ptr. Property type is type, property is current atom. Property format is 32.
 XAtom[]getAtomListProperty(long window)
    
 XAtom[]getAtomListProperty(XBaseWindow window)
    
 XAtomListgetAtomListPropertyList(long window)
    
 XAtomListgetAtomListPropertyList(XBaseWindow window)
    
static  intgetAtomSize()
    
public  byte[]getByteArrayProperty(long window, long property_type)
    
public  longgetCard32Property(XBaseWindow window)
    
final public  StringgetName()
    
public  StringgetProperty(long window)
     Gets the window property for the specified window
Parameters:
  window - window id to use
Parameters:
  str - value to set to.
public  longgetWindowProperty(long window)
     Gets property on the window.
public  inthashCode()
    
public  voidintern(boolean onlyIfExists)
    
public  booleanisInterned()
    
static  XAtomlookup(long atom)
    
static  XAtomlookup(String name)
    
 voidputAtom(long ptr)
    
static  voidregister(XAtom at)
    
 voidregister()
    
public  voidsetAtomData(long window, long data_ptr, int length)
     Sets uninterpreted set of data into property from data_ptr. Property type is the same as current atom, property is current atom. Property format is 32.
public  voidsetAtomData(long window, long type, long data_ptr, int length)
     Sets uninterpreted set of data into property from data_ptr. Property type is type, property is current atom. Property format is 32.
public  voidsetAtomData(long window, long property_type, byte[] data)
    
public  voidsetAtomData8(long window, long type, long data_ptr, int length)
     Sets uninterpreted set of data into property from data_ptr. Property type is type, property is current atom. Property format is 8.
 voidsetAtomListProperty(long window, XAtom[] atoms)
     Sets property value of type ATOM list to the list of atoms.
 voidsetAtomListProperty(long window, XAtomList atoms)
    
public  voidsetAtomListProperty(XBaseWindow window, XAtom[] atoms)
     Sets property value of type ATOM list to the list of atoms.
public  voidsetAtomListProperty(XBaseWindow window, XAtomList atoms)
    
public  voidsetCard32Property(long window, long value)
    
public  voidsetCard32Property(XBaseWindow window, long value)
    
public  voidsetProperty(long window, String str)
    
public  voidsetProperty8(long window, String str)
     Sets STRING/8 type property.
public  voidsetPropertyUTF8(long window, String str)
     Sets UTF8_STRING type property.
public  voidsetValues(long display, String name, boolean autoIntern)
    
public  voidsetValues(long display, long atom)
    
public  voidsetValues(long display, String name, long atom)
    
public  voidsetWindowProperty(long window, long window_value)
    
public  voidsetWindowProperty(XBaseWindow window, XBaseWindow window_value)
    
static  longtoData(XAtom[] atoms)
     Allocated memory to hold the list of native atom data and returns unsafe pointer to it Caller should free the memory by himself.
public  StringtoString()
    

Field Detail
XA_ARC
final public static long XA_ARC(Code)



XA_ATOM
final public static long XA_ATOM(Code)



XA_BITMAP
final public static long XA_BITMAP(Code)



XA_CAP_HEIGHT
final public static long XA_CAP_HEIGHT(Code)



XA_CARDINAL
final public static long XA_CARDINAL(Code)



XA_COLORMAP
final public static long XA_COLORMAP(Code)



XA_COPYRIGHT
final public static long XA_COPYRIGHT(Code)



XA_CURSOR
final public static long XA_CURSOR(Code)



XA_CUT_BUFFER0
final public static long XA_CUT_BUFFER0(Code)



XA_CUT_BUFFER1
final public static long XA_CUT_BUFFER1(Code)



XA_CUT_BUFFER2
final public static long XA_CUT_BUFFER2(Code)



XA_CUT_BUFFER3
final public static long XA_CUT_BUFFER3(Code)



XA_CUT_BUFFER4
final public static long XA_CUT_BUFFER4(Code)



XA_CUT_BUFFER5
final public static long XA_CUT_BUFFER5(Code)



XA_CUT_BUFFER6
final public static long XA_CUT_BUFFER6(Code)



XA_CUT_BUFFER7
final public static long XA_CUT_BUFFER7(Code)



XA_DRAWABLE
final public static long XA_DRAWABLE(Code)



XA_END_SPACE
final public static long XA_END_SPACE(Code)



XA_FAMILY_NAME
final public static long XA_FAMILY_NAME(Code)



XA_FONT
final public static long XA_FONT(Code)



XA_FONT_NAME
final public static long XA_FONT_NAME(Code)



XA_FULL_NAME
final public static long XA_FULL_NAME(Code)



XA_INTEGER
final public static long XA_INTEGER(Code)



XA_ITALIC_ANGLE
final public static long XA_ITALIC_ANGLE(Code)



XA_LAST_PREDEFINED
final public static long XA_LAST_PREDEFINED(Code)



XA_MAX_SPACE
final public static long XA_MAX_SPACE(Code)



XA_MIN_SPACE
final public static long XA_MIN_SPACE(Code)



XA_NORM_SPACE
final public static long XA_NORM_SPACE(Code)



XA_NOTICE
final public static long XA_NOTICE(Code)



XA_PIXMAP
final public static long XA_PIXMAP(Code)



XA_POINT
final public static long XA_POINT(Code)



XA_POINT_SIZE
final public static long XA_POINT_SIZE(Code)



XA_PRIMARY
final public static long XA_PRIMARY(Code)



XA_QUAD_WIDTH
final public static long XA_QUAD_WIDTH(Code)



XA_RECTANGLE
final public static long XA_RECTANGLE(Code)



XA_RESOLUTION
final public static long XA_RESOLUTION(Code)



XA_RESOURCE_MANAGER
final public static long XA_RESOURCE_MANAGER(Code)



XA_RGB_BEST_MAP
final public static long XA_RGB_BEST_MAP(Code)



XA_RGB_BLUE_MAP
final public static long XA_RGB_BLUE_MAP(Code)



XA_RGB_COLOR_MAP
final public static long XA_RGB_COLOR_MAP(Code)



XA_RGB_DEFAULT_MAP
final public static long XA_RGB_DEFAULT_MAP(Code)



XA_RGB_GRAY_MAP
final public static long XA_RGB_GRAY_MAP(Code)



XA_RGB_GREEN_MAP
final public static long XA_RGB_GREEN_MAP(Code)



XA_RGB_RED_MAP
final public static long XA_RGB_RED_MAP(Code)



XA_SECONDARY
final public static long XA_SECONDARY(Code)



XA_STRIKEOUT_ASCENT
final public static long XA_STRIKEOUT_ASCENT(Code)



XA_STRIKEOUT_DESCENT
final public static long XA_STRIKEOUT_DESCENT(Code)



XA_STRING
final public static long XA_STRING(Code)



XA_SUBSCRIPT_X
final public static long XA_SUBSCRIPT_X(Code)



XA_SUBSCRIPT_Y
final public static long XA_SUBSCRIPT_Y(Code)



XA_SUPERSCRIPT_X
final public static long XA_SUPERSCRIPT_X(Code)



XA_SUPERSCRIPT_Y
final public static long XA_SUPERSCRIPT_Y(Code)



XA_UNDERLINE_POSITION
final public static long XA_UNDERLINE_POSITION(Code)



XA_UNDERLINE_THICKNESS
final public static long XA_UNDERLINE_THICKNESS(Code)



XA_VISUALID
final public static long XA_VISUALID(Code)



XA_WEIGHT
final public static long XA_WEIGHT(Code)



XA_WINDOW
final public static long XA_WINDOW(Code)



XA_WM_CLASS
final public static long XA_WM_CLASS(Code)



XA_WM_CLIENT_MACHINE
final public static long XA_WM_CLIENT_MACHINE(Code)



XA_WM_COMMAND
final public static long XA_WM_COMMAND(Code)



XA_WM_HINTS
final public static long XA_WM_HINTS(Code)



XA_WM_ICON_NAME
final public static long XA_WM_ICON_NAME(Code)



XA_WM_ICON_SIZE
final public static long XA_WM_ICON_SIZE(Code)



XA_WM_NAME
final public static long XA_WM_NAME(Code)



XA_WM_NORMAL_HINTS
final public static long XA_WM_NORMAL_HINTS(Code)



XA_WM_SIZE_HINTS
final public static long XA_WM_SIZE_HINTS(Code)



XA_WM_TRANSIENT_FOR
final public static long XA_WM_TRANSIENT_FOR(Code)



XA_WM_ZOOM_HINTS
final public static long XA_WM_ZOOM_HINTS(Code)



XA_X_HEIGHT
final public static long XA_X_HEIGHT(Code)



atom
long atom(Code)



atomToAtom
static HashMap<Long, XAtom> atomToAtom(Code)



display
long display(Code)



name
String name(Code)



nameToAtom
static HashMap<String, XAtom> nameToAtom(Code)




Constructor Detail
XAtom
public XAtom(String name, boolean autoIntern)(Code)



XAtom
public XAtom(long display, long atom)(Code)
This constructor will create an instance of XAtom that is specified by the predefined XAtom specified by u latom
Parameters:
  display - X display to use.
Parameters:
  atom - a predefined XAtom.
since:
   1.5



XAtom
public XAtom(long display, String name, boolean autoIntern)(Code)
This constructor will create the instance, and if autoIntern is true intern a new XAtom that is specified by the supplied name.
Parameters:
  display - X display to use
Parameters:
  name - name of the XAtom to create.
since:
   1.5



XAtom
public XAtom()(Code)
Creates uninitialized instance of




Method Detail
DeleteProperty
public void DeleteProperty(long window)(Code)
Deletes property specified by this item on the window.



DeleteProperty
public void DeleteProperty(XBaseWindow window)(Code)
Deletes property specified by this item on the window.



asString
static String asString(long atom)(Code)



checkWindow
void checkWindow(long window)(Code)



equals
public boolean equals(Object o)(Code)



get
static XAtom get(long atom)(Code)



get
public static XAtom get(String name)(Code)



get32Property
public long get32Property(long window, long property_type)(Code)



getAtom
long getAtom()(Code)



getAtom
static long getAtom(long ptr)(Code)



getAtomData
public boolean getAtomData(long window, long data_ptr, int length)(Code)
Gets uninterpreted set of data from property and stores them in data_ptr. Property type is the same as current atom, property is current atom. Property format is 32. Property 'delete' is false. Returns boolean if requested type, format, length match returned values and returned data pointer is not null.



getAtomData
public boolean getAtomData(long window, long type, long data_ptr, int length)(Code)
Gets uninterpreted set of data from property and stores them in data_ptr. Property type is type, property is current atom. Property format is 32. Property 'delete' is false. Returns boolean if requested type, format, length match returned values and returned data pointer is not null.



getAtomListProperty
XAtom[] getAtomListProperty(long window)(Code)



getAtomListProperty
XAtom[] getAtomListProperty(XBaseWindow window)(Code)



getAtomListPropertyList
XAtomList getAtomListPropertyList(long window)(Code)



getAtomListPropertyList
XAtomList getAtomListPropertyList(XBaseWindow window)(Code)



getAtomSize
static int getAtomSize()(Code)



getByteArrayProperty
public byte[] getByteArrayProperty(long window, long property_type)(Code)



getCard32Property
public long getCard32Property(XBaseWindow window)(Code)
Returns value of property of type CARDINAL/32 of this window



getName
final public String getName()(Code)



getProperty
public String getProperty(long window)(Code)
Gets the window property for the specified window
Parameters:
  window - window id to use
Parameters:
  str - value to set to. string with the property.
since:
   1.5



getWindowProperty
public long getWindowProperty(long window)(Code)
Gets property on the window. Property is assumed to be of type WINDOW/32.



hashCode
public int hashCode()(Code)



intern
public void intern(boolean onlyIfExists)(Code)
Interns the XAtom



isInterned
public boolean isInterned()(Code)



lookup
static XAtom lookup(long atom)(Code)



lookup
static XAtom lookup(String name)(Code)



putAtom
void putAtom(long ptr)(Code)



register
static void register(XAtom at)(Code)



register
void register()(Code)



setAtomData
public void setAtomData(long window, long data_ptr, int length)(Code)
Sets uninterpreted set of data into property from data_ptr. Property type is the same as current atom, property is current atom. Property format is 32. Mode is PropModeReplace. length is a number of items pointer by data_ptr.



setAtomData
public void setAtomData(long window, long type, long data_ptr, int length)(Code)
Sets uninterpreted set of data into property from data_ptr. Property type is type, property is current atom. Property format is 32. Mode is PropModeReplace. length is a number of items pointer by data_ptr.



setAtomData
public void setAtomData(long window, long property_type, byte[] data)(Code)



setAtomData8
public void setAtomData8(long window, long type, long data_ptr, int length)(Code)
Sets uninterpreted set of data into property from data_ptr. Property type is type, property is current atom. Property format is 8. Mode is PropModeReplace. length is a number of bytes pointer by data_ptr.



setAtomListProperty
void setAtomListProperty(long window, XAtom[] atoms)(Code)
Sets property value of type ATOM list to the list of atoms.



setAtomListProperty
void setAtomListProperty(long window, XAtomList atoms)(Code)
Sets property value of type ATOM list to the list of atoms specified by XAtomList



setAtomListProperty
public void setAtomListProperty(XBaseWindow window, XAtom[] atoms)(Code)
Sets property value of type ATOM list to the list of atoms.



setAtomListProperty
public void setAtomListProperty(XBaseWindow window, XAtomList atoms)(Code)
Sets property value of type ATOM list to the list of atoms specified by XAtomList



setCard32Property
public void setCard32Property(long window, long value)(Code)
Sets property of type CARDINAL on the window



setCard32Property
public void setCard32Property(XBaseWindow window, long value)(Code)
Sets property of type CARDINAL/32 on the window



setProperty
public void setProperty(long window, String str)(Code)
Sets the window property for the specified window
Parameters:
  window - window id to use
Parameters:
  str - value to set to.
since:
   1.5



setProperty8
public void setProperty8(long window, String str)(Code)
Sets STRING/8 type property. Explicitly converts str to Latin-1 byte sequence.



setPropertyUTF8
public void setPropertyUTF8(long window, String str)(Code)
Sets UTF8_STRING type property. Explicitly converts str to UTF-8 byte sequence.



setValues
public void setValues(long display, String name, boolean autoIntern)(Code)
Initializes atom with name and display values



setValues
public void setValues(long display, long atom)(Code)



setValues
public void setValues(long display, String name, long atom)(Code)



setWindowProperty
public void setWindowProperty(long window, long window_value)(Code)
Sets property on the window to the value window_value Property is assumed to be of type WINDOW/32



setWindowProperty
public void setWindowProperty(XBaseWindow window, XBaseWindow window_value)(Code)



toData
static long toData(XAtom[] atoms)(Code)
Allocated memory to hold the list of native atom data and returns unsafe pointer to it Caller should free the memory by himself.



toString
public String toString()(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.