All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.swt.widgets.Slider.xer.txt Maven / Gradle / Ivy

@xworker.swt.widgets.Slider
sname
Slider
slabel
Slider
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sicon
icons/org/eclipse/swt/widgets/Slider.gif
Sdescription
#$@text#$@

Instances of this class are selectable user interface objects that represent a range of positive, numeric values.

At any given moment, a given slider will have a single 'selection' that is considered to be its value, which is constrained to be within the range of values the slider represents (that is, between its minimum and maximum values).

Typically, sliders will be made up of five areas:

  1. an arrow button for decrementing the value
  2. a page decrement area for decrementing the value by a larger amount
  3. a thumb for modifying the value by mouse dragging
  4. a page increment area for incrementing the value by a larger amount
  5. an arrow button for incrementing the value

Based on their style, sliders are either HORIZONTAL (which have a left facing button for decrementing the value and a right facing button for incrementing it) or VERTICAL (which have an upward facing button for decrementing the value and a downward facing buttons for incrementing it).

 

On some platforms, the size of the slider's thumb can be varied relative to the magnitude of the range of values it represents (that is, relative to the difference between its maximum and minimum values). Typically, this is used to indicate some proportional value such as the ratio of the visible area of a document to the total amount of space that it would take to display it. SWT supports setting the thumb size even if the underlying platform does not, but in this case the appearance of the slider will not change.

#$@text#$@ sid Slider @xworker.swt.widgets.Slider/@actions sname actions sid actions slabel actions sdescriptors xworker.lang.MetaDescriptor3/@actions @xworker.swt.widgets.Slider/@actions/@create sname create sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true souterClassName xworker.swt.widgets.SliderCreator smethodName create sid create sdescriptors xworker.lang.actions.JavaAction @xworker.swt.widgets.Slider/@name sname name LvalidateOnBlur false LallowDecimals false LallowNegative false sid name sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.widgets.Slider/@increment sname increment sdescription

Sets the amount that the receiver's value will be modified by when the up/down arrows are pressed to the argument, which must be at least one.

LvalidateOnBlur false LallowDecimals false LallowNegative false sid increment sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.widgets.Slider/@maximum sname maximum sdescription

Sets the maximum value that the receiver will allow. This new value will be ignored if it is not greater than the receiver's current minimum value. If the new maximum is applied then the receiver's selection value will be adjusted if necessary to fall within its new range.

LvalidateOnBlur false LallowDecimals false LallowNegative false sid maximum sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.widgets.Slider/@minimum sname minimum sdescription

Sets the minimum value that the receiver will allow. This new value will be ignored if it is not less than the receiver's current maximum value. If the new minimum is applied then the receiver's selection value will be adjusted if necessary to fall within its new range.

LvalidateOnBlur false LallowDecimals false LallowNegative false sid minimum sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.widgets.Slider/@pageIncrement sname pageIncrement sdescription

Sets the amount that the receiver's position will be modified by when the page up/down keys are pressed to the argument, which must be at least one.

LvalidateOnBlur false LallowDecimals false LallowNegative false sid pageIncrement sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.widgets.Slider/@selection sname selection sdescription

Sets the selection, which is the receiver's position, to the argument. If the argument is not within the range specified by minimum and maximum, it will be adjusted to fall within this range.

LvalidateOnBlur false LallowDecimals false LallowNegative false sid selection sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.widgets.Slider/@thumb sname thumb LvalidateOnBlur false LallowDecimals false LallowNegative false sid thumb sdescriptors xworker.lang.MetaDescriptor3/@attribute @xworker.swt.widgets.Slider/@SelectionListener sname SelectionListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.SelectionListener smany true seditCols 2 sinitialization false sid SelectionListener




© 2015 - 2025 Weber Informatics LLC | Privacy Policy