API Documentation > Interface Classes > Class uifcSlider
Class uifcSlider

# include <uifcSlider.h>

class
uifcSlider
: public virtual
uifcRange_Controls
{
xaideclare(uifcSlider)
...
};


Description
User Guide References:
Methods Inherited from Class uifcComponent::
Methods Inherited from Class uifcRange_Controls::
Method Summary
Method Detail
void
SetFrameRectangle
Set the size and screen position of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
rect
Returns:
void
DeletePopupMenu
()
Delete a MenuPane from the component.
Returns:
GetFrameOrigin
()
Determine the position of the component, in pixels, relative to its parent.
Returns:
InsertPopupMenu
(uifcComponent_ptr component)
Add a MenuPane to be displayed when the user presses the right mouse button over the component.
Parameters:
component
Returns:
void
SetFrameOrigin
(uifcPoint_ptr value)
Set the screen position of the component, in pixels, relative to its parent. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
value
Returns:
void
ChangeIntegerValue
(xint change)
Increment the IntegerValue attribute of the component by the given amount.
Parameters:
change
Returns:
GetFrameMinimumSize
()
Determine the minimum size of the component, in pixels.
Returns:
GetScreenOrigin
()
Determine the screen position of the component, in pixels.
Returns:
void
SetFrameSize
Set the size of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
value
Returns:
GetScreenRectangle
()
Determine the size and screen position of the component, in pixels.
Returns:
GetRectangleOfMonitor
()
Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:
GetFrameSize
()
Determine the size of the component, in pixels.
Returns:
GetFrameRectangle
()
Determine the size and position of the component, in pixels.
Returns:
DoesDynamicUpdate
()
Returns:
Flag indicating whether the Slider generates a OnChange() each time the value changes whilst the value is updating (xtrue) or whether only one OnChange() is generated when the updating is complete (xfalse).
void
SetDynamicUpdate
(xbool flag)
Sets flag indicating whether the Slider generates a OnChange() each time the value changes whilst the value is updating (xtrue) or whether only one OnChange() is generated when the updating is complete (xfalse).
Parameters:
flag
Returns:
GetOrientation
()
Returns:
The orientation of the Slider.
ORIENTATION_HORIZONTAL
Horizontal, with the minimum value at the left
ORIENTATION_VERTICAL
Vertical, with the minimum value at the bottom
void
SetOrientation
(uifcOrientation value)
Sets the orientation of the Slider.
ORIENTATION_HORIZONTAL
Horizontal, with the minimum value at the left
ORIENTATION_VERTICAL
Vertical, with the minimum value at the bottom
Parameters:
value
Returns:
GetSliderDirection
()
Returns:
The direction in which the button of the Slider will point.
NO_SLIDER_ALIGNMENT
The Slider button will not be pointed
SLIDER_ALIGNMENT_LEFT
To the left, for a vertical Slider
SLIDER_ALIGNMENT_RIGHT
To the right, for a vertical Slider
SLIDER_ALIGNMENT_TOP
Upwards, for a horizontal Slider
SLIDER_ALIGNMENT_BOTTOM
Downwards, for a horizontal Slider
void
SetSliderDirection
Sets the direction in which the button of the Slider will point.
NO_SLIDER_ALIGNMENT
The Slider button will not be pointed
SLIDER_ALIGNMENT_LEFT
To the left, for a vertical Slider
SLIDER_ALIGNMENT_RIGHT
To the right, for a vertical Slider
SLIDER_ALIGNMENT_TOP
Upwards, for a horizontal Slider
SLIDER_ALIGNMENT_BOTTOM
Downwards, for a horizontal Slider
Parameters:
value
Returns:
GetLineIntervals
()
Returns:
The number of intervals of the Slider which constitute a line of sliding.
void
SetLineIntervals
(xint value)
Sets the number of intervals of the Slider which constitute a line of sliding.
Parameters:
value
Returns:
GetLength
()
Returns:
The length of the Slider, in character widths.
void
SetLength
(xint value)
Sets the length of the Slider, in character widths.
Parameters:
value
Returns:
GetBarIntervals
()
Returns:
The number of intervals of the range between the maximum and minimum values of the Slider.
void
SetBarIntervals
(xint value)
Sets the number of intervals of the range between the maximum and minimum values of the Slider.
Parameters:
value
Returns:
IsEnabled
()
Returns:
Flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
void
SetEnabled
(xbool flag)
Sets flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
Parameters:
flag
Returns:
void
AddActionListener
Parameters:
listener
Returns:
void
PushAction
(uifcSliderAction action)
Parameters:
action
Returns:
void
CreateTimer
(uifcSliderTimer_ptr timer, xrstring timerName, xbool writeInTrail)
Parameters:
timer
timerName
writeInTrail
Returns:
void
StartTimer
(xrstring timerName, xint duration)
Parameters:
timerName
duration
Returns:
void
StopTimer
(xrstring timerName)
Parameters:
timerName
Returns:
Was this helpful?