org.gnu.gtk
public class Paned 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.Paned
.
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.
See Also: HPaned
Method Summary | |
---|---|
void | add1(Widget child)
Add a child to the top or left pane with default parameters.
|
void | add2(Widget child)
Add a child to the bottom or right pane with default parameters.
|
Widget | getChild1() |
Widget | getChild2() |
static Paned | getPaned(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
int | getPosition()
Get the position of the divider between the two panes.
|
static Type | getType()
Retrieve the runtime type used by the GLib library. |
void | pack1(Widget child, boolean resize, boolean shrink)
Adds a child to the top or left pane.
|
void | pack2(Widget child, boolean resize, boolean shrink)
Adds a child to the bottom or right pane.
|
void | setPosition(int position)
Set the position of the divider between the two panes.
|
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 to the top or left pane with default parameters.Parameters: child The child Widget to add.
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 to the bottom or right pane with default parameters.Parameters: child The child Widget to add.
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.
Internal static factory method to be used by Java-Gnome only.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.
Get the position of the divider between the two panes.Returns: The position of the divider between the two panes.
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.
Adds a child to the top or left pane.Parameters: child The child Widget to add. resize Should this child expand when the widget is resized. shrink can this child be made smaller than its request.
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.
Adds a child to the bottom or right pane.Parameters: child The child Widget to add. resize Should this child expand when the widget is resized. shrink can this child be made smaller than its request.
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 position of the divider between the two panes.Parameters: position The pixel position of the divider; a negative value means that the position is unset.