libyui  3.0.10
YFrame Class Reference
Inheritance diagram for YFrame:
Collaboration diagram for YFrame:

List of all members.

Public Member Functions

virtual ~YFrame ()
virtual const char * widgetClass () const
virtual void setLabel (const std::string &newLabel)
std::string label () const
virtual bool setProperty (const std::string &propertyName, const YPropertyValue &val)
virtual YPropertyValue getProperty (const std::string &propertyName)
virtual const YPropertySetpropertySet ()

Protected Member Functions

 YFrame (YWidget *parent, const std::string &label)

Detailed Description

Definition at line 35 of file YFrame.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 45 of file YFrame.cc.

YFrame::~YFrame ( ) [virtual]

Destructor.

Definition at line 53 of file YFrame.cc.


Member Function Documentation

YPropertyValue YFrame::getProperty ( const std::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.

Definition at line 106 of file YFrame.cc.

Here is the call graph for this function:

std::string YFrame::label ( ) const

Get the current frame label.

Definition at line 65 of file YFrame.cc.

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.

Definition at line 72 of file YFrame.cc.

Here is the call graph for this function:

void YFrame::setLabel ( const std::string &  newLabel) [virtual]

Change the frame label.

Derived classes should overwrite this, but call this base class function in the overwritten function.

Definition at line 59 of file YFrame.cc.

Here is the call graph for this function:

bool YFrame::setProperty ( const std::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.

Definition at line 91 of file YFrame.cc.

Here is the call graph for this function:

virtual const char* YFrame::widgetClass ( ) const [inline, virtual]

Returns a descriptive name of this widget class for logging, debugging etc.

Reimplemented from YWidget.

Definition at line 53 of file YFrame.h.


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