Go up one levelGo to Previous Go to Next

TableListSort(n)

NAME

 
 TableListSort - itcl popup widget for sorting contents of a TableList

NAMESPACE

 
 util

PARENT CLASS

 
 util::TopLevelWidget

SYNOPSIS

 
 TableListSort <path> ?options?

DESCRIPTION

 
 TableListSort is an itcl popup widget for sorting contents of a
 TableList.


ITK COMPONENTS

 
 dlist
        DoubleList(n) widget to display sort keys to use or not use.

WIDGET OPTIONS

 
 -command
        Command to eval when sort options have been selected.  called with
        2 args: 1: list of sort cols, 2: sort order (increasing or
        decreasing).

 -table
        TableList whose layout is being edited.

PUBLIC METHODS

 
 apply {}
        Apply the changes (called for OK button).

 cancel {}
        Called for the cancel button.

 load {}
        Load the sort settings from the config file object.

 reset {}
        Reset the sorting parameters to the default values.

 table_sort {sort_cols sort_order}
        Default method called when sort options have been selected. May be
        overridden with the -command option.  sort_cols is a list of
        column names to sort by sort_order is one of "increasing",
        "decreasing".

PROTECTED METHODS

 
 create_main_window {}
        Do the main window layout.

 init {}
        Initialize components.

 make_button_row {}
        Make the row of buttons at bottom.

 make_dlist_window {}
        Create a window with 2 lists - one for the headings and one for
        the sort keys.

 make_options_window {}
        Create a window for setting column options.

PROTECTED VARIABLES

 
 config_file_
        Object managing config info.

 table_
        TableList widget.

SEE ALSO

 
 TopLevelWidget(n)

 


- - - - - -
Last change: 07 May 99

 


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory