org.gnu.gtk

Class VScrollBar


public class VScrollBar
extends ScrollBar

The VScrollbar displays a vertical scrollbar with a slider and a pair of arrow buttons. To create a scrollbar, you must specify the beginning and ending values, the size of the slider, an initial slider position, and how far the slider should move when the mouse clicks the slot.
See Also:
HScrollBar

Constructor Summary

VScrollBar(Handle handle)
Construct a VScrollBar from a handle to a native resource.
VScrollBar(Adjustment adjustment)
Creates a new ScrollBar

Method Summary

static Type
getType()
Retrieve the runtime type used by the GLib library.
static VScrollBar
getVScrollBar(Handle handle)
Construct a VScrollBar from a handle to a native resource.

Methods inherited from class org.gnu.gtk.ScrollBar

getType

Methods inherited from class org.gnu.gtk.Range

addListener, addRangeListener, getAdjustment, getEventListenerClass, getEventType, getInverted, getType, getUpdatePolicy, getValue, removeRangeListener, setAdjustment, setIncrements, setInverted, setRange, setUpdatePolicy, setValue

Methods inherited from class org.gnu.gtk.Widget

activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getColormap, getContext, getData, getDisplay, getDragData, getEventListenerClass, getEventType, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getType, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight

Methods inherited from class org.gnu.gtk.GtkObject

destroy, getType, sink

Methods inherited from class org.gnu.glib.GObject

addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify

Constructor Details

VScrollBar

public VScrollBar(Handle handle)
Construct a VScrollBar from a handle to a native resource.

VScrollBar

public VScrollBar(Adjustment adjustment)
Creates a new ScrollBar
Parameters:
adjustment - The GtkAdjustment to use, or null to create a new adjustment.

Method Details

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.
Overrides:
getType in interface ScrollBar

getVScrollBar

public static VScrollBar getVScrollBar(Handle handle)
Construct a VScrollBar from a handle to a native resource.