vtkKWFileListTable Class Reference

a file list table widget More...

#include <vtkKWFileListTable.h>

Inheritance diagram for vtkKWFileListTable:
Inheritance graph
[legend]
Collaboration diagram for vtkKWFileListTable:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkKWCompositeWidget Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ContextMenuCallback (int row, int col, int x, int y)
virtual int RenameFileCallback ()
virtual void FocusInCallback ()
virtual void ExploreFileCallback ()
virtual void CreateNewFolderCallback (const char *parentdir)
virtual void SelectedFileChangedCallback ()
virtual void KeyHomeEndNavigationCallback (const char *key)
virtual void FileDoubleClickCallback ()
virtual int RemoveSelectedFileCallback ()
virtual char * GetFormatTimeStringCallback (const char *celltext)
virtual int SortTimeCallback (const char *cell1, const char *cell2)
virtual char * GetFormatSizeStringCallback (const char *celltext)
virtual char * GetRealNameStringCallback (const char *celltext)
virtual void UpdateEnableState ()
virtual void ScrollToFile (const char *prefix)

Static Public Member Functions

static vtkKWFileListTableNew ()
static int IsTypeOf (const char *type)
static vtkKWFileListTableSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWFileListTable ()
 ~vtkKWFileListTable ()
virtual void CreateWidget ()
virtual void PopulateContextMenu (int rowselected)



enum  {
  FileSelectionChangedEvent = 10000, FileDoubleClickedEvent, FileRenamedEvent, FolderCreatedEvent,
  FileDeletedEvent
}
char * FileSelectedCommand
char * FileDoubleClickedCommand
char * FileDeletedCommand
char * FileRenamedCommand
char * FolderCreatedCommand
vtkKWFileListTableInternals * Internals
vtkKWMultiColumnListWithScrollbarsFileList
vtkKWMenuContextMenu
char * ParentDirectory
char * FilePattern
char * FileExtensions
virtual int ShowFileList (const char *path, const char *filepattern, const char *fileextensions)
virtual void SetParentDirectory (const char *arg)
virtual char * GetParentDirectory ()
virtual void SetFilePattern (const char *arg)
virtual char * GetFilePattern ()
virtual void SetFileExtensions (const char *arg)
virtual char * GetFileExtensions ()
virtual void SetSelectionMode (int)
virtual void SetSelectionModeToSingle ()
virtual void SetSelectionModeToBrowse ()
virtual void SetSelectionModeToMultiple ()
virtual void SetSelectionModeToExtended ()
virtual const char * GetSelectedFileName ()
virtual int GetNumberOfSelectedFileNames ()
virtual const char * GetNthSelectedFileName (int i)
virtual void SelectFileName (const char *filename)
virtual void DeselectFileName (const char *)
virtual void ClearSelection ()
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 SetTableWidth (int width)
virtual int GetTableWidth ()
virtual void SetTableHeight (int height)
virtual int GetTableHeight ()
virtual void GetTableBackgroundColor (double *r, double *g, double *b)
virtual double * GetTableBackgroundColor ()
virtual void SetTableBackgroundColor (double r, double g, double b)
virtual void SetTableBackgroundColor (double rgb[3])
virtual void SetFileSelectedCommand (vtkObject *obj, const char *method)
virtual void SetFileDoubleClickedCommand (vtkObject *obj, const char *method)
virtual void SetFileDeletedCommand (vtkObject *obj, const char *method)
virtual void SetFileRenamedCommand (vtkObject *obj, const char *method)
virtual void SetFolderCreatedCommand (vtkObject *obj, const char *method)
virtual void Focus ()
virtual int HasFocus ()
virtual void AddBindingToInternalWidget (const char *event, vtkObject *obj, const char *method)
virtual void RemoveBindingFromInternalWidget (const char *event, vtkObject *obj, const char *method)
virtual void KeyPriorNextNavigationCallback (const char *w, int x, int y, int root_x, int root_y, const char *key)
virtual void InvokeFileSelectedCommand (const char *path)
virtual void InvokeFileDoubleClickedCommand (const char *path)
virtual void InvokeFileDeletedCommand (const char *path, int isDir)
virtual void InvokeFileRenamedCommand (const char *oldname, const char *newname)
virtual void InvokeFolderCreatedCommand (const char *filename)
virtual void SetParentDirectoryInternal (const char *arg)
virtual void SetFilePatternInternal (const char *arg)
virtual void SetFileExtensionsInternal (const char *arg)

