The class to format coordinates according different masks. More...
#include <formatmenu.h>


Public Member Functions | |
| wxGISCoordinatesFormatMenu (const wxString &title=wxEmptyString, long style=0) | |
| virtual void | PrepareMenu (void) |
| virtual void | OnSwapCoords (wxCommandEvent &event) |
| virtual void | OnChangeMasks (wxCommandEvent &event) |
| virtual void | OnSetMask (wxCommandEvent &event) |
| virtual void | OnSwapCoordsUI (wxUpdateUIEvent &event) |
Public Member Functions inherited from wxGISCoordinatesFormat | |
| wxGISCoordinatesFormat (const wxString &sMask, bool bSwap=false) | |
| virtual wxString | Format (double dX, double dY) |
| virtual bool | IsOk (void) |
| virtual void | Create (const wxString &sMask, bool bSwap=false) |
| virtual wxString | GetMask () const |
Protected Member Functions | |
| virtual void | Serialize (bool bStore) |
Protected Member Functions inherited from wxGISCoordinatesFormat | |
| wxString | FormatToken (int nValHigh, int nValLow) |
| wxString | FormatString (double dCoord, const wxString &sFormat, COORD_FORMAT nCoordFormat, bool bLat) |
| wxString | ParseString (const wxString &sMask, COORD_FORMAT *pCoordFormat) |
Protected Attributes | |
| wxArrayString | m_asCoordsMask |
Protected Attributes inherited from wxGISCoordinatesFormat | |
| bool | m_bIsOk |
| bool | m_bSwaped |
| wxString | m_sMask |
| wxString | m_sFormatX |
| wxString | m_sFormatY |
| wxString | m_sDivider |
| COORD_FORMAT | m_CoordFormatX |
| COORD_FORMAT | m_CoordFormatY |
| bool | m_bSign |
Additional Inherited Members | |
Public Types inherited from wxGISCoordinatesFormat | |
| enum | coord_format { D, DM, DMS, M, MS, S } |
|
typedef enum wxGISCoordinatesFormat::coord_format | COORD_FORMAT |
The class to format coordinates according different masks.