| java.lang.Object sun.awt.X11.XAtom
XAtom | public class XAtom (Code) | | |
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 void | DeleteProperty(long window) Deletes property specified by this item on the window. | public void | DeleteProperty(XBaseWindow window) Deletes property specified by this item on the window. | static String | asString(long atom) | void | checkWindow(long window) | public boolean | equals(Object o) | static XAtom | get(long atom) | public static XAtom | get(String name) | public long | get32Property(long window, long property_type) | long | getAtom() | static long | getAtom(long ptr) | public boolean | getAtomData(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 boolean | getAtomData(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) | XAtomList | getAtomListPropertyList(long window) | XAtomList | getAtomListPropertyList(XBaseWindow window) | static int | getAtomSize() | public byte[] | getByteArrayProperty(long window, long property_type) | public long | getCard32Property(XBaseWindow window) | final public String | getName() | public String | getProperty(long window) Gets the window property for the specified window
Parameters: window - window id to use Parameters: str - value to set to. | public long | getWindowProperty(long window) Gets property on the window . | public int | hashCode() | public void | intern(boolean onlyIfExists) | public boolean | isInterned() | static XAtom | lookup(long atom) | static XAtom | lookup(String name) | void | putAtom(long ptr) | static void | register(XAtom at) | void | register() | public void | setAtomData(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 void | setAtomData(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 void | setAtomData(long window, long property_type, byte[] data) | public void | setAtomData8(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. | void | setAtomListProperty(long window, XAtom[] atoms) Sets property value of type ATOM list to the list of atoms. | void | setAtomListProperty(long window, XAtomList atoms) | public void | setAtomListProperty(XBaseWindow window, XAtom[] atoms) Sets property value of type ATOM list to the list of atoms. | public void | setAtomListProperty(XBaseWindow window, XAtomList atoms) | public void | setCard32Property(long window, long value) | public void | setCard32Property(XBaseWindow window, long value) | public void | setProperty(long window, String str) | public void | setProperty8(long window, String str) Sets STRING/8 type property. | public void | setPropertyUTF8(long window, String str) Sets UTF8_STRING type property. | public void | setValues(long display, String name, boolean autoIntern) | public void | setValues(long display, long atom) | public void | setValues(long display, String name, long atom) | public void | setWindowProperty(long window, long window_value) | public void | setWindowProperty(XBaseWindow window, XBaseWindow window_value) | static long | toData(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 String | toString() |
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) | | |
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
|
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.
|
checkWindow | void checkWindow(long window)(Code) | | |
get32Property | public long get32Property(long window, long property_type)(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) | | |
getAtomListPropertyList | XAtomList getAtomListPropertyList(long 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
|
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) | | |
putAtom | void putAtom(long ptr)(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
|
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.
|
|
|