## class XGControl

> Declared in <XControls.h>
> Declared from XGView

> Basic control abstraction. A 'control' is basically a view which has a value. That value is then manipulated by the view's user interface.

Control Values

> XGControl::GetValue
> XGControl::SetValue

Minimum/Maximum Values

> XGControl::GetMaxValue
> XGControl::GetMinValue
> XGControl::SetMaxValue
> XGControl::SetMinValue

Public methods

> XGControl::StripAmperstand
> XGControl::XGControl
> XGControl::XGControl
> XGControl::~XGControl

Control Values

XGControl::GetValue

> Usage: virtual long GetValue()=0

> Gets the value of this control. This is an abstract method which needs to be overridden for controls.

XGControl::SetValue

> Usage: virtual long GetValue()=0 virtual void SetValue(long)=0

> Sets the value of this control. This is an abstract method which needs to be overridden for controls.

Minimum/Maximum Values

XGControl::GetMaxValue

> Usage: virtual long GetMinValue()=0 virtual long GetMaxValue()=0

> Gets maximum value allowed by slider. This is an abstract method which needs to be overridden for controls.

XGControl::GetMinValue

> Usage: virtual long GetMinValue()=0

> Gets minimum value allowed by this slider. This is an abstract method which needs to be overridden for controls.

XGControl::SetMaxValue

> Usage: virtual long GetMinValue()=0 virtual long GetMaxValue()=0 virtual void SetMinValue(long)=0 virtual void SetMaxValue(long)=0

> Sets the maximum value allowed by slider. This is an abstract method which needs to be overridden for controls.

XGControl::SetMinValue

> Usage: virtual long GetMinValue()=0 virtual long GetMaxValue()=0 virtual void SetMinValue(long)=0

> Sets the minimum value allowed by slider. This is an abstract method which needs to be overridden for controls.

Public methods

XGControl::StripAmperstand

> Usage: char*XGControl::StripAmperstand(char*out,const char*in)

> Macintosh controls do not show the amperstand. But for controls which defer to the built-in controls, I have to strip amperstands out

XGControl::XGControl

> Usage: XGControl::XGControl(XGOwner*view,XGArgStream&s):XGView(view,s)

> Default constructor

XGControl::XGControl

> Usage: XGCommandButton::~XGCommandButton()

> Default constructor

XGControl::~XGControl

> Usage: XGControl::~XGControl()

> Delete me