org.gnu.gtk
public class Misc extends Widget
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.Misc
.
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.
Method Summary | |
---|---|
static Type | getType()
Retrieve the runtime type used by the GLib library. |
double | getXAlign()
Returns the horizontal alignment of the widget. |
int | getXPadding()
Retrieve the amount of space added to the left and right of the widget. |
double | getYAlign()
Returns the vertical alignment of the widget. |
int | getYPadding()
Retrieve the amount of space added to the top and bottom of the widget. |
void | setAlignment(double xAlign, double yAlign)
Sets the alignment of a widget.
|
void | setPadding(int xPad, int yPad)
Sets the amount of space to add around the widget.
|
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.
Returns the horizontal alignment of the widget.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 amount of space added to the left and right of the widget.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.
Returns the vertical alignment of the widget.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 amount of space added to the top and bottom of the widget.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.
Sets the alignment of a widget.Parameters: xAlign The horizontal alignment from 0 (left) to 1 (right). yAlign The vertical alignment from 0 (top) to 1 (bottom).
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.
Sets the amount of space to add around the widget.Parameters: xPad The amount of space to add to the left and right of the widget. yPad The amount of space to add to the top and bottom of the widget.