|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Range
org.gnu.gtk.Scale
org.gnu.gtk.HScale
public class HScale
This widget is a horizontal slot containing a slider that can be moved by the mouse. It is used to allow the user to select a value using the horizontal slide.
Constructor Summary | |
---|---|
HScale(Adjustment adjustment)
Creates a new HScale widget. |
|
HScale(double min,
double max,
double step)
Creates a new horizontal scale widget that lets the user input a number between min and max (including min and max) with the increment step. |
|
HScale(org.gnu.glib.Handle handle)
Construct a HScale using a handle to a native resource. |
Method Summary | |
---|---|
static HScale |
getHScale(org.gnu.glib.Handle handle)
Internal static factory method to be used by Java-Gnome only. |
static Type |
getType()
Retrieve the runtime type used by the GLib library. |
Methods inherited from class org.gnu.gtk.Scale |
---|
getDrawValue, getEventListenerClass, getEventType, getLayout, getLayoutOffsetX, getLayoutOffsetY, removeFormatListener, setDigits, setDrawValue, setFormatListener, setValuePosition |
Methods inherited from class org.gnu.gtk.Range |
---|
addListener, addRangeListener, getAdjustment, getInverted, getUpdatePolicy, getValue, removeRangeListener, setAdjustment, setIncrements, setInverted, setRange, setUpdatePolicy, setValue |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
destroy, sink |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HScale(Adjustment adjustment)
adjustment
- The Adjustment
which sets the range of the scale.public HScale(double min, double max, double step)
min
- Minimum valuemax
- Maximum valuestep
- Step increment (tick size) used with keyboard shortcutspublic HScale(org.gnu.glib.Handle handle)
Method Detail |
---|
public static HScale getHScale(org.gnu.glib.Handle handle)
public static Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |