Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csSpinBox Class Reference
[Spin box]
The spinbox class is a combination of an input line and a bi-directional arrow button which can be used to switch input line contents back and forth between a set of predefined values.
More...
#include <csws/csspinbx.h>
Inheritance diagram for csSpinBox:

Public Member Functions | |
csSpinBox (csComponent *iParent, csInputLineFrameStyle iFrameStyle=csifsThickRect) | |
Create spin box object. | |
virtual | ~csSpinBox () |
Destructor. | |
virtual void | Draw () |
Draw the spin box. | |
virtual bool | HandleEvent (iEvent &Event) |
Handle external events. | |
void | SetLimits (int iMin, int iMax, char *iFormat="%d") |
Set spin box type to numerical and set spin limits. | |
void | SetValue (int iValue) |
Set spin box content. | |
int | InsertItem (char *iValue, int iPosition) |
Insert a item into spinbox (same as csSpinBoxInsertItem message). | |
virtual void | SetText (const char *iText) |
Set spinbox text. |
Detailed Description
The spinbox class is a combination of an input line and a bi-directional arrow button which can be used to switch input line contents back and forth between a set of predefined values.
Definition at line 109 of file csspinbx.h.
Constructor & Destructor Documentation
|
Create spin box object.
|
|
Destructor.
|
Member Function Documentation
|
Draw the spin box.
Reimplemented from csInputLine. |
|
Handle external events.
Reimplemented from csInputLine. |
|
Insert a item into spinbox (same as csSpinBoxInsertItem message).
|
|
Set spin box type to numerical and set spin limits.
|
|
Set spinbox text.
Reimplemented from csInputLine. |
|
Set spin box content. If spin box type is numerical, the iValue parameter is the number that will be set in entry field (after it will be clipped to Min..Max), if spin box type is enumerated, iValue is the ordinal of value to be set. |
The documentation for this class was generated from the following file:
- csws/csspinbx.h
Generated for Crystal Space by doxygen 1.3.9.1