Public Types | |
enum | PROPERTYCHANGES { FOCUSPAINTCHANGED = 1, SELECTIONCHANGE = 2, TEXTCHANGE = 3 } |
Public Member Functions | |
bool | isFocusPainted () const |
void | setFocusPainted (bool enable) |
void | setContentAreaFilled (bool b) |
bool | isContentAreaFilled () const |
void | setMargin (const util::Insets &m) |
const util::Insets & | getMargin () const |
void | setText (const std::string &value) |
const std::string & | getText () const |
void | setHorizontalAlignment (int alignment) |
void | setVerticalAlignment (int alignment) |
int | getHorizontalAlignment () const |
int | getVerticalAlignment () const |
void | setSelected (bool value) |
bool | isSelected () const |
void | setDefaultIcon (Icon *icon) |
void | setSelectedIcon (Icon *icon) |
void | setDisabledDefaultIcon (Icon *icon) |
void | setDisabledSelectedIcon (Icon *icon) |
Icon * | getDefaultIcon () const |
Icon * | getDisabledDefaultIcon () const |
Icon * | getSelectedIcon () const |
Icon * | getDisabledSelectedIcon () const |
void | doPressed () |
void | doReleased () |
void | doClicked () |
|
Returns true if the focus is painted, false otherwise. |
|
Enable or disable focus painting by setting this flag. |
|
Sets the flag for painting the content area, that is the background color. |
|
Returns wether the content area should be painted. |
|
Returns the margin used for laying out the text. |
|
Sets the margin used for laying out the text. |
|
Sets the label on the Component.
|
|
Returns the current label for this Component
|
|
Sets the horizontal alignment of the text.
|
|
Sets the vertical alignment of the text.
|
|
Returns the horizontal alignment. |
|
Returns the vertical alignment. |
|
Set the Button to its selected state. |
|
Returns the selected state of this Button. |
|
Sets the default Icon. |
|
Sets the selected state Icon. |
|
Sets the disabled default icon for this Button. |
|
Sets the disabled selected icon for this Button. |
|
Returns the default icon. |
|
Returns the disabled default icon. |
|
Returns the selected icon. |
|
Returns the default selected icon. |
|
Programmatic click. |
|
Programmatic click. |
|
Programmatic click. |