MMSInputWidgetClass Class Reference

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

#include <mmsinputwidgetclass.h>

Inheritance diagram for MMSInputWidgetClass:

List of all members.


Public Member Functions

 MMSInputWidgetClass ()
 Constructor of class MMSInputWidgetClass.
virtual ~MMSInputWidgetClass ()
 Destructor of class MMSInputWidgetClass.
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 isCursorState ()
 Check if the cursor state is set.
void setCursorState (MMSSTATE cursor_state)
 Set the cursor state.
void unsetCursorState ()
 Mark the cursor state as not set.
MMSSTATE getCursorState ()
 Get the current cursor state.

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 iscursor_state
 is cursor state set?
MMSSTATE cursor_state
 requested cursor state

Friends

class MMSThemeManager
class MMSDialogManager

Detailed Description

A data access class for the input widget.

This class is the base for the MMSInputWidget class and is derived from MMSTextBaseClass which is the base for all widgets with text output. 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 MMSInputWidget.
Author:
Jens Schneider

Definition at line 82 of file mmsinputwidgetclass.h.


Constructor & Destructor Documentation

MMSInputWidgetClass::MMSInputWidgetClass (  ) 

Constructor of class MMSInputWidgetClass.

Definition at line 46 of file mmsinputwidgetclass.cpp.

MMSInputWidgetClass::~MMSInputWidgetClass (  )  [virtual]

Destructor of class MMSInputWidgetClass.

Definition at line 50 of file mmsinputwidgetclass.cpp.


Member Function Documentation

void MMSInputWidgetClass::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 60 of file mmsinputwidgetclass.cpp.

void MMSInputWidgetClass::unsetAll (  )  [virtual]

Mark all attributes as not set.

Reimplemented from MMSTextBaseClass.

Definition at line 54 of file mmsinputwidgetclass.cpp.

void MMSInputWidgetClass::setClassName ( string  className  ) 

Set the name of the theme class.

Parameters:
classname name of the class

Definition at line 148 of file mmsinputwidgetclass.cpp.

string MMSInputWidgetClass::getClassName (  ) 

Get the name of the theme class.

Returns:
name of the class

Definition at line 152 of file mmsinputwidgetclass.cpp.

bool MMSInputWidgetClass::isCursorState (  ) 

Check if the cursor state is set.

Definition at line 156 of file mmsinputwidgetclass.cpp.

void MMSInputWidgetClass::setCursorState ( MMSSTATE  cursor_state  ) 

Set the cursor state.

Parameters:
cursor_state state: true, false, auto

Definition at line 160 of file mmsinputwidgetclass.cpp.

void MMSInputWidgetClass::unsetCursorState (  ) 

Mark the cursor state as not set.

Definition at line 165 of file mmsinputwidgetclass.cpp.

MMSSTATE MMSInputWidgetClass::getCursorState (  ) 

Get the current cursor state.

Returns:
cursor state

Definition at line 169 of file mmsinputwidgetclass.cpp.


Friends And Related Function Documentation

friend class MMSThemeManager [friend]

Reimplemented from MMSTextBaseClass.

Definition at line 147 of file mmsinputwidgetclass.h.

friend class MMSDialogManager [friend]

Reimplemented from MMSTextBaseClass.

Definition at line 148 of file mmsinputwidgetclass.h.


Member Data Documentation

name of the theme class

Definition at line 85 of file mmsinputwidgetclass.h.

is cursor state set?

Definition at line 88 of file mmsinputwidgetclass.h.

requested cursor state

Definition at line 91 of file mmsinputwidgetclass.h.

stores base widget attributes

Definition at line 105 of file mmsinputwidgetclass.h.


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