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

PG_PropertyEditor::PG_PropertyEditorField Class Reference

Interface for all the different PropertyFields. More...

#include <pgpropertyeditor.h>

Inheritance diagram for PG_PropertyEditor::PG_PropertyEditorField:

Inheritance graph
[legend]
List of all members.

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 ()

Detailed Description

Interface for all the different PropertyFields.

Definition at line 62 of file pgpropertyeditor.h.


Constructor & Destructor Documentation

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

Definition at line 78 of file pgpropertyeditor.h.


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_Button, PG_PropertyField_Checkbox< B >, PG_PropertyField_DropDown< StringType, iterator >, 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.

Definition at line 76 of file pgpropertyeditor.h.

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_Button, PG_PropertyField_Checkbox< B >, PG_PropertyField_DropDown< StringType, iterator >, 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_Button, PG_PropertyField_Checkbox< B >, PG_PropertyField_DropDown< StringType, iterator >, PG_PropertyField_IntDropDown< IntType, iterator >, PG_PropertyField_Integer< IntegerType >, and PG_PropertyField_String< StringType >.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:19:17 2008 for Advanced Strategic Command by  doxygen 1.4.2