GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
colorrules.RasterColorTable Class Reference
Inheritance diagram for colorrules.RasterColorTable:
Collaboration diagram for colorrules.RasterColorTable:

Public Member Functions

def __init__
 Dialog for interactively entering color rules for raster maps. More...
 
def OnSelectionInput
 Raster map selected. More...
 
def OnPreview
 Update preview (based on computational region) More...
 
def OnHelp
 Show GRASS manual page. More...
 
- Public Member Functions inherited from colorrules.ColorTable
def __init__
 Dialog for interactively entering rules for map management commands. More...
 
def InitDisplay
 Initialize preview display, set dimensions and region. More...
 
def OnCloseWindow
 Window closed. More...
 
def OnApply
 Apply selected color table. More...
 
def OnOK
 Apply selected color table and close the dialog. More...
 
def OnCancel
 Do not apply any changes, remove associated rendered images and close the dialog. More...
 
def OnSetTable
 Load pre-defined color table. More...
 
def OnSaveRulesFile
 Save color table to file. More...
 
def OnLoadRulesFile
 Load color table from file. More...
 
def ReadColorTable
 Read color table. More...
 
def OnLoadDefaultTable
 Load internal color table. More...
 
def LoadTable
 Load current color table (using r(v).colors.out) More...
 
def CreateColorTable
 Creates color table. More...
 
def DoPreview
 Update preview (based on computational region) More...
 
def RunHelp
 Show GRASS manual page. More...
 
def SetMap
 Set map name and update dialog. More...
 

Data Fields

 mapType
 
 attributeType
 
 colorTable
 
 properties
 
 inmap
 
- Data Fields inherited from colorrules.ColorTable
 parent
 
 layerTree
 
 panel
 
 Map
 
 inmap
 
 layer
 
 mapType
 
 selectionInput
 
 loadRules
 
 saveRules
 
 btnSet
 
 preview
 
 btnHelp
 
 btnCancel
 
 btnApply
 
 btnOK
 
 btnDefault
 
 cr_label
 
 rulesPanel
 
 btnPreview
 
 width
 
 height
 

Detailed Description

Definition at line 774 of file colorrules.py.

Constructor & Destructor Documentation

def colorrules.RasterColorTable.__init__ (   self,
  parent,
  kwargs 
)

Dialog for interactively entering color rules for raster maps.

Definition at line 775 of file colorrules.py.

Member Function Documentation

def colorrules.RasterColorTable.OnHelp (   self,
  event 
)

Show GRASS manual page.

Definition at line 923 of file colorrules.py.

def colorrules.RasterColorTable.OnPreview (   self,
  tmp = True 
)
def colorrules.RasterColorTable.OnSelectionInput (   self,
  event 
)

Raster map selected.

Definition at line 834 of file colorrules.py.

Referenced by colorrules.VectorColorTable.CreateAttrTable().

Field Documentation

colorrules.RasterColorTable.mapType

The documentation for this class was generated from the following file: