|
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.freedesktop.bindings.Proxy
org.gnome.glib.Object
org.gnome.gtk.Widget
org.gnome.gtk.Container
org.gnome.gtk.Grid
public class Grid
Layout Widgets in a row (horizontally or vertically), or in a table.
This replaces GTK 2's VBox, HBox, and Table.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gnome.gtk.Widget |
---|
Widget.ButtonPressEvent, Widget.ButtonReleaseEvent, Widget.Destroy, Widget.Draw, Widget.EnterNotifyEvent, Widget.FocusInEvent, Widget.FocusOutEvent, Widget.Hide, Widget.KeyPressEvent, Widget.KeyReleaseEvent, Widget.LeaveNotifyEvent, Widget.MapEvent, Widget.MotionNotifyEvent, Widget.PopupMenu, Widget.ScrollEvent, Widget.SizeAllocate, Widget.UnmapEvent, Widget.VisibilityNotifyEvent |
Constructor Summary | |
---|---|
Grid()
Create a new Grid. |
Method Summary | |
---|---|
void |
attach(Widget child,
int left,
int top,
int width,
int height)
Add a child Widget to this Grid. |
Orientation |
getOrientation()
Get the orientation of this Orientable. |
void |
setColumnSpacing(int spacing)
Set the (extra) spacing between all columns. |
void |
setOrientation(Orientation orientation)
Set the orientation of this Orientable. |
void |
setRowSpacing(int spacing)
Set the (extra) spacing between all rows. |
Methods inherited from class org.gnome.gtk.Container |
---|
add, getChildren, remove, setBorderWidth |
Methods inherited from class org.freedesktop.bindings.Pointer |
---|
toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Grid()
Method Detail |
---|
public void attach(Widget child, int left, int top, int width, int height)
public Orientation getOrientation()
Orientable
getOrientation
in interface Orientable
public void setColumnSpacing(int spacing)
public void setOrientation(Orientation orientation)
Orientable
setOrientation
in interface Orientable
public void setRowSpacing(int spacing)
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |