Library | File

Class uifcCheckButton

# include <uifcCheckButton.h>

class uifcCheckButton
 : public virtual uifcButtonBase
{
    xaideclare(uifcCheckButton)
    ...
};



Description





Method Summary

voidAddActionListener (uifcCheckButtonListener_ptr listener)
 
voidCreateTimer (uifcCheckButtonTimer_ptr timer, xrstring timerName, xbool writeInTrail)
 
voidDeletePopupMenu ()
 
uifcCheckStateGetCheckedState ()
 
uifcDimension_ptrGetFrameMinimumSize ()
 
uifcPoint_ptrGetFrameOrigin ()
 
uifcRectangle_ptrGetFrameRectangle ()
 
uifcDimension_ptrGetFrameSize ()
 
xstringGetMixedStateImage ()
 
uifcRectangle_ptrGetRectangleOfMonitor ()
 
uifcPoint_ptrGetScreenOrigin ()
 
uifcRectangle_ptrGetScreenRectangle ()
 
xstringGetSetStateImage ()
 
uifcDimension_ptrGetTextSize (xrstring str)
 
xstringGetUnsetStateImage ()
 
xintInsertPopupMenu (uifcComponent_ptr component)
 
xboolIs3State ()
 
xboolIsInMixedState ()
 
voidPushAction (uifcCheckButtonAction action)
 
voidSet3State (xbool flag)
 
voidSetCheckedState (uifcCheckState value)
 
voidSetFrameOrigin (uifcPoint_ptr value)
 
voidSetFrameRectangle (uifcRectangle_ptr rect)
 
voidSetFrameSize (uifcDimension_ptr value)
 
voidSetInMixedState (xbool flag)
 
voidSetMixedStateImage (xrstring value)
 
voidSetSetStateImage (xrstring value)
 
voidSetUnsetStateImage (xrstring 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 uifcButtonBase:

GetImageColor, SetImageColor, GetAcceleratorKey, SetAcceleratorKey, GetDragCursorImage, SetDragCursorImage, GetImage, SetImage, GetTextAlignment, SetTextAlignment, GetButtonStyle, SetButtonStyle, CanWrap, SetCanWrap, GetTextFormat, SetTextFormat, GetDragNotValidCursorImage, SetDragNotValidCursorImage, GetContentArrangement, SetContentArrangement, DoesAllowKeyboardInput, SetAllowKeyboardInput, GetFontName, SetFontName, GetFontClass, SetFontClass, IsValidDragSite, SetValidDragSite, CanTruncateText, SetCanTruncateText, CanResizeWhenNeeded, SetCanResizeWhenNeeded, GetFontSize, SetFontSize, IsEnabled, SetEnabled, GetHelpText, SetHelpText, GetText, SetText, GetFontStyle, SetFontStyle, GetImageBackgroundColor, SetImageBackgroundColor, GetAcceleratorText



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:



uifcDimension_ptrGetTextSize (xrstring str)

 

Get the size in pixels of the given text string.
Parameters:
str
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:



xboolIs3State ()

 
Returns:
Flag indicating whether the CheckButton has 2 (xfalse) or 3 (xtrue) states which can be cycled by the user.



voidSet3State (xbool flag)

 

Sets flag indicating whether the CheckButton has 2 (xfalse) or 3 (xtrue) states which can be cycled by the user.
Parameters:
flag
Returns:



xstringGetMixedStateImage ()

 
Returns:
If the button style is BUTTON_STYLE_CHECK then this value is the name of the check mark image to be displayed next to the label when the CheckButton is in a mixed state.
This may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.



voidSetMixedStateImage (xrstring value)

 

Sets if the button style is BUTTON_STYLE_CHECK then this value is the name of the check mark image to be displayed next to the label when the CheckButton is in a mixed state.
This may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Parameters:
value
Returns:



xboolIsInMixedState ()

 
Returns:
Flag indicating whether the CheckButton is neither set nor unset at this time and is therefore in an indeterminate "mixed" state.
If this attribute is set to xtrue then when the user activates the CheckButton it will automatically be reset to xfalse.



voidSetInMixedState (xbool flag)

 

Sets flag indicating whether the CheckButton is neither set nor unset at this time and is therefore in an indeterminate "mixed" state.
If this attribute is set to xtrue then when the user activates the CheckButton it will automatically be reset to xfalse.
Parameters:
flag
Returns:



uifcCheckStateGetCheckedState ()

 
Returns:
The state of the CheckButton.



voidSetCheckedState (uifcCheckState value)

 

Sets the state of the CheckButton.
Parameters:
value
Returns:



xstringGetUnsetStateImage ()

 
Returns:
If the button style is BUTTON_STYLE_CHECK then this value is the name of the check mark image to be displayed next to the label when the state of the CheckButton is False.
This may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.



voidSetUnsetStateImage (xrstring value)

 

Sets if the button style is BUTTON_STYLE_CHECK then this value is the name of the check mark image to be displayed next to the label when the state of the CheckButton is False.
This may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Parameters:
value
Returns:



xstringGetSetStateImage ()

 
Returns:
If the button style is BUTTON_STYLE_CHECK then this value is the name of the check mark image to be displayed next to the label when the state of the CheckButton is True.
This may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.



voidSetSetStateImage (xrstring value)

 

Sets if the button style is BUTTON_STYLE_CHECK then this value is the name of the check mark image to be displayed next to the label when the state of the CheckButton is True.
This may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Parameters:
value
Returns:



voidAddActionListener (uifcCheckButtonListener_ptr listener)

 


Parameters:
listener
Returns:



voidPushAction (uifcCheckButtonAction action)

 


Parameters:
action
Returns:



voidCreateTimer (uifcCheckButtonTimer_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: