|
java-gnome version 4.0.7 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
java.lang.Objectorg.freedesktop.bindings.Proxy
org.gnome.glib.Object
org.gnome.gtk.Object
org.gnome.gtk.Widget
org.gnome.gtk.Range
public abstract class Range
Base class for Widgets which present an adjustable quantity in some form of slider. The most obvious feature of this class is the ability to manage the "value" being shown by the Widget, but there are also facilities for exercising fine-grained control over the behaviour of the Widget when the user attempts to adjust the slider.
| Nested Class Summary | |
|---|---|
static interface |
Range.VALUE_CHANGED
The value showing in the Range instance has changed. |
| Nested classes/interfaces inherited from class org.gnome.gtk.Widget |
|---|
Widget.BUTTON_PRESS_EVENT, Widget.BUTTON_RELEASE_EVENT, Widget.ENTER_NOTIFY_EVENT, Widget.EXPOSE_EVENT, Widget.FOCUS_IN_EVENT, Widget.FOCUS_OUT_EVENT, Widget.HIDE, Widget.KEY_PRESS_EVENT, Widget.KEY_RELEASE_EVENT, Widget.LEAVE_NOTIFY_EVENT, Widget.UNMAP_EVENT, Widget.VISIBILITY_NOTIFY_EVENT |
| Method Summary | |
|---|---|
void |
connect(Range.VALUE_CHANGED handler)
Connect a VALUE_CHANGED handler to this Range instance. |
double |
getValue()
Retreive the value currently indicated by this Range instance. |
void |
setValue(double value)
Change the value showingin the Range. |
| Methods inherited from class org.gnome.gtk.Widget |
|---|
activate, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, getAllocation, getHasFocus, getParent, getRequisition, getToplevel, getWindow, grabFocus, hide, modifyBackground, modifyText, setCanFocus, setSensitive, setSizeRequest, setTooltipMarkup, setTooltipText, show, showAll |
| Methods inherited from class org.freedesktop.bindings.Proxy |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void connect(Range.VALUE_CHANGED handler)
VALUE_CHANGED handler to this Range instance.
public double getValue()
public void setValue(double value)
VALUE_CHANGED signal will be emitted if the new value is
different from the present setting.
|
![]() java-gnome |
||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||