VCF::OSXButton Class Reference
#include <OSXButton.h>
Inheritance diagram for VCF::OSXButton:

Public Member Functions | |
| OSXButton (CommandButton *control) | |
| virtual | ~OSXButton () |
| virtual Image * | getImage () |
| virtual void | setImage (Image *image) |
| virtual ButtonState | getState () |
| virtual void | create (Control *owningControl) |
| This is called to actually create any neccessary windowing system resources specific to a new control (or widget/window/etc) instance for the platform. | |
| virtual String | getText () |
| returns a text associated with the component. | |
| virtual void | setText (const String &text) |
| sets the text for the control | |
Protected Member Functions | |
| virtual OSStatus | handleOSXEvent (EventHandlerCallRef nextHandler, EventRef theEvent) |
Protected Attributes | |
| ButtonState | state_ |
| CommandButton * | commandButton_ |
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
This is called to actually create any neccessary windowing system resources specific to a new control (or widget/window/etc) instance for the platform. create() must be called by the containing VCF::Control subclass, typically in the classes constructor, after retreiving the new peer instance from the appropriate UIToolkit::createXXX() call. Reimplemented from VCF::OSXControl. |
|
|
Implements VCF::ButtonPeer. |
|
|
Implements VCF::ButtonPeer. |
|
|
returns a text associated with the component. This usually gets used in the Control::getCaption() method. Reimplemented from VCF::OSXControl. |
|
||||||||||||
|
Reimplemented from VCF::OSXControl. |
|
|
Implements VCF::ButtonPeer. |
|
|
sets the text for the control
Reimplemented from VCF::OSXControl. |
Member Data Documentation
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/OSXButton.h
