MMSArrowWidgetClass Class Reference

A data access class for the arrow widget. More...

#include <mmsarrowwidgetclass.h>

List of all members.


Public Member Functions

 MMSArrowWidgetClass ()
 Constructor of class MMSArrowWidgetClass.
void unsetAll ()
 Mark all attributes as not set.
void setClassName (string className)
 Set the name of the theme class.
string getClassName ()
 Get the name of the theme class.
bool isColor ()
 Check if the color is set. This color will be used for the unselected arrow.
void setColor (MMSFBColor color)
 Set the color which is used to draw the unselected arrow.
void unsetColor ()
 Mark the color as not set.
MMSFBColor getColor ()
 Get the color which is used to draw the unselected arrow.
bool isSelColor ()
 Check if the color is set. This color will be used for the selected arrow.
void setSelColor (MMSFBColor selcolor)
 Set the color which is used to draw the selected arrow.
void unsetSelColor ()
 Mark the color as not set.
MMSFBColor getSelColor ()
 Get the color which is used to draw the selected arrow.
bool isDirection ()
 Check if the direction is set.
void setDirection (MMSDIRECTION direction)
 Set the direction of the arrow.
void unsetDirection ()
 Mark the direction as not set.
MMSDIRECTION getDirection ()
 Get the current direction of the arrow.
bool isCheckSelected ()
 Check if the checkselected is set.
void setCheckSelected (bool checkselected)
 Set the checkselected flag.
void unsetCheckSelected ()
 Mark the checkselected flag as not set.
bool getCheckSelected ()
 Get the checkselected flag.

Public Attributes

MMSWidgetClass widgetClass
 stores base widget attributes

Private Member Functions

void setAttributesFromTAFF (MMSTaffFile *tafff, string *prefix=NULL, string *path=NULL, bool reset_paths=false)
 Read and set all attributes from the given TAFF buffer.

Private Attributes

string className
 name of the theme class
bool iscolor
 is color set?
MMSFBColor color
 color if the arrow is not selected
bool isselcolor
 is selcolor set?
MMSFBColor selcolor
 color if the arrow is selected
bool isdirection
 is direction set?
MMSDIRECTION direction
 direction of the arrow
bool ischeckselected
 is checkselected set?
bool checkselected
 if true the input event will only be submitted if widget is in selected state

Friends

class MMSThemeManager
class MMSDialogManager

Detailed Description

A data access class for the arrow widget.

This class is the base for the MMSArrowWidget class. With this data store you have access to all changeable widget attributes. It is also one of the base classes for MMSThemeManager and MMSDialogManager which are main features of the MMSGUI.

Note:
This class will be internally used by class MMSArrowWidget.
Author:
Jens Schneider

Definition at line 97 of file mmsarrowwidgetclass.h.


Constructor & Destructor Documentation

MMSArrowWidgetClass::MMSArrowWidgetClass (  ) 

Constructor of class MMSArrowWidgetClass.

Definition at line 46 of file mmsarrowwidgetclass.cpp.


Member Function Documentation

void MMSArrowWidgetClass::setAttributesFromTAFF ( MMSTaffFile tafff,
string *  prefix = NULL,
string *  path = NULL,
bool  reset_paths = false 
) [private]

Read and set all attributes from the given TAFF buffer.

Parameters:
tafff pointer to the TAFF buffer
prefix optional, prefix to all attribute names (<prefix><attrname>=<attrvalue>)
path optional, path needed for empty path values from the TAFF buffer
reset_paths optional, should reset all path attributes?

Definition at line 58 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::unsetAll (  ) 

Mark all attributes as not set.

Definition at line 50 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::setClassName ( string  className  ) 

Set the name of the theme class.

Parameters:
className name of the class

Definition at line 227 of file mmsarrowwidgetclass.cpp.

string MMSArrowWidgetClass::getClassName (  ) 

Get the name of the theme class.

Returns:
name of the class

Definition at line 231 of file mmsarrowwidgetclass.cpp.

bool MMSArrowWidgetClass::isColor (  ) 

Check if the color is set. This color will be used for the unselected arrow.

Returns:
true if the color is set

Definition at line 235 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::setColor ( MMSFBColor  color  ) 

Set the color which is used to draw the unselected arrow.

Parameters:
color color for unselected arrow

Definition at line 239 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::unsetColor (  ) 

Mark the color as not set.

Definition at line 244 of file mmsarrowwidgetclass.cpp.

MMSFBColor MMSArrowWidgetClass::getColor (  ) 

Get the color which is used to draw the unselected arrow.

Returns:
color which is used for the unselected arrow

Definition at line 248 of file mmsarrowwidgetclass.cpp.

bool MMSArrowWidgetClass::isSelColor (  ) 

Check if the color is set. This color will be used for the selected arrow.

Returns:
true if the color is set

Definition at line 252 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::setSelColor ( MMSFBColor  selcolor  ) 

Set the color which is used to draw the selected arrow.

Parameters:
selcolor color for selected arrow

Definition at line 256 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::unsetSelColor (  ) 

Mark the color as not set.

Definition at line 261 of file mmsarrowwidgetclass.cpp.

MMSFBColor MMSArrowWidgetClass::getSelColor (  ) 

Get the color which is used to draw the selected arrow.

Returns:
color which is used for the selected arrow

Definition at line 265 of file mmsarrowwidgetclass.cpp.

bool MMSArrowWidgetClass::isDirection (  ) 

Check if the direction is set.

Returns:
true if the direction is set

Definition at line 269 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::setDirection ( MMSDIRECTION  direction  ) 

Set the direction of the arrow.

Parameters:
direction direction, see definition of MMSDIRECTION

Definition at line 273 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::unsetDirection (  ) 

Mark the direction as not set.

Definition at line 278 of file mmsarrowwidgetclass.cpp.

MMSDIRECTION MMSArrowWidgetClass::getDirection (  ) 

Get the current direction of the arrow.

Returns:
direction

Definition at line 282 of file mmsarrowwidgetclass.cpp.

bool MMSArrowWidgetClass::isCheckSelected (  ) 

Check if the checkselected is set.

Returns:
true if the checkselected is set

Definition at line 286 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::setCheckSelected ( bool  checkselected  ) 

Set the checkselected flag.

Parameters:
checkselected if true the input event will only be submitted if widget is in selected state

Definition at line 290 of file mmsarrowwidgetclass.cpp.

void MMSArrowWidgetClass::unsetCheckSelected (  ) 

Mark the checkselected flag as not set.

Definition at line 295 of file mmsarrowwidgetclass.cpp.

bool MMSArrowWidgetClass::getCheckSelected (  ) 

Get the checkselected flag.

Returns:
checkselected

Definition at line 299 of file mmsarrowwidgetclass.cpp.


Friends And Related Function Documentation

friend class MMSThemeManager [friend]

Definition at line 243 of file mmsarrowwidgetclass.h.

friend class MMSDialogManager [friend]

Definition at line 244 of file mmsarrowwidgetclass.h.


Member Data Documentation

name of the theme class

Definition at line 100 of file mmsarrowwidgetclass.h.

is color set?

Definition at line 103 of file mmsarrowwidgetclass.h.

color if the arrow is not selected

Definition at line 106 of file mmsarrowwidgetclass.h.

is selcolor set?

Definition at line 109 of file mmsarrowwidgetclass.h.

color if the arrow is selected

Definition at line 112 of file mmsarrowwidgetclass.h.

is direction set?

Definition at line 115 of file mmsarrowwidgetclass.h.

direction of the arrow

Definition at line 118 of file mmsarrowwidgetclass.h.

is checkselected set?

Definition at line 121 of file mmsarrowwidgetclass.h.

if true the input event will only be submitted if widget is in selected state

Definition at line 124 of file mmsarrowwidgetclass.h.

stores base widget attributes

Definition at line 138 of file mmsarrowwidgetclass.h.


The documentation for this class was generated from the following files: