org.gnu.gtk
public final class Allocation extends Object
| Constructor Summary | |
|---|---|
| Allocation(int x, int y, int width, int height)
Construct a new Allocation.
| |
| Method Summary | |
|---|---|
| int | getHeight() |
| int | getWidth() |
| int | getX() |
| int | getY() |
Parameters: x the X position of the widget's area relative to its parents allocation. y the Y position of the widget's area relative to its parents allocation. width the width of the widget's allocated area. height the height of the widget's allocated area.
See Also: getAllocation
Returns: the height of the widget's allocated area.
Returns: the width of the widget's allocated area.
Returns: the X position of the widget's area relative to its parents allocation.
Returns: the Y position of the widget's area relative to its parents allocation.