|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.Boxed
org.gnu.gtk.SelectionData
org.gnome.gtk.SelectionData
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
public class SelectionData
Data used in Drag and drop operations
Constructor Summary | |
---|---|
SelectionData(org.gnu.glib.Handle handle)
Deprecated. |
Method Summary | |
---|---|
byte[] |
getData()
Deprecated. |
double |
getDouble()
Deprecated. |
int |
getFormat()
Deprecated. |
int |
getInt()
Deprecated. |
int |
getLength()
Deprecated. |
long |
getLong()
Deprecated. |
Pixbuf |
getPixbuf()
Deprecated. |
Atom |
getSelection()
Deprecated. |
static SelectionData |
getSelectionData(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Atom |
getTarget()
Deprecated. |
Atom[] |
getTargets()
Deprecated. |
java.lang.String |
getText()
Deprecated. |
Atom |
getType()
Deprecated. |
java.lang.String[] |
getUris()
Deprecated. |
void |
setData(byte[] data,
java.lang.String type)
Deprecated. |
void |
setDouble(double data)
Deprecated. |
void |
setInt(int data)
Deprecated. |
void |
setLong(long data)
Deprecated. |
boolean |
setPixbuf(Pixbuf pixbuf)
Deprecated. |
void |
setTarget(Atom target)
Deprecated. |
boolean |
setText(java.lang.String text)
Deprecated. |
boolean |
setUris(java.lang.String[] uris)
Deprecated. |
boolean |
targetsIncludeImage(boolean writable)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
targetsIncludText()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Methods inherited from class org.gnu.glib.Boxed |
---|
equals, getBoxedFromHandle, hashCode |
Methods inherited from class org.gnu.glib.Struct |
---|
getHandle, getNullHandle |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionData(org.gnu.glib.Handle handle)
Method Detail |
---|
public static SelectionData getSelectionData(org.gnu.glib.Handle handle)
public void setTarget(Atom target)
public Atom getSelection()
public Atom getTarget()
public Atom getType()
public int getFormat()
public int getLength()
public byte[] getData()
public void setData(byte[] data, java.lang.String type)
public java.lang.String getText()
public boolean setText(java.lang.String text)
public boolean targetsIncludText()
public boolean targetsIncludeImage(boolean writable)
Pixbuf
.
writable
- Whether to accept only targets for which GTK+ knows how to
convert a pixbuf into the format.
public Atom[] getTargets()
public boolean setPixbuf(Pixbuf pixbuf)
public Pixbuf getPixbuf()
public boolean setUris(java.lang.String[] uris)
public java.lang.String[] getUris()
public int getInt()
public double getDouble()
public long getLong()
public void setInt(int data)
public void setLong(long data)
public void setDouble(double data)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |