|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Class representing colortable instruction. More...


Public Member Functions | |
| def | __init__ |
| def | __str__ |
| Returns particular part of text instruction. | |
| def | Read |
| Read instruction and save information. | |
| def | EstimateSize |
| Estimate size to draw vector legend. | |
Data Fields | |
| type | |
| defaultInstruction | |
| instruction | |
Class representing colortable instruction.
Definition at line 1437 of file instructions.py.
| def instructions.VectorLegend.__init__ | ( | self, | |
| id | |||
| ) |
Reimplemented from instructions.InstructionObject.
Definition at line 1439 of file instructions.py.
| def instructions.VectorLegend.__str__ | ( | self | ) |
Returns particular part of text instruction.
Reimplemented from instructions.InstructionObject.
Definition at line 1450 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.VectorLegend.EstimateSize | ( | self, | |
| vectorInstr, | |||
| fontsize, | |||
width = None, |
|||
cols = None |
|||
| ) |
Estimate size to draw vector legend.
Definition at line 1490 of file instructions.py.
References max.
| def instructions.VectorLegend.Read | ( | self, | |
| instruction, | |||
| text, | |||
| kwargs | |||
| ) |
Read instruction and save information.
Reimplemented from instructions.InstructionObject.
Definition at line 1461 of file instructions.py.
Reimplemented from instructions.InstructionObject.
Definition at line 1443 of file instructions.py.
Reimplemented from instructions.InstructionObject.
Definition at line 1448 of file instructions.py.
Definition at line 1441 of file instructions.py.
Referenced by widgets.BaseValidator.Validate().