Library | File

Class uifcScrollBar

# include <uifcScrollBar.h>

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



Description





Method Summary

voidAddActionListener (uifcScrollBarListener_ptr listener)
 
xboolCanRedraw ()
 
voidChangeIntegerValue (xint change)
 
voidCreateTimer (uifcScrollBarTimer_ptr timer, xrstring timerName, xbool writeInTrail)
 
voidDeletePopupMenu ()
 
xboolDoesAllowKeyboardInput ()
 
xboolDoesDynamicUpdate ()
 
xintGetBarIntervals ()
 
uifcDimension_ptrGetFrameMinimumSize ()
 
uifcPoint_ptrGetFrameOrigin ()
 
uifcRectangle_ptrGetFrameRectangle ()
 
uifcDimension_ptrGetFrameSize ()
 
xintGetLength ()
 
xintGetLineIntervals ()
 
uifcOrientationGetOrientation ()
 
xintGetPageIntervals ()
 
uifcRectangle_ptrGetRectangleOfMonitor ()
 
uifcPoint_ptrGetScreenOrigin ()
 
uifcRectangle_ptrGetScreenRectangle ()
 
xintInsertPopupMenu (uifcComponent_ptr component)
 
xboolIsEnabled ()
 
voidPushAction (uifcScrollBarAction action)
 
voidSetAllowKeyboardInput (xbool flag)
 
voidSetBarIntervals (xint value)
 
voidSetCanRedraw (xbool flag)
 
voidSetDynamicUpdate (xbool flag)
 
voidSetEnabled (xbool flag)
 
voidSetFrameOrigin (uifcPoint_ptr value)
 
voidSetFrameRectangle (uifcRectangle_ptr rect)
 
voidSetFrameSize (uifcDimension_ptr value)
 
voidSetLength (xint value)
 
voidSetLineIntervals (xint value)
 
voidSetOrientation (uifcOrientation value)
 
voidSetPageIntervals (xint value)
 
voidStartTimer (xrstring timerName, xint duration)
 
voidStopTimer (xrstring timerName)
 


Methods Inherited from Class uifcComponent:

GetDialog, GetComponent, CreateInParent, AddPopupMenu, IsVisible, SetVisible, GetComponentClass, GetComponentClassName, IsAlwaysAtFront, SetAlwaysAtFront, GetBackgroundColor, SetBackgroundColor, IsAttachedAtBottom, SetAttachedAtBottom, GetBottomOffset, SetBottomOffset, GetCursorImage, SetCursorImage, GetTextColor, SetTextColor, GetHelpTextAlignment, SetHelpTextAlignment, GetHelpTextWidth, SetHelpTextWidth, GetHelpTextOriginX, SetHelpTextOriginX, GetHelpTextOriginY, SetHelpTextOriginY, CanInheritPopupMenu, SetCanInheritPopupMenu, IsAttachedAtLeft, SetAttachedAtLeft, GetLeftOffset, SetLeftOffset, DoesReserveSpace, SetReserveSpace, GetParentName, GetPopupMenuName, SetPopupMenuName, CanPopupMenuWhenDisabled, SetCanPopupMenuWhenDisabled, IsAttachedAtRight, SetAttachedAtRight, GetRightOffset, SetRightOffset, IsAttachedAtTop, SetAttachedAtTop, GetTopOffset, SetTopOffset, IsValidDropSite, SetValidDropSite, GetValidDropTypeFlags, SetValidDropTypeFlags, GetChildNameArray, DoesAllowTrailRecording, SetAllowTrailRecording, CanReduceHeight, SetCanReduceHeight, CanReduceWidth, SetCanReduceWidth


Methods Inherited from Class uifcRange_Controls:

GetMaximumIntegerValue, SetMaximumIntegerValue, GetIntegerValue, SetIntegerValue, GetMinimumIntegerValue, SetMinimumIntegerValue, GetFontName, SetFontName, GetFontClass, SetFontClass, GetFontSize, SetFontSize, GetHelpText, SetHelpText, GetFontStyle, SetFontStyle



Method Detail

voidSetFrameRectangle (uifcRectangle_ptr rect)

 

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:



voidDeletePopupMenu ()

 

Delete a MenuPane from the component.
Returns:



uifcPoint_ptrGetFrameOrigin ()

 

Determine the position of the component, in pixels, relative to its parent.
Returns:



xintInsertPopupMenu (uifcComponent_ptr component)

 

