org.gnu.gtk
public class Viewport extends Bin
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.Viewport
.
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 | |
---|---|
Viewport(Adjustment hadj, Adjustment vadj)
Construct a new Viewport with the given Adjustments.
| |
Viewport(Handle handle)
Construct a Viewport using a handle to a native resource. |
Method Summary | |
---|---|
Adjustment | getHAdjustment()
Returns the horizontal Viewport's Adjustment. |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
Adjustment | getVAdjustment()
Returns the vertical Viewport's Adjustment. |
static Viewport | getViewport(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
void | setHAdjustment(Adjustment hadj)
Sets the horizontal Viewport's Adjustment.
|
void | setVAdjustment(Adjustment vadj)
Sets the vertical Viewport's 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 Viewport with the given Adjustments.Parameters: hadj The horizontal Adjustment to use for the Viewport. vadj The vertical Adjustment to use for the Viewport.
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 Viewport using 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.
Returns the horizontal Viewport's Adjustment. This can be used to connect the horizontal scrollbar to the child Widget's horizontal scroll functionality.Returns: The horizontal Viewport's 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.
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 vertical Viewport's Adjustment. This can be used to connect the vertical scrollbar to the child Widget's vertical scroll functionality.Returns: The vertical Viewport's 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.
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.
Sets the horizontal Viewport's Adjustment.Parameters: hadj 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.
Sets the vertical Viewport's Adjustment.Parameters: vadj The vertical Adjustment.