|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gnome.CanvasItem
The GnomeCanvasItem is the base class of all items that a GnomeCanvas displays.
Method Summary | |
void |
affineAbsolute(double[] affine)
Apply an absolute affine transformation to the item. |
void |
affineRelative(double[] affine)
Apply a relative affine transformation to the item. |
Canvas |
getCanvas()
Returns the parent canvas for this item. |
CanvasGroup |
getParent()
Return the parent canvas group for this item. |
static org.gnu.glib.Type |
getType()
Retrieve the runtime type used by the GLib library. |
double |
getX1()
X1 coordinate fo the bounding box for this item (in canvas coordinates). |
double |
getX2()
X2 coordinate fo the bounding box for this item (in canvas coordinates). |
double |
getY1()
Y1 coordinate fo the bounding box for this item (in canvas coordinates). |
double |
getY2()
Y2 coordinate fo the bounding box for this item (in canvas coordinates). |
void |
hide()
Hide the item (make it invisible). |
void |
lower(int positions)
Lower the item in the z-order of its parent group by the specified number of positions. |
void |
lowerToBotton()
Lower the item to the bottom of its parent group's z-order. |
void |
move(double x,
double y)
Move the item by the specified amount. |
void |
raise(int positions)
Raise the item in the z-order of its parent group by the specified number of positions. |
void |
raiseToTop()
Raise the item to the top of its parent group's z-order. |
void |
show()
Show the item (make it visible). |
Methods inherited from class org.gnu.gtk.GtkObject |
destroy, sink |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, equals, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getNullHandle, getPixbufProperty, getProperty, getStringProperty, hashCode, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void affineAbsolute(double[] affine)
affine
- the affine to apply.public void affineRelative(double[] affine)
affine
- The affine to apply.public Canvas getCanvas()
public CanvasGroup getParent()
public double getX1()
public double getX2()
public double getY1()
public double getY2()
public void hide()
public void lower(int positions)
positions
- The number of positions to lower the item.public void lowerToBotton()
public void move(double x, double y)
x
- The amount to move the item horizontally.y
- The amount to move the item vertically.public void raise(int positions)
positions
- The number of positions to raise the item.public void raiseToTop()
public void show()
public static org.gnu.glib.Type getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |