org.gnu.gtk
Class ScrollBar

java.lang.Object
  |
  +--org.gnu.glib.GObject
        |
        +--org.gnu.gtk.GtkObject
              |
              +--org.gnu.gtk.Widget
                    |
                    +--org.gnu.gtk.Range
                          |
                          +--org.gnu.gtk.ScrollBar
Direct Known Subclasses:
HScrollBar, VScrollBar

public abstract class ScrollBar
extends Range

The ScrollBar widget is an abstract base class for HScrollBar and VScrollBar. It is not very useful in itself.

The position of the thumb in a scrollbar is controlled by the scroll adjustments. See Adjustment for the fields in an adjustment - for ScrollBar, the "value" field represents the position of the scrollbar, which must be between the "lower" field and "upper - pageSize." The "pageSize" field represents the size of the visible scrollable area. The "stepIncrement" and "pageIncrement" fields are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key).

See Also:
VScrollBar, HScrollBar, ScrolledWindow

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
 

Method Detail

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net