class hline : public object

Horizontal line object..

Inheritance:


Public Methods

hline(void)
Default constructor.
hline(const std::string& wid)
Data constructor.
hline(const hline& x)
Copy constructor.
~hline(void)
Destructor.
object* clone(void) const
Clone the hline object.
void write(writer& out) const
Write the hline.
void setWidth(const std::string& w)
Set the hline width.
void setSize(const std::string& w)
Set the hline thickness.

Inherited from object:

Public Methods

virtual dim_t getXSize(void) const
virtual dim_t getYSize(void) const

Documentation

The HLINE class represents a Horizontal Line object. The hline object contains a width attribute which is set to 100\% by default.
hline(void)
Construct an empty hline.

hline(const std::string& wid)
Construct a hline with the specified width.
Parameters:
txt - Text describing the hline width.

hline(const hline& x)
Construct an hline identical to the argument.
Parameters:
x - Hline pobject to be copied.

~hline(void)
Destroy the hline object.

object* clone(void) const
Create an identical hline object and return a pointer.
Returns:
Pointer to the hline clone.

void write(writer& out) const
Write the horizontal line to the specified html writer.
Parameters:
out - HTML write to which the line is to be written.

void setWidth(const std::string& w)
Set the width (horizontal dimension) of the line to the specified value.
Parameters:
addr - New hline width.

void setSize(const std::string& w)
Set the thickness of the horizontal line to the specified value.
Parameters:
addr - New hline size.


This class has no child classes.
Author:
J. Zweizig
Version:
1.0; Modified May 29, 2001

alphabetic index hierarchy of classes


generated by doc++