Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ConfigurationEditor::NamedEnumerationEditor Class Reference

#include <ConfigurationEditor.h>

Inheritance diagram for ConfigurationEditor::NamedEnumerationEditor:

Inheritance graph
[legend]
List of all members.

Detailed Description

based on a string input control for easier mixing with other primitives (which just use a basic string input control as an editor)

If selected, provides a submenu with symbolic options to better prompt the user with valid values

Definition at line 129 of file ConfigurationEditor.h.

Public Member Functions

 NamedEnumerationEditor (const std::string &n, const std::string &prompt, plist::NamedEnumerationBase &target)
 constructor
virtual void refresh ()
 called when the child has deactivated and this control should refresh its display, or some other event (such as the user pressing the refresh button) has happened to cause a refresh to be needed
virtual void deactivate ()
 purposely clearing slots on deactivate to avoid having sub-menus -- don't want to appear as a collection
virtual ControlBasedoSelect ()
 handles selecting one of the symbolic values
virtual void setHilights (const std::vector< unsigned int > &hi)
 override to only allow one hilight (first in the list)

Protected Attributes

plist::NamedEnumerationBasetgt
 the value being edited

Private Member Functions

 NamedEnumerationEditor (const NamedEnumerationEditor &)
 not supported
NamedEnumerationEditoroperator= (const NamedEnumerationEditor &)
 not supported


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

Tekkotsu v3.0
Generated Fri May 11 20:07:58 2007 by Doxygen 1.4.7