Rules for subclassing:
Definition at line 46 of file databrowser.tcl.
Public Member Functions | |
getCData (TclString id) | |
getSelection () | |
refreshid (TclString id) | |
setIndexedSelection (TclList args) | |
setSelection (TclList args) | |
Protected Member Functions | |
_browse_action (TclWidget w) | |
_keypress_action (TclWidget w, TclKeyBinding k) | |
_motion_action (TclWidget w, TclNumber x, TclNumber y) | |
_return_action () | |
_rowtag (TclNumber row) | |
_setCount (TclNumber n) | |
init_data () | |
refreshrow (TclNumber row, TclString item) | |
Protected Attributes | |
TclString | _idColumnIndex = "" |
TclString | _selection = "" |
Private Member Functions | |
_evalSelectionPatterns () | |
_getMatchingRows (TclString regex, TclString varnameListIDs, TclString varnameMapIDs) | |
DataBrowser (TclList args) | |
Private Attributes | |
TclString | _prefix = "" |
|
A DataBrowser constructor.
|
|
browse slot. This method adjusts the selected file in AllFiles::_selection.
|
|
Evaluates input to the entry field as a list of regular expressions and matches them against all IDs in order to return a list of matching IDs Definition at line 258 of file databrowser.tcl. |
|
Returns a list of all row indices matching 'regex' in the ID column
|
|
React to a keypress into the table. Keys typed by the user are collected into a string, and the row whose id matches that string is selected. Definition at line 421 of file databrowser.tcl. |
|
Default motion slot.
Reimplemented in AllFiles. Definition at line 390 of file databrowser.tcl. References refreshid(). |
|
actions to take place on pressing return in the entryfield. Definition at line 244 of file databrowser.tcl. |
|
colorize the table rows This method is a callback configured to the table in order to colorize the rows. Definition at line 361 of file databrowser.tcl. |
|
display the count-label. This number should reflect the number of items selected
|
|
abstract methods for retrieving the relevant C or Tcl data values for a given ID
Reimplemented in AllConstraints, AllLexemes, AllNetworks, AllParses, and AllWordgraphs.
|
|
return a list of selected ids Definition at line 292 of file databrowser.tcl. References setSelection(). |
|
refresh the displayed data for a specific ID Definition at line 398 of file databrowser.tcl. Referenced by _motion_action(). |
|
abstract method called in refreshid
Reimplemented in AllWordgraphs.
|
|
Select one or more rows. A previous selection is cleared; without arguemnts, removes all selections. ARGS is a list of row indices. Definition at line 332 of file databrowser.tcl. |
|
Select one or more rows. A previous selection is cleared; without arguemnts, removes all selections. ARGS must be a list of strings without spaces in them. Definition at line 304 of file databrowser.tcl. Referenced by getSelection(). |
|
column index of table that contains selectable ids (used in _browse_action) Definition at line 87 of file databrowser.tcl. |
|
string of current selected row ids Definition at line 84 of file databrowser.tcl. |