RVC::UI::FORM_EDIT_OBJECTNAME Class Reference

Object name edit form with label and edit field. More...

#include <rvc/uieditobjectname.h>

Inheritance diagram for RVC::UI::FORM_EDIT_OBJECTNAME:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FORM_EDIT_OBJECTNAME ()
virtual ~FORM_EDIT_OBJECTNAME ()
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap)
CTRL_EDIT_OBJECTNAMEGetEditCtrl ()
MGUI::CTRL_LABELGetLabel ()
const RVC::OBJECTNAMEGetValue () const
void SetValue (const RVC::OBJECTNAME &name, bool notify=true)

Detailed Description

Object name edit form with label and edit field.


Constructor & Destructor Documentation

RVC::UI::FORM_EDIT_OBJECTNAME::FORM_EDIT_OBJECTNAME (  ) 

Constructor.

virtual RVC::UI::FORM_EDIT_OBJECTNAME::~FORM_EDIT_OBJECTNAME (  )  [virtual]

Destructor.


Member Function Documentation

void RVC::UI::FORM_EDIT_OBJECTNAME::Create ( MGUI::LAYOUT_PANE_BASE ParentPane,
const MISTRING label,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize,
MGUI::CTRL_LABEL::STYLE  labelstyle = MGUI::CTRL_LABEL::STYLE_LeftNoWrap 
)

Create form with label from resource lookup.

Parameters:
ParentPane Parent pane
label Label
CTRL_EDIT_OBJECTNAME& RVC::UI::FORM_EDIT_OBJECTNAME::GetEditCtrl (  )  [inline]

Retrieve string "edit" control for form.

Use to configure control, set delegate, etc.

MGUI::CTRL_LABEL& RVC::UI::FORM_EDIT_OBJECTNAME::GetLabel (  )  [inline]

Retrieve label control for form.

Usually the label control is only retrieved for alignment purposes.

const RVC::OBJECTNAME& RVC::UI::FORM_EDIT_OBJECTNAME::GetValue (  )  const [inline]

Get current string value.

Equivalent to GetEditCtrl().GetValue().

void RVC::UI::FORM_EDIT_OBJECTNAME::SetValue ( const RVC::OBJECTNAME name,
bool  notify = true 
) [inline]

No comparison is made with the current string value.

Equivalent to GetEditCtrl().SetValue(...).

Parameters:
name New string to set
notify Call OnChangeValue() if string actually updated

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

Generated on Sun Oct 7 21:38:55 2012 for TNTsdk 2012 by  doxygen 1.6.1