|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Class representing mapinfo instruction. More...


Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | Read |
| Read instruction and save information. More... | |
| def | EstimateRect |
| Estimate size to draw mapinfo. More... | |
Public Member Functions inherited from instructions.InstructionObject | |
| def | __init__ |
| def | __str__ |
| Returns particular part of text instruction. More... | |
| def | __getitem__ |
| def | __setitem__ |
| def | GetInstruction |
| Get current values. More... | |
| def | SetInstruction |
| Set default values. More... | |
| def | Read |
| Read instruction and save them. More... | |
| def | PercentToReal |
| Converts text coordinates from percent of region to map coordinates. More... | |
Data Fields | |
| type | |
| defaultInstruction | |
| instruction | |
Data Fields inherited from instructions.InstructionObject | |
| id | |
| defaultInstruction | |
| instruction | |
| unitConv | |
Class representing mapinfo instruction.
Definition at line 715 of file instructions.py.
| def instructions.Mapinfo.__init__ | ( | self, | |
| id | |||
| ) |
Definition at line 717 of file instructions.py.
| def instructions.Mapinfo.__str__ | ( | self | ) |
Definition at line 727 of file instructions.py.
References instructions.Instruction.instruction, frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, instructions.InstructionObject.instruction, dialogs.MapFramePanel.instruction, frame.PsMapBufferedWindow.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, and dialogs.LegendDialog.instruction.
| def instructions.Mapinfo.EstimateRect | ( | self, | |
| mapinfoDict | |||
| ) |
Estimate size to draw mapinfo.
Definition at line 760 of file instructions.py.
Referenced by instructions.Mapinfo.Read().
| def instructions.Mapinfo.Read | ( | self, | |
| instruction, | |||
| text | |||
| ) |
Read instruction and save information.
Definition at line 735 of file instructions.py.
References instructions.Mapinfo.EstimateRect(), instructions.Instruction.instruction, frame.PsMapFrame.instruction, dialogs.PsmapDialog.instruction, instructions.InstructionObject.instruction, dialogs.MapFramePanel.instruction, frame.PsMapBufferedWindow.instruction, dialogs.RasterPanel.instruction, dialogs.VectorPanel.instruction, dialogs.LegendDialog.instruction, and utils.split().
| instructions.Mapinfo.defaultInstruction |
Definition at line 721 of file instructions.py.
| instructions.Mapinfo.instruction |
Definition at line 725 of file instructions.py.
| instructions.Mapinfo.type |
Definition at line 719 of file instructions.py.
Referenced by widgets.BaseValidator.Validate().