Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

sptkImageGadget Class Reference

#include <sptkimagegadget.h>

Inheritance diagram for sptkImageGadget:

sptkGadget sptkObject List of all members.

Public Member Functions

void setBorder (int border)
int getBorder ()
void setAlternate (std::string alternate)
std::string getAlternate ()
void setFile (std::string file)
std::string getFile ()
void setHeight (std::string height)
std::string getHeight ()
void setWidth (std::string width)
std::string getWidth ()

Protected Attributes

std::string file
std::string alternate
std::string width
std::string height
int border

Detailed Description

Author:
Sven Broenstrup


Member Function Documentation

std::string sptkImageGadget::getAlternate  
 

Get alternate text for actual image.

Returns:
Alternative text.

int sptkImageGadget::getBorder  
 

Get size of border around actual image.

Returns:
Size of border.

std::string sptkImageGadget::getFile  
 

Get source file of actual image.

Returns:
Source file to be loaded.

std::string sptkImageGadget::getHeight  
 

Get height of actual image in pixel or percent.

Returns:
Height of image.

std::string sptkImageGadget::getWidth  
 

Get width of actual image in pixel or percent.

Returns:
Width of image.

void sptkImageGadget::setAlternate std::string    alternate
 

Set alternate text for actual image.

Parameters:
alternate Alternative text to be set.

void sptkImageGadget::setBorder int    border
 

Set size of border around actual image.

Parameters:
border Size to be set.

void sptkImageGadget::setFile std::string    file
 

Set source file of actual image.

Parameters:
file Source file to be loaded.

void sptkImageGadget::setHeight std::string    height
 

Set height of actual image in pixel or percent.

Parameters:
height Height to be set.

void sptkImageGadget::setWidth std::string    width
 

Set width of actual image in pixel or percent.

Parameters:
width Width to be set.


Member Data Documentation

std::string sptkImageGadget::alternate [protected]
 

Alternative text if source-file is not found

int sptkImageGadget::border [protected]
 

Size of Border to be put around Image

std::string sptkImageGadget::file [protected]
 

Source-file of the Image

std::string sptkImageGadget::height [protected]
 

Height of the Image (displayed)

std::string sptkImageGadget::width [protected]
 

Width of the Image (displayed)


The documentation for this class was generated from the following file:
Powered by SPOM