Detailed Description

a file list table widget

A widget for displaying and selecting files/directories within a directory. It contains information about file name, size and modified time. The files can be sorted by these info individually. The right click context menu offers explore, rename, delete functions.

Thanks:
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on the National Centers for Biomedical Computing can be obtained from http://nihroadmap.nih.gov/bioinformatics.
See also:
vtkKWFileBrowserDialog vtkKWFileBrowserWidget
Events:
vtkKWFileListTable::FileRenamedEvent vtkKWFileListTable::FileDeletedEvent vtkKWFileListTable::FolderCreatedCommand vtkKWFileListTable::FileSelectionChangedEvent vtkKWFileListTable::FileDoubleClickedEvent

Definition at line 44 of file vtkKWFileListTable.h.


Member Typedef Documentation

Reimplemented from vtkKWCompositeWidget.

Definition at line 49 of file vtkKWFileListTable.h.


Member Enumeration Documentation

anonymous enum

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Enumerator:
FileSelectionChangedEvent 
FileDoubleClickedEvent 
FileRenamedEvent 
FolderCreatedEvent 
FileDeletedEvent 

Definition at line 172 of file vtkKWFileListTable.h.


Constructor & Destructor Documentation

vtkKWFileListTable::vtkKWFileListTable (  )  [protected]
vtkKWFileListTable::~vtkKWFileListTable (  )  [protected]

Member Function Documentation

static vtkKWFileListTable* vtkKWFileListTable::New (  )  [static]

Reimplemented from vtkKWCompositeWidget.

virtual const char* vtkKWFileListTable::GetClassName (  )  [virtual]

Reimplemented from vtkKWCompositeWidget.

static int vtkKWFileListTable::IsTypeOf ( const char *  type  )  [static]

Reimplemented from vtkKWCompositeWidget.

virtual int vtkKWFileListTable::IsA ( const char *  type  )  [virtual]

Reimplemented from vtkKWCompositeWidget.

static vtkKWFileListTable* vtkKWFileListTable::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkKWCompositeWidget.

void vtkKWFileListTable::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkKWCompositeWidget.

virtual int vtkKWFileListTable::ShowFileList ( const char *  path,
const char *  filepattern,
const char *  fileextensions 
) [virtual]

Show folders and files of the given directory (path) in the table, based on file patterns and/or extensions if they exist. If both patterns and extensions exist, only the patterns are used. Return 1 on success, 0 otherwise

virtual void vtkKWFileListTable::SetParentDirectory ( const char *  arg  )  [virtual]

Set/Get the parent directory, of which this widget is displaying the files and directories

