GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Abtract class representing single instruction. More...
Public Member Functions | |
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 | |
id | |
defaultInstruction | |
instruction | |
unitConv | |
Abtract class representing single instruction.
Definition at line 469 of file instructions.py.
def instructions.InstructionObject.__init__ | ( | self, | |
id | |||
) |
Definition at line 471 of file instructions.py.
def instructions.InstructionObject.__getitem__ | ( | self, | |
key | |||
) |
Definition at line 485 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.InstructionObject.__setitem__ | ( | self, | |
key, | |||
value | |||
) |
Definition at line 491 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.InstructionObject.__str__ | ( | self | ) |
Returns particular part of text instruction.
Definition at line 481 of file instructions.py.
def instructions.InstructionObject.GetInstruction | ( | self | ) |
Get current values.
Definition at line 494 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.InstructionObject.PercentToReal | ( | self, | |
e, | |||
n | |||
) |
Converts text coordinates from percent of region to map coordinates.
Definition at line 506 of file instructions.py.
Referenced by instructions.Text.Read(), instructions.Image.Read(), instructions.Point.Read(), instructions.Line.Read(), and instructions.Rectangle.Read().
def instructions.InstructionObject.Read | ( | self, | |
instruction, | |||
text, | |||
kwargs | |||
) |
Read instruction and save them.
Definition at line 502 of file instructions.py.
def instructions.InstructionObject.SetInstruction | ( | self, | |
instruction | |||
) |
Set default values.
Definition at line 498 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.
instructions.InstructionObject.defaultInstruction |
Definition at line 475 of file instructions.py.
instructions.InstructionObject.id |
Definition at line 472 of file instructions.py.
instructions.InstructionObject.instruction |
Definition at line 477 of file instructions.py.
Referenced by instructions.InstructionObject.__getitem__(), instructions.InstructionObject.__setitem__(), instructions.MapFrame.__str__(), instructions.PageSetup.__str__(), instructions.Mapinfo.__str__(), instructions.Text.__str__(), instructions.Image.__str__(), instructions.NorthArrow.__str__(), instructions.Point.__str__(), instructions.Line.__str__(), instructions.Rectangle.__str__(), instructions.Scalebar.__str__(), instructions.RasterLegend.__str__(), instructions.VectorLegend.__str__(), instructions.Raster.__str__(), instructions.VProperties.__str__(), instructions.Image.ChangeRefPoint(), instructions.InstructionObject.GetInstruction(), instructions.MapFrame.Read(), instructions.Mapinfo.Read(), instructions.Image.Read(), instructions.Point.Read(), instructions.Line.Read(), instructions.Rectangle.Read(), instructions.Scalebar.Read(), instructions.Vector.Read(), and instructions.InstructionObject.SetInstruction().
instructions.InstructionObject.unitConv |
Definition at line 479 of file instructions.py.