libyui
Public Member Functions | Protected Member Functions

YFrame Class Reference

Inheritance diagram for YFrame:
YSingleChildContainerWidget YWidget

List of all members.

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 YPropertySetpropertySet ()

Protected Member Functions

 YFrame (YWidget *parent, const string &label)

Constructor & Destructor Documentation

YFrame::YFrame ( YWidget parent,
const string &  label 
) [protected]

Constructor.

YFrame::~YFrame ( ) [virtual]

Destructor.


Member Function Documentation

YPropertyValue YFrame::getProperty ( const string &  propertyName) [virtual]

Get a property. Reimplemented from YWidget.

This method may throw exceptions, for example

  • if there is no property with that name

Reimplemented from YWidget.

string YFrame::label ( ) const

Get the current frame label.

const YPropertySet & YFrame::propertySet ( ) [virtual]

Return this class's property set. This also initializes the property set upon the first call.

Reimplemented from YWidget.

Reimplemented from YWidget.

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

  • if there is no property with that name
  • if the expected type and the type mismatch
  • if the value is out of range

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends