|
java-gnome version 4.1.2 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Pointer
org.gnome.glib.Boxed
org.gnome.gtk.Allocation
public final class Allocation
An object with information about the size of the rectangle that has been
allocated to a Widget and its position within its parent Container as a
result of consideration of the Widget's size request. See Widget's
setSizeRequest()
for a more
detailed discussion of the size request-allocation process. You get the
Allocation currently given to a Widget with Widget's
getAllocation()
.
Before the request-allocation process has occurred, you can expect this
class to report a size of 1
x1
at position
-1
,-1
. You probably don't want to rely on those
numbers; but that's what the initial values are.
Method Summary | |
---|---|
int |
getHeight()
The height that has been allocated. |
int |
getWidth()
The width that has been allocated. |
int |
getX()
The horizontal co-ordinate of the top left corner of the rectangle. |
int |
getY()
The vertical co-ordinate of the top left corner of the rectangle. |
String |
toString()
|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getHeight()
public int getWidth()
public int getX()
public int getY()
public String toString()
toString
in class org.freedesktop.bindings.Pointer
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |