|
java-gnome version 4.0.19 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Pointer
org.freedesktop.bindings.Proxy
org.gnome.glib.Object
org.gnome.gtk.Object
org.gnome.gtk.Widget
org.gnome.gtk.Range
org.gnome.gtk.Scale
org.gnome.gtk.HScale
public class HScale
A horizontal slider allowing you to visually represent data and offer the
user the ability to manipulate it.
See
Scale
and Range
for the methods used to manipulate
instances of these classes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gnome.gtk.Range |
---|
Range.ValueChanged |
Nested classes/interfaces inherited from class org.gnome.gtk.Widget |
---|
Widget.ButtonPressEvent, Widget.ButtonReleaseEvent, Widget.EnterNotifyEvent, Widget.ExposeEvent, Widget.FocusInEvent, Widget.FocusOutEvent, Widget.Hide, Widget.KeyPressEvent, Widget.KeyReleaseEvent, Widget.LeaveNotifyEvent, Widget.MapEvent, Widget.MotionNotifyEvent, Widget.PopupMenu, Widget.ScrollEvent, Widget.UnmapEvent, Widget.VisibilityNotifyEvent |
Nested classes/interfaces inherited from class org.gnome.gtk.Object |
---|
Object.Destroy |
Constructor Summary | |
---|---|
HScale(int min,
int max,
int step)
Create a new HScale allowing the user to enter a number a number between min and max , sliding in increments of
step . |
Method Summary |
---|
Methods inherited from class org.gnome.gtk.Scale |
---|
getDrawValue, setDigits, setDrawValue, setValuePosition |
Methods inherited from class org.gnome.gtk.Range |
---|
connect, getInverted, getValue, setInverted, setValue |
Methods inherited from class org.gnome.gtk.Widget |
---|
activate, addEvents, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, getAllocation, getCanDefault, getCanFocus, getHasFocus, getName, getParent, getRequisition, getSensitive, getToplevel, getWindow, grabAdd, grabDefault, grabFocus, grabRemove, hide, isSensitive, modifyBackground, modifyBase, modifyFont, modifyText, queueDraw, queueDrawArea, realize, setCanDefault, setCanFocus, setColormap, setEvents, setName, setSensitive, setSizeRequest, setTooltipMarkup, setTooltipText, show, showAll |
Methods inherited from class org.gnome.gtk.Object |
---|
connect, destroy |
Methods inherited from class org.freedesktop.bindings.Pointer |
---|
toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HScale(int min, int max, int step)
min
and max
, sliding in increments of
step
.
The internal algorithms work best if step
is specified as
a power of 10. That shouldn't hassle you, as you can round the value
showing in the HScale with setDigits()
.
And in any case, step
only impacts the jumps that are made
if the HScale is changed via the Left
and
Right
key strokes.
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |