MGUI::FORM_EDIT_COORD Class Reference

Form consisting of label and edit fields for editing a single coordinate. More...

#include <mgui/formcoord.h>

Inheritance diagram for MGUI::FORM_EDIT_COORD:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Clear (bool notify=true)
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize)
 FORM_EDIT_COORD ()
const SPATREF::COORDREFSYSGetCoordRefSys () const
const DPOINT3DGetValue () const
bool HasValues ()
void SetCoordRefSys (const SPATREF::COORDREFSYS &CoordRefSys, bool notify=true)
void SetValue (const DPOINT3D &Point, bool notify=true)
void SetValue (const DPOINT2D &Point, bool notify=true)
virtual ~FORM_EDIT_COORD ()

Detailed Description

Form consisting of label and edit fields for editing a single coordinate.

Definition at line 42 of file formcoord.h.


Constructor & Destructor Documentation

MGUI::FORM_EDIT_COORD::FORM_EDIT_COORD  ) 
 

Constructor.

virtual MGUI::FORM_EDIT_COORD::~FORM_EDIT_COORD  )  [virtual]
 

Destructor.


Member Function Documentation

void MGUI::FORM_EDIT_COORD::Clear bool  notify = true  ) 
 

Clear range edit controls.

void MGUI::FORM_EDIT_COORD::Create MGUI::LAYOUT_PANE_BASE ParentPane,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize
 

Create form with label from resource lookup.

Parameters:
ParentPane  Parent pane

const SPATREF::COORDREFSYS& MGUI::FORM_EDIT_COORD::GetCoordRefSys  )  const [inline]
 

Get the projection to use for extents selection.

Definition at line 69 of file formcoord.h.

const DPOINT3D& MGUI::FORM_EDIT_COORD::GetValue  )  const [inline]
 

Get the extents of the form.

Definition at line 65 of file formcoord.h.

bool MGUI::FORM_EDIT_COORD::HasValues  ) 
 

Determine if user has entered values for both x and y (and z if enabled).

void MGUI::FORM_EDIT_COORD::SetCoordRefSys const SPATREF::COORDREFSYS CoordRefSys,
bool  notify = true
 

Set the projection to use for coordinate selection.

If a projection and value coordinates exists, the coordinate will be converted to the new projection

void MGUI::FORM_EDIT_COORD::SetValue const DPOINT3D Point,
bool  notify = true
 

Set the coordinate of the form Do this after the call to SetProjection() or the call to the method will alter the point.

void MGUI::FORM_EDIT_COORD::SetValue const DPOINT2D Point,
bool  notify = true
 

Set the coordinate of the form Do this after the call to SetProjection() or the call to the method will alter the point.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:52 2004 for TNTsdk by  doxygen 1.3.8-20040913