#include <vtkKWMultiColumnList.h>
Inheritance diagram for vtkKWMultiColumnList:
[NOHEADER] | |
enum | { ColumnAlignmentLeft = 0, ColumnAlignmentRight, ColumnAlignmentCenter, ColumnAlignmentUnknown } |
virtual int | GetColumnAlignment (int col_index) |
virtual void | SetColumnAlignment (int col_index, int align) |
virtual void | SetColumnAlignmentToLeft (int col_index) |
virtual void | SetColumnAlignmentToRight (int col_index) |
virtual void | SetColumnAlignmentToCenter (int col_index) |
virtual int | GetColumnLabelAlignment (int col_index) |
virtual void | SetColumnLabelAlignment (int col_index, int align) |
virtual void | SetColumnLabelAlignmentToLeft (int col_index) |
virtual void | SetColumnLabelAlignmentToRight (int col_index) |
virtual void | SetColumnLabelAlignmentToCenter (int col_index) |
[NOHEADER] | |
enum | { SortByIncreasingOrder = 0, SortByDecreasingOrder, SortByUnknownOrder } |
virtual void | SortByColumn (int col_index, int order) |
virtual void | SortByColumnIncreasingOrder (int col_index) |
virtual void | SortByColumnDecreasingOrder (int col_index) |
[NOHEADER] | |
enum | { SortModeAscii = 0, SortModeDictionary, SortModeInteger, SortModeReal, SortModeUnknown } |
virtual int | GetColumnSortMode (int col_index) |
virtual void | SetColumnSortMode (int col_index, int mode) |
virtual void | SetColumnSortModeToAscii (int col_index) |
virtual void | SetColumnSortModeToDictionary (int col_index) |
virtual void | SetColumnSortModeToInteger (int col_index) |
virtual void | SetColumnSortModeToReal (int col_index) |
[NOHEADER] | |
enum | { SelectionTypeRow, SelectionTypeCell, SelectionTypeUnknown } |
virtual int | GetSelectionType () |
virtual void | SetSelectionType (int align) |
virtual void | SetSelectionTypeToRow () |
virtual void | SetSelectionTypeToCell () |
Public Types | |
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWMultiColumnList, vtkKWCoreWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual int | GetNumberOfColumns () |
virtual void | SeeColumn (int col_index) |
virtual int | GetNumberOfRows () |
virtual void | SeeRow (int row_index) |
virtual void | ActivateRow (int row_index) |
virtual void | ActivateCell (int row_index, int col_index) |
virtual void | SeeCell (int row_index, int col_index) |
virtual const char * | GetCellWindowWidgetName (int row_index, int col_index) |
virtual int | IsRowSelected (int row_index) |
virtual int | GetIndexOfFirstSelectedRow () |
virtual int | IsCellSelected (int row_index, int col_index) |
virtual void | ClearSelection () |
virtual void | SetEditStartCommand (vtkObject *object, const char *method) |
virtual void | SetEditEndCommand (vtkObject *object, const char *method) |
virtual void | RejectInput () |
virtual void | SetCellUpdatedCommand (vtkObject *object, const char *method) |
virtual void | SetLabelCommand (vtkObject *object, const char *method) |
virtual void | SetSortCommand (vtkObject *object, const char *method) |
virtual void | UpdateEnableState () |
virtual void | SetWidth (int width) |
virtual int | GetWidth () |
virtual void | SetHeight (int height) |
virtual int | GetHeight () |
virtual void | SetBackgroundColor (double r, double g, double b) |
virtual void | SetBackgroundColor (double rgb[3]) |
virtual void | SetForegroundColor (double r, double g, double b) |
virtual void | SetForegroundColor (double rgb[3]) |
virtual int | InsertColumn (int col_index, const char *title) |
virtual int | AddColumn (const char *title) |
virtual void | SetColumnName (int col_index, const char *name) |
virtual const char * | GetColumnName (int col_index) |
virtual int | GetColumnIndexWithName (const char *name) |
virtual void | DeleteColumn (int col_index) |
virtual void | DeleteAllColumns () |
virtual void | MovableColumnsOn () |
virtual void | MovableColumnsOff () |
virtual void | SetMovableColumns (int) |
virtual int | GetMovableColumns () |
virtual void | SetRowSpacing (int) |
virtual int | GetRowSpacing () |
virtual void | ResizableColumnsOn () |
virtual void | ResizableColumnsOff () |
virtual void | SetResizableColumns (int) |
virtual int | GetResizableColumns () |
virtual void | ColumnSeparatorsVisibilityOn () |
virtual void | ColumnSeparatorsVisibilityOff () |
virtual void | SetColumnSeparatorsVisibility (int) |
virtual int | GetColumnSeparatorsVisibility () |
virtual void | ColumnLabelsVisibilityOn () |
virtual void | ColumnLabelsVisibilityOff () |
virtual void | SetColumnLabelsVisibility (int) |
virtual int | GetColumnLabelsVisibility () |
virtual void | GetColumnLabelBackgroundColor (double *r, double *g, double *b) |
virtual double * | GetColumnLabelBackgroundColor () |
virtual void | SetColumnLabelBackgroundColor (double r, double g, double b) |
virtual void | SetColumnLabelBackgroundColor (double rgb[3]) |
virtual void | GetColumnLabelForegroundColor (double *r, double *g, double *b) |
virtual double * | GetColumnLabelForegroundColor () |
virtual void | SetColumnLabelForegroundColor (double r, double g, double b) |
virtual void | SetColumnLabelForegroundColor (double rgb[3]) |
virtual void | SetColumnTitle (int col_index, const char *) |
virtual const char * | GetColumnTitle (int col_index) |
virtual void | SetColumnWidth (int col_index, int width) |
virtual int | GetColumnWidth (int col_index) |
virtual void | SetColumnMaximumWidth (int col_index, int width) |
virtual int | GetColumnMaximumWidth (int col_index) |
virtual void | SetColumnStretchable (int col_index, int flag) |
virtual void | ColumnStretchableOn (int col_index) |
virtual void | ColumnStretchableOff (int col_index) |
virtual int | GetColumnStretchable (int col_index) |
virtual void | StretchableColumnsOn () |
virtual void | StretchableColumnsOff () |
virtual void | SetStretchableColumns (int) |
virtual void | SortArrowVisibilityOn () |
virtual void | SortArrowVisibilityOff () |
virtual void | SetSortArrowVisibility (int) |
virtual int | GetSortArrowVisibility () |
virtual void | SetColumnResizable (int col_index, int flag) |
virtual void | ColumnResizableOn (int col_index) |
virtual void | ColumnResizableOff (int col_index) |
virtual int | GetColumnResizable (int col_index) |
virtual void | SetColumnEditable (int col_index, int flag) |
virtual void | ColumnEditableOn (int col_index) |
virtual void | ColumnEditableOff (int col_index) |
virtual int | GetColumnEditable (int col_index) |
virtual void | SetColumnVisibility (int col_index, int flag) |
virtual void | ColumnVisibilityOn (int col_index) |
virtual void | ColumnVisibilityOff (int col_index) |
virtual int | GetColumnVisibility (int col_index) |
virtual void | GetColumnBackgroundColor (int col_index, double *r, double *g, double *b) |
virtual double * | GetColumnBackgroundColor (int col_index) |
virtual void | SetColumnBackgroundColor (int col_index, double r, double g, double b) |
virtual void | SetColumnBackgroundColor (int col_index, double rgb[3]) |
virtual void | GetColumnForegroundColor (int col_index, double *r, double *g, double *b) |
virtual double * | GetColumnForegroundColor (int col_index) |
virtual void | SetColumnForegroundColor (int col_index, double r, double g, double b) |
virtual void | SetColumnForegroundColor (int col_index, double rgb[3]) |
virtual void | SetColumnLabelImage (int col_index, const char *) |
virtual void | SetColumnLabelImageToIcon (int col_index, vtkKWIcon *icon) |
virtual void | SetColumnLabelImageToPredefinedIcon (int col_index, int icon_index) |
virtual void | SetColumnLabelImageToPixels (int col_index, const unsigned char *pixels, int width, int height, int pixel_size, unsigned long buffer_length=0) |
virtual void | SetColumnFormatCommand (int col_index, vtkObject *object, const char *method) |
virtual void | SetColumnFormatCommandToEmptyOutput (int col_index) |
virtual void | MovableRowsOn () |
virtual void | MovableRowsOff () |
virtual void | SetMovableRows (int) |
virtual int | GetMovableRows () |
virtual void | InsertRow (int row_index) |
virtual void | AddRow () |
virtual void | DeleteRow (int row_index) |
virtual void | DeleteAllRows () |
virtual void | GetRowBackgroundColor (int row_index, double *r, double *g, double *b) |
virtual double * | GetRowBackgroundColor (int row_index) |
virtual void | SetRowBackgroundColor (int row_index, double r, double g, double b) |
virtual void | SetRowBackgroundColor (int row_index, double rgb[3]) |
virtual void | GetRowForegroundColor (int row_index, double *r, double *g, double *b) |
virtual double * | GetRowForegroundColor (int row_index) |
virtual void | SetRowForegroundColor (int row_index, double r, double g, double b) |
virtual void | SetRowForegroundColor (int row_index, double rgb[3]) |
virtual void | GetStripeBackgroundColor (double *r, double *g, double *b) |
virtual double * | GetStripeBackgroundColor () |
virtual void | SetStripeBackgroundColor (double r, double g, double b) |
virtual void | SetStripeBackgroundColor (double rgb[3]) |
virtual void | GetStripeForegroundColor (double *r, double *g, double *b) |
virtual double * | GetStripeForegroundColor () |
virtual void | SetStripeForegroundColor (double r, double g, double b) |
virtual void | SetStripeForegroundColor (double rgb[3]) |
virtual void | SetStripeHeight (int height) |
virtual int | GetStripeHeight () |
virtual void | SetRowSelectable (int row_index, int flag) |
virtual void | RowSelectableOn (int row_index) |
virtual void | RowSelectableOff (int row_index) |
virtual int | GetRowSelectable (int row_index) |
virtual void | InsertCellText (int row_index, int col_index, const char *text) |
virtual void | InsertCellTextAsInt (int row_index, int col_index, int value) |
virtual void | InsertCellTextAsDouble (int row_index, int col_index, double value) |
virtual void | InsertCellTextAsFormattedDouble (int row_index, int col_index, double value, int size) |
virtual void | SetCellText (int row_index, int col_index, const char *text) |
virtual void | SetCellTextAsInt (int row_index, int col_index, int value) |
virtual void | SetCellTextAsDouble (int row_index, int col_index, double value) |
virtual void | SetCellTextAsFormattedDouble (int row_index, int col_index, double value, int size) |
virtual const char * | GetCellText (int row_index, int col_index) |
virtual int | GetCellTextAsInt (int row_index, int col_index) |
virtual double | GetCellTextAsDouble (int row_index, int col_index) |
virtual void | InsertRowText (int row_index, const char *text) |
virtual void | InsertColumnText (int col_index, const char *text) |
virtual void | FindAndInsertCellText (int look_for_col_index, const char *look_for_text, int col_index, const char *text) |
virtual void | GetCellBackgroundColor (int row_index, int col_index, double *r, double *g, double *b) |
virtual double * | GetCellBackgroundColor (int row_index, int col_index) |
virtual void | SetCellBackgroundColor (int row_index, int col_index, double r, double g, double b) |
virtual void | SetCellBackgroundColor (int row_index, int col_index, double rgb[3]) |
virtual void | GetCellForegroundColor (int row_index, int col_index, double *r, double *g, double *b) |
virtual double * | GetCellForegroundColor (int row_index, int col_index) |
virtual void | SetCellForegroundColor (int row_index, int col_index, double r, double g, double b) |
virtual void | SetCellForegroundColor (int row_index, int col_index, double rgb[3]) |
virtual void | GetCellCurrentBackgroundColor (int row_index, int col_index, double *r, double *g, double *b) |
virtual double * | GetCellCurrentBackgroundColor (int row_index, int col_index) |
virtual void | GetCellCurrentForegroundColor (int row_index, int col_index, double *r, double *g, double *b) |
virtual double * | GetCellCurrentForegroundColor (int row_index, int col_index) |
virtual void | SetCellEditable (int row_index, int col_index, int flag) |
virtual void | CellEditableOn (int row_index, int col_index) |
virtual void | CellEditableOff (int row_index, int col_index) |
virtual int | GetCellEditable (int row_index, int col_index) |
virtual void | SetCellImage (int row_index, int col_index, const char *) |
virtual void | SetCellImageToIcon (int row_index, int col_index, vtkKWIcon *icon) |
virtual void | SetCellImageToPredefinedIcon (int row_index, int col_index, int icon_index) |
virtual void | SetCellImageToPixels (int row_index, int col_index, const unsigned char *pixels, int width, int height, int pixel_size, unsigned long buffer_length=0) |
virtual const char * | GetCellImage (int row_index, int col_index) |
virtual void | SetCellWindowCommand (int row_index, int col_index, vtkObject *object, const char *method) |
virtual void | SetCellWindowDestroyCommand (int row_index, int col_index, vtkObject *object, const char *method) |
virtual void | SetCellWindowDestroyCommandToRemoveChild (int row_index, int col_index) |
virtual void | RefreshCellWithWindowCommand (int row_index, int col_index) |
virtual void | RefreshAllCellsWithWindowCommand () |
virtual void | RefreshColorsOfCellWithWindowCommand (int row_index, int col_index) |
virtual void | RefreshColorsOfAllCellsWithWindowCommand () |
virtual void | AddBindingsToWidgetName (const char *widget_name) |
virtual void | AddBindingsToWidget (vtkKWWidget *widget) |
virtual void | AddBindingsToWidgetAndChildren (vtkKWWidget *widget) |
virtual int | FindCellText (const char *text, int *row_index, int *col_index) |
virtual int * | FindCellText (const char *text) |
virtual int | FindCellTextInColumn (int col_index, const char *text) |
virtual int | FindCellTextAsIntInColumn (int col_index, int value) |
virtual void | EditCell (int row_index, int col_index) |
virtual void | CancelEditing () |
virtual void | GetSelectionBackgroundColor (double *r, double *g, double *b) |
virtual double * | GetSelectionBackgroundColor () |
virtual void | SetSelectionBackgroundColor (double r, double g, double b) |
virtual void | SetSelectionBackgroundColor (double rgb[3]) |
virtual void | GetSelectionForegroundColor (double *r, double *g, double *b) |
virtual double * | GetSelectionForegroundColor () |
virtual void | SetSelectionForegroundColor (double r, double g, double b) |
virtual void | SetSelectionForegroundColor (double rgb[3]) |
virtual void | GetColumnSelectionBackgroundColor (int col_index, double *r, double *g, double *b) |
virtual double * | GetColumnSelectionBackgroundColor (int col_index) |
virtual void | SetColumnSelectionBackgroundColor (int col_index, double r, double g, double b) |
virtual void | SetColumnSelectionBackgroundColor (int col_index, double rgb[3]) |
virtual void | GetColumnSelectionForegroundColor (int col_index, double *r, double *g, double *b) |
virtual double * | GetColumnSelectionForegroundColor (int col_index) |
virtual void | SetColumnSelectionForegroundColor (int col_index, double r, double g, double b) |
virtual void | SetColumnSelectionForegroundColor (int col_index, double rgb[3]) |
virtual void | GetRowSelectionBackgroundColor (int row_index, double *r, double *g, double *b) |
virtual double * | GetRowSelectionBackgroundColor (int row_index) |
virtual void | SetRowSelectionBackgroundColor (int row_index, double r, double g, double b) |
virtual void | SetRowSelectionBackgroundColor (int row_index, double rgb[3]) |
virtual void | GetRowSelectionForegroundColor (int row_index, double *r, double *g, double *b) |
virtual double * | GetRowSelectionForegroundColor (int row_index) |
virtual void | SetRowSelectionForegroundColor (int row_index, double r, double g, double b) |
virtual void | SetRowSelectionForegroundColor (int row_index, double rgb[3]) |
virtual void | GetCellSelectionBackgroundColor (int row_index, int col_index, double *r, double *g, double *b) |
virtual double * | GetCellSelectionBackgroundColor (int row_index, int col_index) |
virtual void | SetCellSelectionBackgroundColor (int row_index, int col_index, double r, double g, double b) |
virtual void | SetCellSelectionBackgroundColor (int row_index, int col_index, double rgb[3]) |
virtual void | GetCellSelectionForegroundColor (int row_index, int col_index, double *r, double *g, double *b) |
virtual double * | GetCellSelectionForegroundColor (int row_index, int col_index) |
virtual void | SetCellSelectionForegroundColor (int row_index, int col_index, double r, double g, double b) |
virtual void | SetCellSelectionForegroundColor (int row_index, int col_index, double rgb[3]) |
virtual void | SetSelectionMode (int) |
virtual int | GetSelectionMode () |
virtual void | SetSelectionModeToSingle () |
virtual void | SetSelectionModeToBrowse () |
virtual void | SetSelectionModeToMultiple () |
virtual void | SetSelectionModeToExtended () |
virtual void | SelectRow (int row_index) |
virtual void | DeselectRow (int row_index) |
virtual void | SelectSingleRow (int row_index) |
virtual int | GetNumberOfSelectedRows () |
virtual int | GetSelectedRows (int *indices) |
virtual void | SelectCell (int row_index, int col_index) |
virtual void | DeselectCell (int row_index, int col_index) |
virtual void | SelectSingleCell (int row_index, int col_index) |
virtual int | GetNumberOfSelectedCells () |
virtual int | GetSelectedCells (int *row_indices, int *col_indices) |
virtual void | SetExportSelection (int) |
virtual int | GetExportSelection () |
virtual void | ExportSelectionOn () |
virtual void | ExportSelectionOff () |
virtual void | SetSelectionCommand (vtkObject *object, const char *method) |
virtual void | SetSelectionChangedCommand (vtkObject *object, const char *method) |
virtual void | SetPotentialCellColorsChangedCommand (vtkObject *object, const char *method) |
virtual void | SelectionCallback () |
virtual void | CellWindowDestroyRemoveChildCallback (const char *, int, int, const char *) |
virtual void | CellUpdatedCallback () |
virtual const char * | EditStartCallback (const char *widget, int row, int col, const char *text) |
virtual const char * | EditEndCallback (const char *widget, int row, int col, const char *text) |
Static Public Member Functions | |
vtkKWMultiColumnList * | New () |
Protected Member Functions | |
vtkKWMultiColumnList () | |
~vtkKWMultiColumnList () | |
const char * | InvokeEditStartCommand (int row, int col, const char *text) |
const char * | InvokeEditEndCommand (int row, int col, const char *text) |
void | InvokeCellUpdatedCommand (int row, int col, const char *text) |
virtual void | InvokeSelectionCommand () |
virtual void | InvokeSelectionChangedCommand () |
virtual void | InvokePotentialCellColorsChangedCommand () |
virtual void | HasSelectionChanged () |
virtual void | NumberOfRowsChanged () |
virtual void | NumberOfColumnsChanged () |
virtual int | SetColumnConfigurationOption (int col_index, const char *option, const char *value) |
virtual int | HasColumnConfigurationOption (int col_index, const char *option) |
virtual const char * | GetColumnConfigurationOption (int col_index, const char *option) |
virtual int | GetColumnConfigurationOptionAsInt (int col_index, const char *option) |
virtual int | SetColumnConfigurationOptionAsInt (int col_index, const char *option, int value) |
virtual void | SetColumnConfigurationOptionAsText (int col_index, const char *option, const char *value) |
virtual const char * | GetColumnConfigurationOptionAsText (int col_index, const char *option) |
virtual int | SetRowConfigurationOption (int row_index, const char *option, const char *value) |
virtual int | HasRowConfigurationOption (int row_index, const char *option) |
virtual const char * | GetRowConfigurationOption (int row_index, const char *option) |
virtual int | GetRowConfigurationOptionAsInt (int row_index, const char *option) |
virtual int | SetRowConfigurationOptionAsInt (int row_index, const char *option, int value) |
virtual int | SetCellConfigurationOption (int row_index, int col_index, const char *option, const char *value) |
virtual int | HasCellConfigurationOption (int row_index, int col_index, const char *option) |
virtual const char * | GetCellConfigurationOption (int row_index, int col_index, const char *option) |
virtual int | GetCellConfigurationOptionAsInt (int row_index, int col_index, const char *option) |
virtual int | SetCellConfigurationOptionAsInt (int row_index, int col_index, const char *option, int value) |
virtual void | SetCellConfigurationOptionAsText (int row_index, int col_index, const char *option, const char *value) |
virtual const char * | GetCellConfigurationOptionAsText (int row_index, int col_index, const char *option) |
Protected Attributes | |
char * | EditStartCommand |
char * | EditEndCommand |
char * | CellUpdatedCommand |
char * | SelectionCommand |
char * | SelectionChangedCommand |
char * | PotentialCellColorsChangedCommand |
vtkKWMultiColumnListInternals * | Internals |
A composite widget used for displaying multi-column lists. It is a front-end to a tablelist::tablelist. A tablelist is a multi-column listbox, implemented as a mega-widget, consisting of a body and a header. The body displays a list of items, one per line. Each item is a list of elements, which are aligned in columns. In other words, an item is the contents of a row, and an element is the text contained in a cell. The header consists of label widgets displaying the column titles. The labels can be used, among others, for interactive column resizing and column-based sorting of the items. Use vtkKWMultiColumnListWithScrollbars if you need scrollbars.
Definition at line 45 of file vtkKWMultiColumnList.h.
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX
Definition at line 207 of file vtkKWMultiColumnList.h. |
|
Sort by a given column. BTX Definition at line 241 of file vtkKWMultiColumnList.h. |
|
Set/Get each column sort mode BTX Definition at line 259 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection type. Specifies one of two selection types for the tablelist widget: row or cell. If the selection type is row then the default bindings will select and deselect entire items, and the whole row having the location cursor will be displayed as active when the tablelist has the keyboard focus. If the selection type is cell then the default bindings will select and deselect individual elements, and the single cell having the location cursor will be displayed as active when the tablelist has the keyboard focus. BTX Definition at line 783 of file vtkKWMultiColumnList.h. |
|
|
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
Create the widget. Reimplemented from vtkKWCoreWidget. |
|
Set the width (in chars) and height (in lines). If width is set to 0, the widget will be large enough to show all columns. If set to a different value, columns will stretch depending on their width (see SetColumnWidth) and on the strech parameter (see SetColumnStretchable and StretchableColumns) |
|
Set the width (in chars) and height (in lines). If width is set to 0, the widget will be large enough to show all columns. If set to a different value, columns will stretch depending on their width (see SetColumnWidth) and on the strech parameter (see SetColumnStretchable and StretchableColumns) |
|
Set the width (in chars) and height (in lines). If width is set to 0, the widget will be large enough to show all columns. If set to a different value, columns will stretch depending on their width (see SetColumnWidth) and on the strech parameter (see SetColumnStretchable and StretchableColumns) |
|
Set the width (in chars) and height (in lines). If width is set to 0, the widget will be large enough to show all columns. If set to a different value, columns will stretch depending on their width (see SetColumnWidth) and on the strech parameter (see SetColumnStretchable and StretchableColumns) |
|
Convenience method to Set the current background and foreground color of the widget Reimplemented from vtkKWCoreWidget. |
|
Convenience method to Set the current background and foreground color of the widget Reimplemented from vtkKWCoreWidget. Definition at line 71 of file vtkKWMultiColumnList.h. References vtkKWCoreWidget::SetBackgroundColor(). |
|
Convenience method to Set the current background and foreground color of the widget Reimplemented from vtkKWCoreWidget. |
|
Convenience method to Set the current background and foreground color of the widget Reimplemented from vtkKWCoreWidget. Definition at line 74 of file vtkKWMultiColumnList.h. References vtkKWCoreWidget::SetForegroundColor(). |
|
Insert a column just before the column given by col_index. If col_index is equal to (or greater than) the number of columns the new column is added to the end of the column list. The AddColumn method can be used to add a column directly to the end of the list. Returns the index of the column |
|
Insert a column just before the column given by col_index. If col_index is equal to (or greater than) the number of columns the new column is added to the end of the column list. The AddColumn method can be used to add a column directly to the end of the list. Returns the index of the column |
|
Set a column name. Most of the API in this class uses numerical indices to refer to columns. Yet, the index of a column can change if columns are added or removed. Assigning a unique name to a column provides a way to refer to a column without worrying about its location. Use the GetColumnIndexWithName() to query the index of a column given its name. indexing is done using numerical index. Note that the name of a column has nothing to do with its title, which is used to label the column in the table. |
|
Set a column name. Most of the API in this class uses numerical indices to refer to columns. Yet, the index of a column can change if columns are added or removed. Assigning a unique name to a column provides a way to refer to a column without worrying about its location. Use the GetColumnIndexWithName() to query the index of a column given its name. indexing is done using numerical index. Note that the name of a column has nothing to do with its title, which is used to label the column in the table. |
|
Set a column name. Most of the API in this class uses numerical indices to refer to columns. Yet, the index of a column can change if columns are added or removed. Assigning a unique name to a column provides a way to refer to a column without worrying about its location. Use the GetColumnIndexWithName() to query the index of a column given its name. indexing is done using numerical index. Note that the name of a column has nothing to do with its title, which is used to label the column in the table. |
|
Get number columns. Returns -1 on error. |
|
Adjusts the view in the tablelist so that the column is visible. |
|
Delete one or all columns in the list. |
|
Delete one or all columns in the list. |
|
Specifies a boolean value that determines whether the columns can be moved interactively. |
|
Specifies a boolean value that determines whether the columns can be moved interactively. |
|
Specifies a boolean value that determines whether the columns can be moved interactively. |
|
Specifies a boolean value that determines whether the columns can be moved interactively. |
|
Specifies additional space to provide above and below each row of the widget. |
|
Specifies additional space to provide above and below each row of the widget. |
|
Specifies a boolean value that determines whether the columns can be resized interactively. |
|
Specifies a boolean value that determines whether the columns can be resized interactively. |
|
Specifies a boolean value that determines whether the columns can be resized interactively. |
|
Specifies a boolean value that determines whether the columns can be resized interactively. |
|
Specifies a boolean value that determines whether the columns are to be separated with borders. |
|
Specifies a boolean value that determines whether the columns are to be separated with borders. |
|
Specifies a boolean value that determines whether the columns are to be separated with borders. |
|
Specifies a boolean value that determines whether the columns are to be separated with borders. |
|
Specifies a boolean value that determines whether the columns labels are to be shown. |
|
Specifies a boolean value that determines whether the columns labels are to be shown. |
|
Specifies a boolean value that determines whether the columns labels are to be shown. |
|
Specifies a boolean value that determines whether the columns labels are to be shown. |
|
Set/Get the column label background and foreground colors. |
|
Set/Get the column label background and foreground colors. |
|
Set/Get the column label background and foreground colors. |
|
Set/Get the column label background and foreground colors. Definition at line 158 of file vtkKWMultiColumnList.h. |
|
Set/Get the column label background and foreground colors. |
|
Set/Get the column label background and foreground colors. |
|
Set/Get the column label background and foreground colors. |
|
Set/Get the column label background and foreground colors. Definition at line 163 of file vtkKWMultiColumnList.h. |
|
Set/Get the column title. |
|
Set/Get the column title. |
|
Set/Get the width and maxwidth of a column. Both must be a number. A positive value specifies the column's width in average-size characters of the widget's font. If width is negative, its absolute value is interpreted as a column width in pixels. Finally, a value of zero (default) specifies that the column's width is to be made just large enough to hold all the elements in the column, including its header |
|
Set/Get the width and maxwidth of a column. Both must be a number. A positive value specifies the column's width in average-size characters of the widget's font. If width is negative, its absolute value is interpreted as a column width in pixels. Finally, a value of zero (default) specifies that the column's width is to be made just large enough to hold all the elements in the column, including its header |
|
Set/Get the width and maxwidth of a column. Both must be a number. A positive value specifies the column's width in average-size characters of the widget's font. If width is negative, its absolute value is interpreted as a column width in pixels. Finally, a value of zero (default) specifies that the column's width is to be made just large enough to hold all the elements in the column, including its header |
|
Set/Get the width and maxwidth of a column. Both must be a number. A positive value specifies the column's width in average-size characters of the widget's font. If width is negative, its absolute value is interpreted as a column width in pixels. Finally, a value of zero (default) specifies that the column's width is to be made just large enough to hold all the elements in the column, including its header |
|
Specifies a boolean value that determines whether a specific column can be stretched or not to fill the empty space on the right of the table that might appear when it is resized or the width is set to a larger value (see SetWidth). Use StretchableColumns to set all columns to be stretchable. |
|
Specifies a boolean value that determines whether a specific column can be stretched or not to fill the empty space on the right of the table that might appear when it is resized or the width is set to a larger value (see SetWidth). Use StretchableColumns to set all columns to be stretchable. Definition at line 194 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific column can be stretched or not to fill the empty space on the right of the table that might appear when it is resized or the width is set to a larger value (see SetWidth). Use StretchableColumns to set all columns to be stretchable. Definition at line 196 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific column can be stretched or not to fill the empty space on the right of the table that might appear when it is resized or the width is set to a larger value (see SetWidth). Use StretchableColumns to set all columns to be stretchable. |
|
Specifies a boolean value that determines whether a specific column can be stretched or not to fill the empty space on the right of the table that might appear when it is resized or the width is set to a larger value (see SetWidth). Use StretchableColumns to set all columns to be stretchable. |
|
Specifies a boolean value that determines whether a specific column can be stretched or not to fill the empty space on the right of the table that might appear when it is resized or the width is set to a larger value (see SetWidth). Use StretchableColumns to set all columns to be stretchable. |
|
Specifies a boolean value that determines whether a specific column can be stretched or not to fill the empty space on the right of the table that might appear when it is resized or the width is set to a larger value (see SetWidth). Use StretchableColumns to set all columns to be stretchable. |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX Definition at line 217 of file vtkKWMultiColumnList.h. References ColumnAlignmentLeft. |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX Definition at line 220 of file vtkKWMultiColumnList.h. References ColumnAlignmentRight. |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX Definition at line 223 of file vtkKWMultiColumnList.h. References ColumnAlignmentCenter. |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX Definition at line 228 of file vtkKWMultiColumnList.h. References ColumnAlignmentLeft. |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX Definition at line 231 of file vtkKWMultiColumnList.h. References ColumnAlignmentRight. |
|
Set/Get the alignment of a column, or the aligment of the column label specifically. The alignment must be one of left (default), right, or center. BTX Definition at line 234 of file vtkKWMultiColumnList.h. References ColumnAlignmentCenter. |
|
Sort by a given column. BTX |
|
Sort by a given column. BTX Definition at line 249 of file vtkKWMultiColumnList.h. References SortByIncreasingOrder. |
|
Sort by a given column. BTX Definition at line 252 of file vtkKWMultiColumnList.h. References SortByDecreasingOrder. |
|
Set/Get each column sort mode BTX |
|
Set/Get each column sort mode BTX |
|
Set/Get each column sort mode BTX Definition at line 270 of file vtkKWMultiColumnList.h. References SortModeAscii. |
|
Set/Get each column sort mode BTX Definition at line 273 of file vtkKWMultiColumnList.h. References SortModeDictionary. |
|
Set/Get each column sort mode BTX Definition at line 276 of file vtkKWMultiColumnList.h. References SortModeInteger. |
|
Set/Get each column sort mode BTX Definition at line 279 of file vtkKWMultiColumnList.h. References SortModeReal. |
|
Specifies a boolean value that determines whether the widget should place an arrow indicating the sort order into the header label of the column being sorted |
|
Specifies a boolean value that determines whether the widget should place an arrow indicating the sort order into the header label of the column being sorted |
|
Specifies a boolean value that determines whether the widget should place an arrow indicating the sort order into the header label of the column being sorted |
|
Specifies a boolean value that determines whether the widget should place an arrow indicating the sort order into the header label of the column being sorted |
|
Specifies a boolean value that determines whether a specific column can be resized interactively. |
|
Specifies a boolean value that determines whether a specific column can be resized interactively. Definition at line 297 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific column can be resized interactively. Definition at line 299 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific column can be resized interactively. |
|
Specifies a boolean value that determines whether a specific column can be edited interactively. |
|
Specifies a boolean value that determines whether a specific column can be edited interactively. Definition at line 308 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific column can be edited interactively. Definition at line 310 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific column can be edited interactively. |
|
Specifies a boolean value that determines whether a specific column is visible or not. |
|
Specifies a boolean value that determines whether a specific column is visible or not. Definition at line 319 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific column is visible or not. Definition at line 321 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific column is visible or not. |
|
Set/Get a column background and foreground colors |
|
Set/Get a column background and foreground colors |
|
Set/Get a column background and foreground colors |
|
Set/Get a column background and foreground colors Definition at line 333 of file vtkKWMultiColumnList.h. |
|
Set/Get a column background and foreground colors |
|
Set/Get a column background and foreground colors |
|
Set/Get a column background and foreground colors |
|
Set/Get a column background and foreground colors Definition at line 340 of file vtkKWMultiColumnList.h. |
|
Specifies an image to display in the label of a column |
|
Specifies an image to display in the label of a column |
|
Specifies an image to display in the label of a column |
|
Specifies an image to display in the label of a column |
|
Specifies the Tcl command to be invoked when displaying the contents of a cell within this column or adding them to the selection when the latter is being exported. If command is a nonempty string, then it is automatically concatenated with the cell's text, the resulting script is evaluated in the global scope, and the return value is displayed in the cell or added to the selection instead of the original data. For example, a cell may hold a data value in seconds, but the format command could be set to display the cell value as a formatted data (say "%Y-%m-%d"). Notice that this option is only used for preparing the text to be displayed or returned when exporting the selection, and does not affect the internal cell contents. In the case of the above example, this will make it possible to sort the items very easily by time, with a second's precision, even if their visual representation only contains the year, month, and day. This command also comes in handy if only images or embedded windows are to be displayed in a column but the texts associated with the cells may not simply be empty strings because they are needed for other purposes (like sorting or editing). In such cases, a command returning an empty string can be used, thus making sure that the textual information contained in that column remains hidden. The special SetColumnFormatCommandToEmptyOutput can be used for that. |
|
Specifies the Tcl command to be invoked when displaying the contents of a cell within this column or adding them to the selection when the latter is being exported. If command is a nonempty string, then it is automatically concatenated with the cell's text, the resulting script is evaluated in the global scope, and the return value is displayed in the cell or added to the selection instead of the original data. For example, a cell may hold a data value in seconds, but the format command could be set to display the cell value as a formatted data (say "%Y-%m-%d"). Notice that this option is only used for preparing the text to be displayed or returned when exporting the selection, and does not affect the internal cell contents. In the case of the above example, this will make it possible to sort the items very easily by time, with a second's precision, even if their visual representation only contains the year, month, and day. This command also comes in handy if only images or embedded windows are to be displayed in a column but the texts associated with the cells may not simply be empty strings because they are needed for other purposes (like sorting or editing). In such cases, a command returning an empty string can be used, thus making sure that the textual information contained in that column remains hidden. The special SetColumnFormatCommandToEmptyOutput can be used for that. |
|
Specifies a boolean value that determines whether the rows can be moved interactively. |
|
Specifies a boolean value that determines whether the rows can be moved interactively. |
|
Specifies a boolean value that determines whether the rows can be moved interactively. |
|
Specifies a boolean value that determines whether the rows can be moved interactively. |
|
Add a row at the end, or insert it at a given location. |
|
Add a row at the end, or insert it at a given location. |
|
Get number of rows. Returns -1 on error. |
|
Adjusts the view in the tablelist so that the row is visible. |
|
Delete one or all rows in the list. |
|
Delete one or all rows in the list. |
|
Set/Get a row background and foreground colors |
|
Set/Get a row background and foreground colors |
|
Set/Get a row background and foreground colors |
|
Set/Get a row background and foreground colors Definition at line 416 of file vtkKWMultiColumnList.h. |
|
Set/Get a row background and foreground colors |
|
Set/Get a row background and foreground colors |
|
Set/Get a row background and foreground colors |
|
Set/Get a row background and foreground colors Definition at line 423 of file vtkKWMultiColumnList.h. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. Definition at line 441 of file vtkKWMultiColumnList.h. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. Definition at line 446 of file vtkKWMultiColumnList.h. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. |
|
Set/Get the stripe background and foreground colors, and strip height Specifies the colors to use when displaying the items belonging to a stripe. Each stripe is composed of the same number StripeHeight of consecutive items. The first stripeHeight items are "normal" ones; they are followed by a stripe composed of the next StripeHeight items, which in turn is followed by the same number of "normal" items, and so on. The default value is an empty string, indicating that the stripes will inherit the colors of the widget. The Stripe colors have a higher priority than the column colors, but a lower priority than the row or cell color. |
|
Specifies a boolean value that determines whether a specific row can be selected interactively. |
|
Specifies a boolean value that determines whether a specific row can be selected interactively. Definition at line 456 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific row can be selected interactively. Definition at line 458 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific row can be selected interactively. |
|
Activate a row. |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Set/Get contents of cell (warning, Get returns a pointer to the Tcl buffer, copy the resulting string ASAP). SetCellText is the fast version and assumes the cell already exists! InsertCellText will insert one (or more) full row(s) if there is no row/cell at that location (using InsertRow). |
|
Convenience method to set the contents of a full row or full column. |
|
Convenience method to set the contents of a full row or full column. |
|
Convenience method to set the contents of the cell given a column index only and a text to look for in a specific column. If that text is found, its row index is used to set the contents of the cell, if it is not found, a new row is inserted. |
|
Activate a cell. |
|
Adjusts the view in the tablelist so that the cell is visible. |
|
Set/Get a cell background and foreground colors |
|
Set/Get a cell background and foreground colors |
|
Set/Get a cell background and foreground colors |
|
Set/Get a cell background and foreground colors Definition at line 522 of file vtkKWMultiColumnList.h. |
|
Set/Get a cell background and foreground colors |
|
Set/Get a cell background and foreground colors |
|
Set/Get a cell background and foreground colors |
|
Set/Get a cell background and foreground colors Definition at line 531 of file vtkKWMultiColumnList.h. |
|
Get the current cell background or foreground color In order of priority: - if not selected, color is: cell > row > stripe > column > widget. - if selected, color is: cell > row > column > widget. |
|
Get the current cell background or foreground color In order of priority: - if not selected, color is: cell > row > stripe > column > widget. - if selected, color is: cell > row > column > widget. |
|
Get the current cell background or foreground color In order of priority: - if not selected, color is: cell > row > stripe > column > widget. - if selected, color is: cell > row > column > widget. |
|
Get the current cell background or foreground color In order of priority: - if not selected, color is: cell > row > stripe > column > widget. - if selected, color is: cell > row > column > widget. |
|
Specifies a boolean value that determines whether a specific row can be edited interactively. |
|
Specifies a boolean value that determines whether a specific row can be edited interactively. Definition at line 553 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific row can be edited interactively. Definition at line 555 of file vtkKWMultiColumnList.h. |
|
Specifies a boolean value that determines whether a specific row can be edited interactively. |
|
Specifies an image to display in the cell. Both text and image can be displayed simultaneously. If a WindowCommand is specified for that cell, it overrides the image. An attempt is made to blend the image with the current cell background color (as returned by GetCellBackgroundColor). But since sorting a column, or inserting new rows, can change the position of the cell in a stripe (see SetStripeBackgroundColor), it is best to: - use images that do not have an alpha component, or - set the cell image once all rows have been inserted, - refresh the image periodically (or each time a row is added/removed) see SetPotentialCellColorsChangedCommand |
|
Specifies an image to display in the cell. Both text and image can be displayed simultaneously. If a WindowCommand is specified for that cell, it overrides the image. An attempt is made to blend the image with the current cell background color (as returned by GetCellBackgroundColor). But since sorting a column, or inserting new rows, can change the position of the cell in a stripe (see SetStripeBackgroundColor), it is best to: - use images that do not have an alpha component, or - set the cell image once all rows have been inserted, - refresh the image periodically (or each time a row is added/removed) see SetPotentialCellColorsChangedCommand |
|
Specifies an image to display in the cell. Both text and image can be displayed simultaneously. If a WindowCommand is specified for that cell, it overrides the image. An attempt is made to blend the image with the current cell background color (as returned by GetCellBackgroundColor). But since sorting a column, or inserting new rows, can change the position of the cell in a stripe (see SetStripeBackgroundColor), it is best to: - use images that do not have an alpha component, or - set the cell image once all rows have been inserted, - refresh the image periodically (or each time a row is added/removed) see SetPotentialCellColorsChangedCommand |
|
Specifies an image to display in the cell. Both text and image can be displayed simultaneously. If a WindowCommand is specified for that cell, it overrides the image. An attempt is made to blend the image with the current cell background color (as returned by GetCellBackgroundColor). But since sorting a column, or inserting new rows, can change the position of the cell in a stripe (see SetStripeBackgroundColor), it is best to: - use images that do not have an alpha component, or - set the cell image once all rows have been inserted, - refresh the image periodically (or each time a row is added/removed) see SetPotentialCellColorsChangedCommand |
|
Specifies an image to display in the cell. Both text and image can be displayed simultaneously. If a WindowCommand is specified for that cell, it overrides the image. An attempt is made to blend the image with the current cell background color (as returned by GetCellBackgroundColor). But since sorting a column, or inserting new rows, can change the position of the cell in a stripe (see SetStripeBackgroundColor), it is best to: - use images that do not have an alpha component, or - set the cell image once all rows have been inserted, - refresh the image periodically (or each time a row is added/removed) see SetPotentialCellColorsChangedCommand |
|
Specifies a Tcl command to create the window (i.e. widget) to be embedded into a cell. The command is automatically concatenated with the name of the tablelist widget, the cell's row and column indices, as well as the path name of the embedded window to be created, and the resulting script is evaluated in the global scope. |
|
Specifies a Tcl command to be invoked when the window embedded into the cell is destroyed. It is automatically concatenated the same parameter as SetCellWindowCommand. The SetCellWindowDestroyCommandToRemoveChild method is a convenient way to automatically set the command to a callback that will remove the child widget that matches the name of the Tk widget about to be destroyed. This is very useful if the SetCellWindowCommand is set to a callback at actually allocate a new vtkKWWidget subclass. That way, each time the cell is about to be destroyed, it is cleanly de-allocated first (by setting its Parent to NULL). |
|
Specifies a Tcl command to be invoked when the window embedded into the cell is destroyed. It is automatically concatenated the same parameter as SetCellWindowCommand. The SetCellWindowDestroyCommandToRemoveChild method is a convenient way to automatically set the command to a callback that will remove the child widget that matches the name of the Tk widget about to be destroyed. This is very useful if the SetCellWindowCommand is set to a callback at actually allocate a new vtkKWWidget subclass. That way, each time the cell is about to be destroyed, it is cleanly de-allocated first (by setting its Parent to NULL). |
|
Force a cell (or all cells) for which a WindowCommand has been defined to recreate its dynamic content. It does so by setting the WindowCommand to NULL, than setting it to its previous value (per author's suggestion). |
|
Force a cell (or all cells) for which a WindowCommand has been defined to recreate its dynamic content. It does so by setting the WindowCommand to NULL, than setting it to its previous value (per author's suggestion). |
|
Force a cell (or all cells) for which a WindowCommand has been defined to set the background and foreground colors to the cell current background and foreground colors. It does so by tyring to safe-down-cast the widget inside that cell into a vtkKWCoreWidget and set its background color to the color returned by GetCellCurrentBackgroundColor and its foreground color to the color returned by GetCellCurrentForegroundColor. It then performs the same for the first level children of the widget inside that cell. |
|
Force a cell (or all cells) for which a WindowCommand has been defined to set the background and foreground colors to the cell current background and foreground colors. It does so by tyring to safe-down-cast the widget inside that cell into a vtkKWCoreWidget and set its background color to the color returned by GetCellCurrentBackgroundColor and its foreground color to the color returned by GetCellCurrentForegroundColor. It then performs the same for the first level children of the widget inside that cell. |
|
Retrieve the path of the window contained in the cell as created by the WindowCommand. |
|
Once a user-defined dynamic widget is created by the WindowCommand, clicking on it is likely *not* to trigger the same interactive behavior as clicking on a regular cell (i.e., clicking on the widget will not select the row or cell for example). This can be a good thing if clicking on the widget is meant to be intercepted by the widget to trigger a different behaviour, but in many other cases, one would want the interaction bindings to remain the same and consistent for all rows. In order to do so, the common widget row bindings have to be added to the widget the was just created. To do so, call AddBindingsToWidget, either on the Tk widget name, or on avtkKWWidget that may have been used to wrap around that Tk widget name. A complex widget can be made of several other sub-widgets that need the bindings to be passed on too. Use AddBindingsToWidgetAndChildren to pass the bindings to a widget and its chilren automatically (or call AddBindingsToWidget manually on each sub-widgets). |
|
Once a user-defined dynamic widget is created by the WindowCommand, clicking on it is likely *not* to trigger the same interactive behavior as clicking on a regular cell (i.e., clicking on the widget will not select the row or cell for example). This can be a good thing if clicking on the widget is meant to be intercepted by the widget to trigger a different behaviour, but in many other cases, one would want the interaction bindings to remain the same and consistent for all rows. In order to do so, the common widget row bindings have to be added to the widget the was just created. To do so, call AddBindingsToWidget, either on the Tk widget name, or on avtkKWWidget that may have been used to wrap around that Tk widget name. A complex widget can be made of several other sub-widgets that need the bindings to be passed on too. Use AddBindingsToWidgetAndChildren to pass the bindings to a widget and its chilren automatically (or call AddBindingsToWidget manually on each sub-widgets). |
|
Once a user-defined dynamic widget is created by the WindowCommand, clicking on it is likely *not* to trigger the same interactive behavior as clicking on a regular cell (i.e., clicking on the widget will not select the row or cell for example). This can be a good thing if clicking on the widget is meant to be intercepted by the widget to trigger a different behaviour, but in many other cases, one would want the interaction bindings to remain the same and consistent for all rows. In order to do so, the common widget row bindings have to be added to the widget the was just created. To do so, call AddBindingsToWidget, either on the Tk widget name, or on avtkKWWidget that may have been used to wrap around that Tk widget name. A complex widget can be made of several other sub-widgets that need the bindings to be passed on too. Use AddBindingsToWidgetAndChildren to pass the bindings to a widget and its chilren automatically (or call AddBindingsToWidget manually on each sub-widgets). |
|
Find contents of cell in all table or single row One FindCellText signature returns 1 if found, 0 otherwise, and assign the position to row_index, col_index. The other FindCellText method returns a pointer to an array of 2 ints (row and col index) if found, NULL otherwise. FindCellTextInColumn return the row index of the cell in the col_index column if found, or -1 otherwise. |
|
Find contents of cell in all table or single row One FindCellText signature returns 1 if found, 0 otherwise, and assign the position to row_index, col_index. The other FindCellText method returns a pointer to an array of 2 ints (row and col index) if found, NULL otherwise. FindCellTextInColumn return the row index of the cell in the col_index column if found, or -1 otherwise. |
|
Find contents of cell in all table or single row One FindCellText signature returns 1 if found, 0 otherwise, and assign the position to row_index, col_index. The other FindCellText method returns a pointer to an array of 2 ints (row and col index) if found, NULL otherwise. FindCellTextInColumn return the row index of the cell in the col_index column if found, or -1 otherwise. |
|
Find contents of cell in all table or single row One FindCellText signature returns 1 if found, 0 otherwise, and assign the position to row_index, col_index. The other FindCellText method returns a pointer to an array of 2 ints (row and col index) if found, NULL otherwise. FindCellTextInColumn return the row index of the cell in the col_index column if found, or -1 otherwise. |
|
Edit cell (or cancel edit). If supported, edit cell contents interactively |
|
Edit cell (or cancel edit). If supported, edit cell contents interactively |
|
Set/Get the selection background and foreground colors. |
|
Set/Get the selection background and foreground colors. |
|
Set/Get the selection background and foreground colors. |
|
Set/Get the selection background and foreground colors. Definition at line 683 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection background and foreground colors. |
|
Set/Get the selection background and foreground colors. |
|
Set/Get the selection background and foreground colors. |
|
Set/Get the selection background and foreground colors. Definition at line 688 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection background and foreground colors for a specific column. |
|
Set/Get the selection background and foreground colors for a specific column. |
|
Set/Get the selection background and foreground colors for a specific column. |
|
Set/Get the selection background and foreground colors for a specific column. Definition at line 700 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection background and foreground colors for a specific column. |
|
Set/Get the selection background and foreground colors for a specific column. |
|
Set/Get the selection background and foreground colors for a specific column. |
|
Set/Get the selection background and foreground colors for a specific column. Definition at line 708 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection background and foreground colors for a specific row. |
|
Set/Get the selection background and foreground colors for a specific row. |
|
Set/Get the selection background and foreground colors for a specific row. |
|
Set/Get the selection background and foreground colors for a specific row. Definition at line 721 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection background and foreground colors for a specific row. |
|
Set/Get the selection background and foreground colors for a specific row. |
|
Set/Get the selection background and foreground colors for a specific row. |
|
Set/Get the selection background and foreground colors for a specific row. Definition at line 729 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection background and foreground colors for a specific cell. |
|
Set/Get the selection background and foreground colors for a specific cell. |
|
Set/Get the selection background and foreground colors for a specific cell. |
|
Set/Get the selection background and foreground colors for a specific cell. Definition at line 743 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection background and foreground colors for a specific cell. |
|
Set/Get the selection background and foreground colors for a specific cell. |
|
Set/Get the selection background and foreground colors for a specific cell. |
|
Set/Get the selection background and foreground colors for a specific cell. Definition at line 753 of file vtkKWMultiColumnList.h. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. Definition at line 764 of file vtkKWMultiColumnList.h. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. Definition at line 766 of file vtkKWMultiColumnList.h. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. Definition at line 768 of file vtkKWMultiColumnList.h. |
|
Set/Get the one of several styles for manipulating the selection. Valid constants can be found in vtkKWTkOptions::SelectionModeType. Definition at line 770 of file vtkKWMultiColumnList.h. |
|
Set/Get the selection type. Specifies one of two selection types for the tablelist widget: row or cell. If the selection type is row then the default bindings will select and deselect entire items, and the whole row having the location cursor will be displayed as active when the tablelist has the keyboard focus. If the selection type is cell then the default bindings will select and deselect individual elements, and the single cell having the location cursor will be displayed as active when the tablelist has the keyboard focus. BTX |
|
Set/Get the selection type. Specifies one of two selection types for the tablelist widget: row or cell. If the selection type is row then the default bindings will select and deselect entire items, and the whole row having the location cursor will be displayed as active when the tablelist has the keyboard focus. If the selection type is cell then the default bindings will select and deselect individual elements, and the single cell having the location cursor will be displayed as active when the tablelist has the keyboard focus. BTX |
|
Set/Get the selection type. Specifies one of two selection types for the tablelist widget: row or cell. If the selection type is row then the default bindings will select and deselect entire items, and the whole row having the location cursor will be displayed as active when the tablelist has the keyboard focus. If the selection type is cell then the default bindings will select and deselect individual elements, and the single cell having the location cursor will be displayed as active when the tablelist has the keyboard focus. BTX Definition at line 792 of file vtkKWMultiColumnList.h. References SelectionTypeRow. |
|
Set/Get the selection type. Specifies one of two selection types for the tablelist widget: row or cell. If the selection type is row then the default bindings will select and deselect entire items, and the whole row having the location cursor will be displayed as active when the tablelist has the keyboard focus. If the selection type is cell then the default bindings will select and deselect individual elements, and the single cell having the location cursor will be displayed as active when the tablelist has the keyboard focus. BTX Definition at line 794 of file vtkKWMultiColumnList.h. References SelectionTypeCell. |
|
Select/deselect a row, or single row (any other selection is cleared). |
|
Select/deselect a row, or single row (any other selection is cleared). |
|
Select/deselect a row, or single row (any other selection is cleared). |
|
Check if row is selected (i.e. any element in the row is selected) |
|
Get the number of selected rows, and retrieve their indices (it is up to the caller to provide a large enough buffer). Both returns the number of selected rows. |
|
Get the number of selected rows, and retrieve their indices (it is up to the caller to provide a large enough buffer). Both returns the number of selected rows. |
|
Get index of first selected row. Returns -1 on error. |
|
Select/deselect a cell, or single cell (any other selection is cleared). |
|
Select/deselect a cell, or single cell (any other selection is cleared). |
|
Select/deselect a cell, or single cell (any other selection is cleared). |
|
Check if cell is selected |
|
Get the number of selected cells, and retrieve their indices (it is up to the caller to provide large enough buffers). Both returns the number of selected cells. |
|
Get the number of selected cells, and retrieve their indices (it is up to the caller to provide large enough buffers). Both returns the number of selected cells. |
|
Clear selection |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies a command to be invoked when an element is selected/deselected in the widget. Re-selecting an element will trigger this command too. If one want to be notified only when the selection has *changed* (the number of selected/deselected items has changed), use the SelectionChangedCommand command instead. |
|
Specifies a command to be invoked when the selection has *changed*. This command will *not* be invoked when an item is re-selected (i.e. it was already selected when the user clicked on it again). To be notified when any selection event occurs, use SelectionCommand instead. |
|
Specifies a command to be invoked when the any change is made that can potentially affect the background color of a cell. This is useful if a user-defined dynamic widget created in a cell is setting its own background color to match the background color of a cell (using GetCellCurrentBackgroundColor). In that case, set this command to RefreshAllCellWindowCommands. |
|
Specifies a command to be invoked when the interactive editing of a cell's contents is started. The command is automatically concatenated with the cell's row and column indices, as well as the text displayed in the cell, the resulting script is evaluated in the global scope, and the return value becomes the initial contents of the temporary embedded widget used for the editing. The next step (validation) is handled by SetEditEndCommand (if any) |
|
Specifies a command to be invoked on normal termination of the interactive editing of a cell's contents if the final text of the temporary embedded widget used for the editing is different from its initial one. The command is automatically concatenated with the cell's row and column indices, as well as the final contents of the edit window, the resulting script is evaluated in the global scope, and the return value becomes the cell's new contents after destroying the temporary embedded widget. The main purpose of this script is to perform a final validation of the edit window's contents and eventually reject the input by calling the RejectInput() method. The next step (updating) is handled by SetCellUpdatedCommand (if any) |
|
If invoked from within EditEndCommand, then this method prevents the termination of the interactive editing of the contents of a cell. It enables you to reject the widget's text during the final validation of the string intended to become the new cell contents. |
|
Specifies a command to be invoked when a cell contents has been successfully updated after editing it. The command is automatically concatenated with the cell's row and column indices, as well as the new contents of the cell. The main purpose of this script is to let external objects retrieve the new contents and update their own internal values. |
|
Specifies a command to be invoked when mouse button 1 is pressed over one of the header labels and later released over the same label. When the <ButtonRelease-1> event occurs, the command is automatically concatenated with the name of the tablelist widget and the column index of the respective label, and the resulting script is evaluated in the global scope. |
|
Specifies a command to be used for the comparison of the items when invoking the sort subcommand of the Tcl command associated with the tablelist widget. To compare two items (viewed as lists of cell contents within one row each) during the sort operation, the command is automatically concatenated with the two items and the resulting script is evaluated. The script should return an integer less than, equal to, or greater than zero if the first item is to be considered less than, equal to, or greater than the second, respectively. |
|
Callbacks |
|
Callbacks |
|
Callbacks |
|
Callbacks |
|
Callbacks |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Called when the number of rows/columns changed |
|
Called when the number of rows/columns changed |
|
Set/Get a column configuration option (ex: "-bg") |
|
Set/Get a column configuration option (ex: "-bg") |
|
Set/Get a column configuration option (ex: "-bg") |
|
Set/Get a column configuration option (ex: "-bg") |
|
Set/Get a column configuration option (ex: "-bg") |
|
Set/Get a column configuration option (ex: "-bg") |
|
Set/Get a column configuration option (ex: "-bg") |
|
Set/Get a row configuration option (ex: "-bg") |
|
Set/Get a row configuration option (ex: "-bg") |
|
Set/Get a row configuration option (ex: "-bg") |
|
Set/Get a row configuration option (ex: "-bg") |
|
Set/Get a row configuration option (ex: "-bg") |
|
Set/Get a cell configuration option (ex: "-bg") |
|
Set/Get a cell configuration option (ex: "-bg") |
|
Set/Get a cell configuration option (ex: "-bg") |
|
Set/Get a cell configuration option (ex: "-bg") |
|
Set/Get a cell configuration option (ex: "-bg") |
|
Set/Get a cell configuration option (ex: "-bg") |
|
Set/Get a cell configuration option (ex: "-bg") |
|
Check if the selection has changed and invoke the corresponding command |
|
Definition at line 962 of file vtkKWMultiColumnList.h. |
|
Definition at line 965 of file vtkKWMultiColumnList.h. |
|
Definition at line 968 of file vtkKWMultiColumnList.h. |
|
Definition at line 971 of file vtkKWMultiColumnList.h. |
|
Definition at line 974 of file vtkKWMultiColumnList.h. |
|
Definition at line 977 of file vtkKWMultiColumnList.h. |
|
PIMPL Encapsulation for STL containers Reimplemented from vtkKWWidget. Definition at line 1038 of file vtkKWMultiColumnList.h. |