libyui
|
Public Member Functions | |
virtual | ~YFrame () |
virtual const char * | widgetClass () const |
virtual void | setLabel (const string &newLabel) |
string | label () const |
virtual bool | setProperty (const string &propertyName, const YPropertyValue &val) |
virtual YPropertyValue | getProperty (const string &propertyName) |
virtual const YPropertySet & | propertySet () |
Protected Member Functions | |
YFrame (YWidget *parent, const string &label) |
YFrame::YFrame | ( | YWidget * | parent, |
const string & | label | ||
) | [protected] |
Constructor.
YFrame::~YFrame | ( | ) | [virtual] |
Destructor.
YPropertyValue YFrame::getProperty | ( | const string & | propertyName | ) | [virtual] |
string YFrame::label | ( | ) | const |
Get the current frame label.
const YPropertySet & YFrame::propertySet | ( | ) | [virtual] |
void YFrame::setLabel | ( | const string & | newLabel | ) | [virtual] |
Change the frame label.
Derived classes should overwrite this, but call this base class function in the overwritten function.
bool YFrame::setProperty | ( | const string & | propertyName, |
const YPropertyValue & | val | ||
) | [virtual] |
Set a property. Reimplemented from YWidget.
This method may throw exceptions, for example
This function returns 'true' if the value was successfully set and 'false' if that value requires special handling (not in error cases: those are covered by exceptions).
Reimplemented from YWidget.
virtual const char* YFrame::widgetClass | ( | ) | const [inline, virtual] |
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget.