- backgroundColor (String)
- The backgroundColor attribute is the name of the RGB color for
the background of the part.
- borderWidth (Integer)
- The borderWidth attribute is the width of the border, specified
in pixels, that surrounds the part on all four sides. A width of zero
means that a border does not show.
On some platforms, the border width is limited to 1 pixel and any nonzero
value is set to 1.
- bottomOrRightDetents (Integer)
- The bottomOrRightDetents attribute represents predefined,
marked values along the bottom or right scale that you want the user to be
able to click on and have the slider bar move to that position.
- bottomOrRightMax (Integer)
- The bottomOrRightMax attribute specifies the slider's
maximum value for the bottom or right scale. The value of this
attribute must be greater than the value specified for the
bottomOrRightMin attribute. The default value is
0.
- bottomOrRightMin (Integer)
- The bottomOrRightMin attribute specifies the slider's
minimum value for the bottom or right scale. The value of this
attribute must be less than the value specified for the
bottomOrRightMax attribute. The default value is
0.
- bottomOrRightResolution (Integer)
- The bottomOrRightResolution attribute specifies the size of the
increments between the minimum and maximum values for the bottom or right
scale. For example, a resolution of 2 for a scale with a minimum value
of 0 and a maximum value of 100 would result in increments of 2, 4, 6,
..., 100.
- bottomOrRightShaftIncrement (Number)
- The bottomOrRightShaftIncrement attribute specifies the amount
to be added to or subtracted from the current value when the mouse button is
clicked inside the shaft to the left or right, respectively, of the slider
arm.
This value should be a multiple of the value of the
bottomOrRightResolution attribute. If it is not a multiple
of the resolution, it will be added to the current value, then rounded to the
nearest multiple of the resolution, with the result always being a minimum
movement of one resolution unit.
- bottomOrRightSimpleTickIntervalIncrement (Integer)
- The bottomOrRightSimpleTickIntervalIncrement attribute
specifies the interval from the specified minimum value to the specified
maximum value to increment the ticks and detents for the scale of the
slider.
- bottomOrRightSimpleTickIntervalShowValueAsLabel (Boolean)
- The bottomOrRightSimpleTickIntervalShowValueAsLabel attribute
specifies that you want to show the value specified on the
bottomOrRightSimpleTickIntervalIncrement attribute as the labels
for the scale.
- bottomOrRightTicks (Boolean)
- The bottomOrRightTicks attribute specifies whether ticks are
added or removed from the scale for the slider.
- bottomOrRightValue (Integer)
- The bottomOrRightValue attribute specifies the value of the
scale. If the value is not within the range set by the minimum value
and maximum value, then the value is set to the current minimum value or the
current maximum value, whichever is closer.
- buttonStyle (Integer)
- The buttonStyle attribute specifies where the buttons should be
displayed relative to the shaft. If you specify a value that is not
valid, no buttons are displayed. Valid values include the
following:
- XmBUTTONSSPLIT
- Displays one button on either end of the shaft.
- XmBUTTONSBEGINNING
- Displays both buttons above the shaft for vertical sliders and both
buttons to the left of the shaft for horizontal sliders.
- XmBUTTONSEND
- Displays both buttons below the shafter for vertical sliders and both
buttons to the right of the shaft for horizontal sliders.
- XmBUTTONSNONE
- Displays no buttons. This is the default value.
- defaultTickSize (Integer)
- The defaultTickSize attribute represents the default size for
the tick marks of a slider.
- dragDropSpec (AbtDragDropSpec)
- For more information on the dragDropSpec attribute, refer to Using the dragDropSpec attribute.
- enabled (Boolean)
- The enabled attribute specifies whether or not the part is
available for selection. If true, the part's contents are
available for selection.
- fontName (String)
- The fontName attribute is the name of the font to use for the
text displayed in the part.
- foregroundColor (String)
- The foregroundColor attribute is the name of the RGB color for
the foreground of the part.
- framingSpec (AbtViewAttachmentConstraint)
- The framingSpec attribute represents the values specified for
the edge specifications of the part. The edge specifications determine
the width, height, and position of the part.
- helpFile (String)
- The helpFile attribute is the name of the help file associated
with the part.
- helpKeysId (String)
-
The helpKeysId attribute is the ID of the keys help associated
with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
- helpTitle (String)
- The helpTitle attribute is the title of the help window
associated with the part.
- helpTopicId (String)
- The helpTopicId attribute is the ID of the help topic
associated with the part. The ID can be a string or an integer
value.
The ID must exist in the help file associated with the part.
- horizontalMargin (Integer)
- The horizontalMargin attribute specifies the amount of margin
you want around the slider.
- mappedWhenManaged (Boolean)
- The mappedWhenManaged attribute specifies whether
the part should be shown. If the part is currently shown, setting this
attribute to false will hide the part. If the part is
currently hidden, setting this attribute to true will show the
part, if the parent part is shown.
- readOnly (Boolean)
- The readOnly attribute specifies that the user cannot modify
the existing text.
- ribbonStrip (Boolean)
- The ribbonStrip attribute specifies whether you want a visual,
colored cue (that looks like a strip of ribbon) to appear as the user drags
the slider bar across the values on the scale.
- self (<className>)
- For more information on the self attribute, refer to Using the self attribute.
- snapToResolution (Boolean)
- The snapToResolution attribute specifies whether you want the
slider arm aligned with the nearest scale value. The current value of
the slider is determined by the bottomOrRightResolution or
topOrLeftResolution attributes and not by this attribute.
- tabGroup (Boolean)
- The tabGroup attribute specifies whether or not the part is
included as a tab stop so users can use the Tab and
Backtab keys to access the part.
- thickness (Integer)
- The thickness attribute specifies the thickness in pixels of
the shaft of the slider. The size of the slider arm will be adjusted
automatically. You cannot specify a size smaller than 3 pixels.
The default is 16.
- topOrLeftDetents (Integer)
- The topOrLeftDetents attribute represents predefined, marked
values along the top or left scale that you want the user to be able to click
on and have the slider bar move to that position.
- topOrLeftMax (Integer)
- The topOrLeftMax attribute specifies the specifies the
slider's maximum value for the top or left scale. The value of
this attribute must be greater than the value specified for the
topOrLeftMin attribute. The default value is
0.
- topOrLeftMin (Integer)
- The topOrLeftMax attribute specifies the slider's minimum
value for the top or left scale. The value of this attribute must be
less than the value specified for the topOrLeftMax
attribute. The default value is 0.
- topOrLeftResolution (Integer)
- The topOrLeftResolution attribute specifies the size of the
increments between the minimum and maximum values for the top or left
scale. For example, a resolution of 2 for a scale with a minimum value
of 0 and a maximum value of 100 would result in increments of 0, 2, 4, 6,
..., 100.
- topOrLeftShaftIncrement (Number)
- The topOrLeftShaftIncrement attribute specifies the amount to
be added to or subtracted from the current value when the mouse button is
clicked inside the shaft to the left or right, respectively, of the slider
arm.
This value should be a multiple of the value of the
topOrLeftResolution attribute. If it is not a multiple of
the resolution, it will be added to the current value, then rounded to the
nearest multiple of the resolution, with the result always being a minimum
movement of one resolution unit.
- topOrLeftSimpleTickIntervalIncrement (Integer)
- The topOrLeftSimpleTickIntervalIncrement attribute specifies
the interval from the specified minimum value to the specified maximum value
to increment the ticks and detents for the scale of the slider.
- topOrLeftSimpleTickIntervalShowValueAsLabel (Boolean)
- The topOrLeftSimpleTickIntervalShowValueAsLabel attribute
specifies that you want to show the value specified on the
topOrLeftSimpleTickIntervalIncrement attribute as the labels for
the scale.
- topOrLeftTicks (Boolean)
- The topOrLeftTicks attribute specifies whether ticks are added
or removed from the scale for the slider.
- topOrLeftValue (Integer)
- The topOrLeftValue attribute specifies the value of the
scale. If the value is not within the range set by the minimum value
and maximum value, then the value is set to the current minimum value or the
current maximum value, whichever is closer.
- traversalOn (Boolean)
- The traversalOn attribute specifies whether users can access
the part using the cursor movement keys. If the part is specified as a
tab stop by using the tabGroup attribute, users also can use the
Tab and Backtab keys to access the part.
- vertical (Boolean)
- The vertical attribute specifies whether the part has a
vertical or horizontal orientation.
- verticalMargin (Integer)
- The verticalMargin attribute specifies the number of pixels to
be used as a margin between the slider components (scales, shaft, buttons) and
the top and bottom edges of the slider area.