org.gnu.gtk
public class Layout extends Container
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.Layout
.
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.
Constructor Summary | |
---|---|
Layout(Adjustment hAdj, Adjustment vAdj)
Construct a new Layout object.
| |
Layout(Handle handle)
Construct a new Layout from a handle to a native resource. |
Method Summary | |
---|---|
void | addChild(Widget child, int x, int y)
Add a child Widget to this Layout.
|
Window | getBinWindow()
Return the Layout's bin window, into which content is drawn. |
Adjustment | getHorizontalAdjustment()
Return the Horizontal Adjustment. |
static Layout | getLayout(Handle handle)
Construct a new Layout from a handle to a native resource. |
Requisition | getSize()
Retrieve the size of the scrollabel area of the layout.
|
static Type | getType()
Retrieve the runtime type used by the GLib library. |
Adjustment | getVerticalAdjustment()
Return the Vertical Adjustment. |
void | moveChild(Widget child, int x, int y)
Move a child Widget to a new position
|
void | setHorizontalAdjustment(Adjustment adjust)
Set the Horizontal Adjustment. |
void | setSize(int width, int height)
Set the size of the scrollable area of the layout.
|
void | setVerticalAdjustment(Adjustment adjust)
Set the Vertical Adjustment. |
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.
Construct a new Layout object.Parameters: hAdj The horizontal Adjustment object. vAdj The vertical Adjustment object.
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.
Construct a new Layout from a handle to a native resource.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.
Add a child Widget to this Layout.Parameters: child The child Widget to add to this Layout. x The X coordinate to position the child. y The Y coordinate to position the child.
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.
Return the Layout's bin window, into which content is drawn.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.
Return the Horizontal Adjustment.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.
Construct a new Layout from a handle to a native resource.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.
Retrieve the size of the scrollabel area of the layout.Returns: The size of the scrollabel area.
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.
Retrieve the runtime type used by the GLib library.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.
Return the Vertical Adjustment.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.
Move a child Widget to a new positionParameters: child The child Widget to move. x The X coordinate for the new position. y The Y coordinate for the new position.
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.
Set the Horizontal Adjustment.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.
Set the size of the scrollable area of the layout.Parameters: width The width for the new size. height The height for the new size.
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.
Set the Vertical Adjustment.