Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
sptkTablePane Class Reference
#include <sptktablepane.h>
Inheritance diagram for sptkTablePane:
List of all members.
Detailed Description
- Author:
- Sven Broenstrup
Member Function Documentation
void sptkTablePane::add |
( |
sptkGadget * |
content, |
|
|
int |
colspan = 1, |
|
|
int |
rowspan = 1, |
|
|
bool |
header = 0 |
|
) |
|
|
|
Add a new cell to table. - Parameters:
-
content | Content to be used in new cell. |
colspan | How many cols to span over; optional, default=1. |
rowspan | How many rows to span over; optional, default=1. |
header | Weather the new cell is header or data type cell. |
|
void sptkTablePane::addHead |
( |
sptkGadget * |
content, |
|
|
int |
colspan = 1, |
|
|
int |
rowspan = 1 |
|
) |
|
|
|
Add a new cell to table as header type cell. - Parameters:
-
content | Content to be used in new cell. |
colspan | How many cols to span over; optional, default=1. |
rowspan | How many rows to span over; optional, default=1. |
|
int sptkTablePane::getBorder |
( |
|
) |
|
|
|
Get the width if the table borders. - Returns:
- The set width.
|
int sptkTablePane::getCellPadding |
( |
|
) |
|
|
|
Get the padding of the table cells. - Returns:
- The padding set.
|
int sptkTablePane::getCellSpacing |
( |
|
) |
|
|
|
Get the spacing beetween table cells. - Returns:
- The spacing set.
|
spdtList* sptkTablePane::getElements |
( |
|
) |
|
|
|
Get the elements of table. Only usefull for debugging and usage in assossiation with sptkTableGadget::setElements. - Returns:
- Pointer to elements of table. Use with attention.
|
std::string sptkTablePane::getHeight |
( |
|
) |
|
|
|
Get the height of table. - Returns:
- The height set.
|
std::string sptkTablePane::getWidth |
( |
|
) |
|
|
|
Get the width of table. - Returns:
- The width set.
|
void sptkTablePane::newRow |
( |
|
) |
|
|
|
Create new row and change new row to actual. |
void sptkTablePane::setBorder |
( |
int |
border |
) |
|
|
|
Set the width of the table borders. - Parameters:
-
|
void sptkTablePane::setCellPadding |
( |
int |
cellPadding |
) |
|
|
|
Set the padding of the table cells. - Parameters:
-
cellPadding | The padding to set. |
|
void sptkTablePane::setCellSpacing |
( |
int |
cellSpacing |
) |
|
|
|
Set the spacing between table cells. - Parameters:
-
cellSpacing | The spacing to set. |
|
void sptkTablePane::setElements |
( |
spdtList * |
elements |
) |
|
|
|
Set the elements of table. Caution using this with other data than returned by sptkTableGadget::getElements. Intenal Format used that my change in future. - Parameters:
-
elements | Pointer to elements of table. Caution using this with other data than returned by sptkTableGadget::getElements. Intenal Format used that my change in future. |
|
void sptkTablePane::setHeight |
( |
std::string |
height |
) |
|
|
|
Set the height of table. - Parameters:
-
height | The height to set. |
|
void sptkTablePane::setWidth |
( |
std::string |
width |
) |
|
|
|
Set the width of table. - Parameters:
-
|
Member Data Documentation
int sptkTablePane::border [protected]
|
|
|
Size of Border around Cells |
int sptkTablePane::cellPadding [protected]
|
|
|
Padding of content in Cells |
int sptkTablePane::cellSpacing [protected]
|
|
std::string sptkTablePane::height [protected]
|
|
std::string sptkTablePane::width [protected]
|
|
The documentation for this class was generated from the following file: