org.gnu.gtk
Class HScrollBar

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.HScrollBar

public class HScrollBar
extends ScrollBar

The HScrollBar displays a horizontal 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 moves when a mouse clicks the slot.

See Also:
VScrollBar

Constructor Summary
HScrollBar(Adjustment adjustment)
          Creates a new ScrollBar
HScrollBar(int handle)
          Construct a HScrollBar 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
 

Constructor Detail

HScrollBar

public HScrollBar(Adjustment adjustment)
Creates a new ScrollBar

Parameters:
adjustment - The GtkAdjustment to use, or NULL to create a new adjustment.

HScrollBar

public HScrollBar(int handle)
Construct a HScrollBar from a handle to a native resource.

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