Add a MenuPane to be displayed when the user presses the right mouse button over the component.
Parameters:
component
Returns:



voidSetFrameOrigin (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:



voidChangeIntegerValue (xint change)

 

Increment the IntegerValue attribute of the component by the given amount.
Parameters:
change
Returns:



uifcDimension_ptrGetFrameMinimumSize ()

 

Determine the minimum size of the component, in pixels.
Returns:



uifcPoint_ptrGetScreenOrigin ()

 

Determine the screen position of the component, in pixels.
Returns:



voidSetFrameSize (uifcDimension_ptr value)

 

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:



uifcRectangle_ptrGetScreenRectangle ()

 

Determine the size and screen position of the component, in pixels.
Returns:



uifcRectangle_ptrGetRectangleOfMonitor ()

 

Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:



uifcDimension_ptrGetFrameSize ()

 

Determine the size of the component, in pixels.
Returns:



uifcRectangle_ptrGetFrameRectangle ()

 

Determine the size and position of the component, in pixels.
Returns:



xboolDoesDynamicUpdate ()

 
Returns:
Flag indicating whether the ScrollBar 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).



voidSetDynamicUpdate (xbool flag)

 

Sets flag indicating whether the ScrollBar 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:



xintGetPageIntervals ()

 
Returns:
The number of intervals of the ScrollBar which constitute a page of scrolling.



voidSetPageIntervals (xint value)

 

Sets the number of intervals of the ScrollBar which constitute a page of scrolling.
Parameters:
value
Returns:



uifcOrientationGetOrientation ()

 
Returns:
The orientation of the ScrollBar.

ORIENTATION_HORIZONTAL Horizontal, with the minimum value at the left
ORIENTATION_VERTICAL Vertical, with the minimum value at the bottom



voidSetOrientation (uifcOrientation value)

 

Sets the orientation of the ScrollBar.

ORIENTATION_HORIZONTAL Horizontal, with the minimum value at the left
ORIENTATION_VERTICAL Vertical, with the minimum value at the bottom

Parameters:
value
Returns:



xintGetLineIntervals ()

 
Returns:
The number of intervals of the ScrollBar which constitute a line of scrolling.



voidSetLineIntervals (xint value)

 

Sets the number of intervals of the ScrollBar which constitute a line of scrolling.
Parameters:
value
Returns:



xboolDoesAllowKeyboardInput ()

 
Returns:
Flag indicating whether the component is capable of receiving keyboard input (xtrue), and hence is capable of receiving the keyboard input focus, or whether it responds only to mouse input (xfalse).



voidSetAllowKeyboardInput (xbool flag)

 

Sets flag indicating whether the component is capable of receiving keyboard input (xtrue), and hence is capable of receiving the keyboard input focus, or whether it responds only to mouse input (xfalse).
Parameters:
flag
Returns:



xintGetLength ()

 
Returns:
The length of the ScrollBar, in character widths.



voidSetLength (xint value)

 

Sets the length of the ScrollBar, in character widths.
Parameters:
value
Returns:



xintGetBarIntervals ()

 
Returns:
The number of intervals of the range between the maximum and minimum values of the ScrollBar.



voidSetBarIntervals (xint value)

 

Sets the number of intervals of the range between the maximum and minimum values of the ScrollBar.
Parameters:
value
Returns:



xboolCanRedraw ()

 
Returns:
Flag indicating whether redraws are permitted in the ScrollBar.



voidSetCanRedraw (xbool flag)

 

Sets flag indicating whether redraws are permitted in the ScrollBar.
Parameters:
flag
Returns:



xboolIsEnabled ()

 
Returns:
Flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).



voidSetEnabled (xbool flag)

 

Sets flag indicating whether the component is disabled (xfalse) or sensitive to user input (xtrue).
Parameters:
flag
Returns:



voidAddActionListener (uifcScrollBarListener_ptr listener)

 


Parameters:
listener
Returns:



voidPushAction (uifcScrollBarAction action)

 


Parameters:
action
Returns:



voidCreateTimer (uifcScrollBarTimer_ptr timer, xrstring timerName, xbool writeInTrail)

 


Parameters:
timer
timerName
writeInTrail
Returns:



voidStartTimer (xrstring timerName, xint duration)

 


Parameters:
timerName
duration
Returns:



voidStopTimer (xrstring timerName)

 


Parameters:
timerName
Returns: