MGUI::FORM_EDIT_EXTENTS Class Reference

Form consisting of label and string edit field. More...

#include <mgui/formextents.h>

Inheritance diagram for MGUI::FORM_EDIT_EXTENTS:

Inheritance graph
[legend]
List of all members.

Public Types

enum  FLAGS { FLAG_None = 0x00, FLAG_AllowAllGeorefDatumTypes = 0x01, FLAG_NoChangeCoordRefSys = 0x02 }

Public Member Functions

void ClearExtents (bool notify=true)
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, bool IsRangeEditable=true, FLAGS flags=FLAG_None, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize)
 FORM_EDIT_EXTENTS ()
const SPATREF::COORDREFSYSGetCoordRefSys () const
const DRECT2DGetExtents () const
bool HasAllRangeValues ()
void SetCoordRefSys (const SPATREF::COORDREFSYS &CoordRefSys, bool notify=true)
void SetExtents (const DRECT2D &Extents, bool notify=true)
void SetRangeEditable (bool IsRangeEditable)
virtual ~FORM_EDIT_EXTENTS ()

Detailed Description

Form consisting of label and string edit field.

Definition at line 57 of file formextents.h.


Member Enumeration Documentation

enum MGUI::FORM_EDIT_EXTENTS::FLAGS
 

Enumeration values:
FLAG_None 
FLAG_AllowAllGeorefDatumTypes  Allow all georeference-supported datum types.
FLAG_NoChangeCoordRefSys  Disallow changing of coordinate reference system.

Definition at line 60 of file formextents.h.


Constructor & Destructor Documentation

MGUI::FORM_EDIT_EXTENTS::FORM_EDIT_EXTENTS  ) 
 

Constructor.

virtual MGUI::FORM_EDIT_EXTENTS::~FORM_EDIT_EXTENTS  )  [virtual]
 

Destructor.


Member Function Documentation

void MGUI::FORM_EDIT_EXTENTS::ClearExtents bool  notify = true  ) 
 

Clear range edit controls.

void MGUI::FORM_EDIT_EXTENTS::Create MGUI::LAYOUT_PANE_BASE ParentPane,
bool  IsRangeEditable = true,
FLAGS  flags = FLAG_None,
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_EXTENTS::GetCoordRefSys  )  const [inline]
 

Get the projection to use for extents selection.

Definition at line 92 of file formextents.h.

const DRECT2D& MGUI::FORM_EDIT_EXTENTS::GetExtents  )  const [inline]
 

Get the extents of the form.

Definition at line 88 of file formextents.h.

bool MGUI::FORM_EDIT_EXTENTS::HasAllRangeValues  ) 
 

Determine if user has entered values for all range fields.

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

Set the projection to use for extents selection.

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

void MGUI::FORM_EDIT_EXTENTS::SetExtents const DRECT2D Extents,
bool  notify = true
 

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

void MGUI::FORM_EDIT_EXTENTS::SetRangeEditable bool  IsRangeEditable  ) 
 

Set the extents section to be editable.


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