org.gnu.gtk
Class VScrollBar
java.lang.Object
|
+--org.gnu.glib.GObject
|
+--org.gnu.gtk.GtkObject
|
+--org.gnu.gtk.Widget
|
+--org.gnu.gtk.Range
|
+--org.gnu.gtk.ScrollBar
|
+--org.gnu.gtk.VScrollBar
- public class VScrollBar
- extends ScrollBar
The VScrollbar displays a vertical scrollbar with a slider and a
pair of arror 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(Adjustment adjustment)
Creates a new ScrollBar |
VScrollBar(int handle)
Construct a VScrollBar from a handle to a native resource. |
Method Summary |
static Type |
getType()
Retrieve the runtime type used by the GLib library. |
Methods inherited from class org.gnu.gtk.Range |
addRangeListener, getAdjustment, getEventListenerClass, getEventType, getInverted, getUpdatePolicy, getValue, removeRangeListener, setAdjustment, setIncrements, setInverted, setRange, setUpdatePolicy, setValue |
Methods inherited from class org.gnu.gtk.Widget |
activate, addListener, addListener, addListener, addListener, addListener, addListener, createContext, createLayout, destroy, draw, drawArea, drawArea, getAccessible, getColormap, getContext, getModifierStyle, getName, getParent, getParentWindow, getPointer, getSensitive, getStyle, getToplevel, grabDefault, grabFocus, hasFocus, hide, hideAll, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragSource, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VScrollBar
public VScrollBar(Adjustment adjustment)
- Creates a new ScrollBar
- Parameters:
adjustment
- The GtkAdjustment to use, or NULL to create
a new adjustment.
VScrollBar
public VScrollBar(int handle)
- Construct a VScrollBar from a handle to a native resource.
getType
public static Type getType()
- Retrieve the runtime type used by the GLib library.