org.gnu.gtk
public class Viewport extends Bin
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.
|
Parameters: hadj The horizontal Adjustment to use for the Viewport. vadj The vertical Adjustment to use for the Viewport.
Returns: The horizontal Viewport's Adjustment.
Returns: The vertical Viewport's Adjustment.
Parameters: hadj The horizontal Adjustment.
Parameters: vadj The vertical Adjustment.