cTextFigure Class Reference

EXPERIMENTAL CLASS, NOT PART OF THE OFFICIAL OMNeT++ API! ALL DETAILS ARE SUBJECT TO CHANGE. More...

#include <ccanvas.h>

Inheritance diagram for cTextFigure:
cFigure cOwnedObject cNamedObject cObject

List of all members.

Public Member Functions

virtual cTextFiguredup () const
virtual std::string info () const

Detailed Description

EXPERIMENTAL CLASS, NOT PART OF THE OFFICIAL OMNeT++ API! ALL DETAILS ARE SUBJECT TO CHANGE.

Note: font size is in non-zooming pixels (font doesn't grow with zoom)


Member Function Documentation

virtual cTextFigure* cTextFigure::dup (  )  const [inline, virtual]

Should be redefined in subclasses to create an exact copy of this object.

The default implementation just throws an error, to indicate that the method was not redefined.

Reimplemented from cObject.

virtual std::string cTextFigure::info (  )  const [virtual]

Can be redefined to produce a one-line description of object.

The string appears in the graphical user interface (Tkenv) e.g. when the object is displayed in a listbox. The returned string should possibly be at most 80-100 characters long, and must not contain newline.

See also:
detailedInfo()

Reimplemented from cFigure.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:30 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3