Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

PG_PropertyEditor::PG_PropertyEditorField Class Reference

Inheritance diagram for PG_PropertyEditor::PG_PropertyEditorField:

Inheritance graph
[legend]
List of all members.

Detailed Description

Interface for all the different PropertyFields.


Public Member Functions

virtual bool Valid ()=0
 checks if the entered value is valid
virtual bool Apply ()=0
 Write the entered value back into the referenced variable (if it exists), provided the value is valid.
virtual void Reload ()=0
 Reloads the entry field with the current value of the referenced variable (if it exists).
virtual void Focus ()
 Sets the Focus onto the field.
virtual ~PG_PropertyEditorField ()


Constructor & Destructor Documentation

virtual PG_PropertyEditor::PG_PropertyEditorField::~PG_PropertyEditorField  )  [inline, virtual]
 


Member Function Documentation

virtual bool PG_PropertyEditor::PG_PropertyEditorField::Apply  )  [pure virtual]
 

Write the entered value back into the referenced variable (if it exists), provided the value is valid.

Returns:
false if the value is not valid

Implemented in PG_PropertyField_Checkbox< B >, PG_PropertyField_IntDropDown< IntType, iterator >, PG_PropertyField_Integer< IntegerType >, and PG_PropertyField_String< StringType >.

virtual void PG_PropertyEditor::PG_PropertyEditorField::Focus  )  [inline, virtual]
 

Sets the Focus onto the field.

Reimplemented in PG_PropertyEditor_LineField.

virtual void PG_PropertyEditor::PG_PropertyEditorField::Reload  )  [pure virtual]
 

Reloads the entry field with the current value of the referenced variable (if it exists).

Implemented in PG_PropertyField_Checkbox< B >, PG_PropertyField_IntDropDown< IntType, iterator >, PG_PropertyField_Integer< IntegerType >, and PG_PropertyField_String< StringType >.

virtual bool PG_PropertyEditor::PG_PropertyEditorField::Valid  )  [pure virtual]
 

checks if the entered value is valid

Implemented in PG_PropertyField_Checkbox< B >, PG_PropertyField_IntDropDown< IntType, iterator >, PG_PropertyField_Integer< IntegerType >, and PG_PropertyField_String< StringType >.



The ParaGUI Project - Alexander Pipelka