virtual char* vtkKWFileListTable::GetParentDirectory (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetFilePattern ( const char *  arg  )  [virtual]

Set/Get the file pattern that should contains "*" or "?", with which the files will be filtered. When the widget uses file pattern to filter files, the file extensions will be ignored. Example: "foo*" or "?bar"

virtual char* vtkKWFileListTable::GetFilePattern (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetFileExtensions ( const char *  arg  )  [virtual]

Set/Get the file extenstions that the file table will use to filter its files. When the widget uses file pattern to filter files, the file extensions will be ignored. The argument is NOT a Tk format, just a simple string of extensions with space between them. Example: ".txt .text .jpg .jpeg"

virtual char* vtkKWFileListTable::GetFileExtensions (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetSelectionMode ( int   )  [virtual]

Set the one of several styles for manipulating the selection. Valid constants can be found in vtkKWOptions::SelectionModeType.

virtual void vtkKWFileListTable::SetSelectionModeToSingle (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetSelectionModeToBrowse (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetSelectionModeToMultiple (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetSelectionModeToExtended (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual const char* vtkKWFileListTable::GetSelectedFileName (  )  [inline, virtual]

Get the files that are selected. This is meant for use with MultipleSelection mode.

Definition at line 102 of file vtkKWFileListTable.h.

virtual int vtkKWFileListTable::GetNumberOfSelectedFileNames (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual const char* vtkKWFileListTable::GetNthSelectedFileName ( int  i  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SelectFileName ( const char *  filename  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::DeselectFileName ( const char *   )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::ClearSelection (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::GetSelectionBackgroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the selection background and foreground colors.

virtual double* vtkKWFileListTable::GetSelectionBackgroundColor (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetSelectionBackgroundColor ( double  r,
double  g,
double  b 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetSelectionBackgroundColor ( double  rgb[3]  )  [inline, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 116 of file vtkKWFileListTable.h.

virtual void vtkKWFileListTable::GetSelectionForegroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual double* vtkKWFileListTable::GetSelectionForegroundColor (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetSelectionForegroundColor ( double  r,
double  g,
double  b 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetSelectionForegroundColor ( double  rgb[3]  )  [inline, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 121 of file vtkKWFileListTable.h.

virtual void vtkKWFileListTable::SetTableWidth ( int  width  )  [virtual]

Set/Get the width (in chars) and height (in lines) of the table. If width is set to 0, the widget will be large enough to show all columns. In all cases, the widget will still obey to its packing layout, i.e. it will stretch all the way if: -fill x

virtual int vtkKWFileListTable::GetTableWidth (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetTableHeight ( int  height  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual int vtkKWFileListTable::GetTableHeight (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::GetTableBackgroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Convenience method to Set/Get the table background color.

virtual double* vtkKWFileListTable::GetTableBackgroundColor (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetTableBackgroundColor ( double  r,
double  g,
double  b 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetTableBackgroundColor ( double  rgb[3]  )  [inline, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 141 of file vtkKWFileListTable.h.

virtual void vtkKWFileListTable::SetFileSelectedCommand ( vtkObject obj,
const char *  method 
) [virtual]

Specifies commands to associate with the widget. 'FileSelected' is called whenever the selection is changed. 'FileDoubleClicked' is called when a file/folder is double-clicked on. 'FileDeleted' is called when a file/folder is removed 'FileRenamed' is called when a file/folder is renamed by right click 'FileUpdated' is called when a new folder is created from right click on empty rows. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command.

virtual void vtkKWFileListTable::SetFileDoubleClickedCommand ( vtkObject obj,
const char *  method 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetFileDeletedCommand ( vtkObject obj,
const char *  method 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetFileRenamedCommand ( vtkObject obj,
const char *  method 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetFolderCreatedCommand ( vtkObject obj,
const char *  method 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::Focus (  )  [virtual]

Set focus to the file list component of this widget. Based on the visibility

Reimplemented from vtkKWWidget.

virtual int vtkKWFileListTable::HasFocus (  )  [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Reimplemented from vtkKWWidget.

virtual void vtkKWFileListTable::AddBindingToInternalWidget ( const char *  event,
vtkObject obj,
const char *  method 
) [virtual]

Add/Remove event binding to the internal file list component of this widget, so that these events will be invoked directly from the file list component of this widget.

virtual void vtkKWFileListTable::RemoveBindingFromInternalWidget ( const char *  event,
vtkObject obj,
const char *  method 
) [virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::ContextMenuCallback ( int  row,
int  col,
int  x,
int  y 
) [virtual]

Callback, do NOT use. Right-click context menu callbacks

virtual void vtkKWFileListTable::KeyPriorNextNavigationCallback ( const char *  w,
int  x,
int  y,
int  root_x,
int  root_y,
const char *  key 
) [virtual]

Callback, do NOT use. Callbacks for Prior/Next key navigations in the table

virtual int vtkKWFileListTable::RenameFileCallback (  )  [virtual]

Callback, do NOT use. Rename callback.

virtual void vtkKWFileListTable::FocusInCallback (  )  [virtual]

Callback, do NOT use. Callback triggered when the file list table is getting focus.

virtual void vtkKWFileListTable::ExploreFileCallback (  )  [virtual]

Callback, do NOT use. Launch native explorer callback.

virtual void vtkKWFileListTable::CreateNewFolderCallback ( const char *  parentdir  )  [virtual]

Callback, do NOT use. Create new folder callback.

virtual void vtkKWFileListTable::SelectedFileChangedCallback (  )  [virtual]

Callback, do NOT use. Callback triggered when the file selection is changed in the file list.

virtual void vtkKWFileListTable::KeyHomeEndNavigationCallback ( const char *  key  )  [virtual]

Callback, do NOT use. Callback triggered for the Navigation keys: Home/End. This is used to change the default behavior of the vtkKWMultiColumnList, so that the list behaves more like Win32 explorer

virtual void vtkKWFileListTable::FileDoubleClickCallback (  )  [virtual]

Callback, do NOT use. Callback triggered when an item is double clicked in the file list.

virtual int vtkKWFileListTable::RemoveSelectedFileCallback (  )  [virtual]

Callback, do NOT use. Callback triggered when the 'Delete' key is pressed. Remove the selected item from the file list.

virtual char* vtkKWFileListTable::GetFormatTimeStringCallback ( const char *  celltext  )  [virtual]

Callback, do NOT use. When the time column in the file list is displayed, convert the celltext ('+' as file or '-' as folder plus time value in seconds for sorting while keeps folders and files separate)) to ctime format. Funtion returns the formatted string that will be displayed: char*

virtual int vtkKWFileListTable::SortTimeCallback ( const char *  cell1,
const char *  cell2 
) [virtual]

Callback, do NOT use. Sort items by time.

virtual char* vtkKWFileListTable::GetFormatSizeStringCallback ( const char *  celltext  )  [virtual]

Callback, do NOT use. When the size column in the file list is displayed, convert the celltext (size value in bytes) to 'KB' format. Funtion returns the formatted string that will be displayed: const char*

virtual char* vtkKWFileListTable::GetRealNameStringCallback ( const char *  celltext  )  [virtual]

Callback, do NOT use. When the Name column in the file list is displayed, convert the celltext (1 as file or 0 as folder plus real name for sorting while keeping folders and files seperate) to real name. Funtion returns the real name that will be displayed: const char*

virtual void vtkKWFileListTable::UpdateEnableState (  )  [virtual]

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.

virtual void vtkKWFileListTable::ScrollToFile ( const char *  prefix  )  [virtual]

Given the prefix of a file or folder name, this function will make the corresponding row with this name visible in the window

virtual void vtkKWFileListTable::CreateWidget (  )  [protected, virtual]

Create the widget.

Reimplemented from vtkKWCompositeWidget.

virtual void vtkKWFileListTable::PopulateContextMenu ( int  rowselected  )  [protected, virtual]

Populate the right-click context menu.

virtual void vtkKWFileListTable::InvokeFileSelectedCommand ( const char *  path  )  [protected, virtual]

Invoke Commands

virtual void vtkKWFileListTable::InvokeFileDoubleClickedCommand ( const char *  path  )  [protected, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::InvokeFileDeletedCommand ( const char *  path,
int  isDir 
) [protected, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::InvokeFileRenamedCommand ( const char *  oldname,
const char *  newname 
) [protected, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::InvokeFolderCreatedCommand ( const char *  filename  )  [protected, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetParentDirectoryInternal ( const char *  arg  )  [protected, virtual]

Set the parent directory, file pattern, file extensions

virtual void vtkKWFileListTable::SetFilePatternInternal ( const char *  arg  )  [protected, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

virtual void vtkKWFileListTable::SetFileExtensionsInternal ( const char *  arg  )  [protected, virtual]

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX


Member Data Documentation

Commands

Definition at line 291 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 292 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 293 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 294 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 295 of file vtkKWFileListTable.h.

vtkKWFileListTableInternals* vtkKWFileListTable::Internals [protected]

Member variables

Reimplemented from vtkKWCoreWidget.

Definition at line 317 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 318 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 319 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 320 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 321 of file vtkKWFileListTable.h.

Define the event types with enumeration Even though it is highly recommended to use the commands framework defined above to specify the callback methods you want to be invoked when specific event occur, you can also use the observer framework and listen to the corresponding events/ Note that they are passed the same parameters as the commands, if any. If more than one numerical parameter is passed, they are all stored in the calldata as an array of double. BTX

Definition at line 322 of file vtkKWFileListTable.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Apr 27 02:34:35 2010 for KWWidgets by  doxygen 1.6.1