Package nltk_lite :: Package draw :: Module chart :: Class ChartComparer
[show private | hide private]
[frames | no frames]

Type ChartComparer

object --+
         |
        ChartComparer



Method Summary
  __init__(self, *chart_filenames)
  destroy(self, *e)
  load_chart(self, filename)
  load_chart_dialog(self, *args)
  mainloop(self, *args, **kwargs)
  save_chart_dialog(self, *args)
  select_cell(self, i, j)
  select_edge(self, edge)
  _apply_op(self)
  _checkcompat(self)
  _clear_out_chart(self)
  _detatch_out(self)
  _difference(self)
  _init_bindings(self, root)
  _init_buttons(self, root)
  _init_chartviews(self, root)
  _init_divider(self, root)
  _init_menubar(self, root)
  _intersection(self)
  _select_left(self, name)
  _select_right(self, name)
  _swapcharts(self)
  _union(self)
  _update(self, operator, out_chart)
  _update_chartviews(self)
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Instance Variable Summary
  _charts: A dictionary mapping names to charts.
  _left_chart: The left Chart.
  _left_matrix: The ChartMatrixView for _left_chart
  _left_name: The name _left_chart (derived from filename)
  _left_selector: The drop-down MutableOptionsMenu used to select _left_chart.
  _op_label: A Label containing the most recent operation.
  _out_chart: The out Chart.
  _out_label: The label for _out_chart.
  _out_matrix: The ChartMatrixView for _out_chart
  _out_name: The name _out_chart (derived from filename)
  _right_chart: The right Chart.
  _right_matrix: The ChartMatrixView for _right_chart
  _right_name: The name _right_chart (derived from filename)
  _right_selector: The drop-down MutableOptionsMenu used to select _right_chart.
  _root: The root window

Class Variable Summary
list CHART_FILE_TYPES = [('Pickle file', '.pickle'), ('All fi...
dict _OPSYMBOL = {'and': '\xc7', '-': '-', 'or': '\xc8'}

Instance Variable Details

_charts

A dictionary mapping names to charts. When charts are loaded, they are added to this dictionary.

_left_chart

The left Chart.

_left_matrix

The ChartMatrixView for _left_chart

_left_name

The name _left_chart (derived from filename)

_left_selector

The drop-down MutableOptionsMenu used to select _left_chart.

_op_label

A Label containing the most recent operation.

_out_chart

The out Chart.

_out_label

The label for _out_chart.

_out_matrix

The ChartMatrixView for _out_chart

_out_name

The name _out_chart (derived from filename)

_right_chart

The right Chart.

_right_matrix

The ChartMatrixView for _right_chart

_right_name

The name _right_chart (derived from filename)

_right_selector

The drop-down MutableOptionsMenu used to select _right_chart.

_root

The root window

Class Variable Details

CHART_FILE_TYPES

Type:
list
Value:
[('Pickle file', '.pickle'), ('All files', '*')]                       

_OPSYMBOL

Type:
dict
Value:
{'and': '\xc7', '-': '-', 'or': '\xc8'}                                

Generated by Epydoc 2.1 on Tue Sep 5 09:37:22 2006 http://epydoc.sf.net