Classes | |
| class | SelectionRange |
| class | Setup |
Public Types | |
| enum | SelectionMode { NoSelection, Single, Multi, SingleRow } |
| enum | SelectionBehavior { SelectItems, SelectRows, SelectColumns } |
| enum | ResizeMode { Interactive, Fixed, Stretch, ResizeToContents } |
Public Member Functions | |
| uiTable (uiParent *, const Setup &, const char *nm) | |
| virtual | ~uiTable () |
| const char * | text (const RowCol &) const |
| void | setText (const RowCol &, const char *) |
| void | clearCell (const RowCol &) |
| void | clearTable () |
| void | showGrid (bool) |
| bool | gridShown () const |
| void | setCurrentCell (const RowCol &, bool noselection=false) |
| void | setCellObject (const RowCol &, uiObject *) |
| uiObject * | getCellObject (const RowCol &) const |
| void | clearCellObject (const RowCol &) |
| RowCol | getCell (uiObject *) |
| void | setCellGroup (const RowCol &, uiGroup *) |
| uiGroup * | getCellGroup (const RowCol &) const |
| RowCol | getCell (uiGroup *) |
| int | nrRows () const |
| int | nrCols () const |
| void | setNrRows (int) |
| void | setNrCols (int) |
| int | columnWidth (int) const |
| int | rowHeight (int) const |
| void | setLeftMargin (int) |
| void | setColumnWidth (int col, int w) |
| void | setColumnWidthInChar (int col, float w) |
| void | setTopMargin (int) |
| void | setRowHeight (int row, int h) |
| void | setRowHeightInChar (int row, float h) |
| void | resizeHeaderToContents (bool hor) |
| void | resizeColumnToContents (int) |
| void | resizeColumnsToContents () |
| void | resizeRowToContents (int) |
| void | resizeRowsToContents () |
| void | setColumnResizeMode (ResizeMode) |
| Default is Stretch. | |
| void | setRowResizeMode (ResizeMode) |
| Default is ResizeToContents. | |
| void | setColumnStretchable (int, bool) |
| void | setRowStretchable (int, bool) |
| bool | isColumnStretchable (int) const |
| bool | isRowStretchable (int) const |
| void | setTableReadOnly (bool) |
| bool | isTableReadOnly () const |
| void | setColumnReadOnly (int, bool) |
| bool | isColumnReadOnly (int) const |
| void | setRowReadOnly (int, bool) |
| bool | isRowReadOnly (int) const |
| void | setCellReadOnly (const RowCol &, bool) |
| bool | isCellReadOnly (const RowCol &) const |
| void | hideColumn (int, bool) |
| void | hideRow (int, bool) |
| bool | isColumnHidden (int) const |
| bool | isRowHidden (int) const |
| bool | isTopHeaderHidden () const |
| bool | isLeftHeaderHidden () const |
| void | insertRows (int row, int count) |
| void | insertRows (const RowCol &rc, int count) |
| void | insertColumns (int col, int count) |
| void | insertColumns (const RowCol &rc, int count) |
| void | removeRow (int) |
| void | removeRow (const RowCol &rc) |
| void | removeRows (const TypeSet< int > &) |
| void | removeColumn (int) |
| void | removeColumn (const RowCol &rc) |
| void | removeColumns (const TypeSet< int > &) |
| bool | isSelected (const RowCol &) const |
| bool | isRowSelected (int) const |
| bool | isColumnSelected (int) const |
| int | currentRow () const |
| int | currentCol () const |
| RowCol | currentCell () const |
| void | setSelected (const RowCol &, bool yn=true) |
| void | selectRow (int row) |
| void | selectColumn (int col) |
| void | selectItems (const TypeSet< RowCol > &, bool) |
| void | removeAllSelections () |
| void | ensureCellVisible (const RowCol &) |
| const char * | rowLabel (int) const |
| const char * | rowLabel (const RowCol &rc) const |
| void | setRowLabel (int, const char *) |
| void | setRowLabels (const char **) |
| void | setRowLabels (const BufferStringSet &) |
| void | setRowLabel (const RowCol &rc, const char *lbl) |
| const char * | columnLabel (int) const |
| const char * | columnLabel (const RowCol &rc) const |
| void | setColumnLabel (int, const char *) |
| void | setColumnLabels (const char **) |
| void | setColumnLabels (const BufferStringSet &) |
| void | setColumnLabel (const RowCol &rc, const char *lbl) |
| void | setDefaultRowLabels () |
| void | setDefaultColLabels () |
| void | setLabelAlignment (Alignment::HPos, bool cols) |
| Setup & | setup () |
| const Setup & | setup () const |
| const RowCol & | notifiedCell () const |
| void | setNotifiedCell (const RowCol &rc) |
| const RowCol & | newCell () const |
| void | setPixmap (const RowCol &, const ioPixmap &) |
| void | setColor (const RowCol &, const Color &) |
| Color | getColor (const RowCol &) const |
| int | getIntValue (const RowCol &) const |
| double | getdValue (const RowCol &) const |
| float | getfValue (const RowCol &) const |
| void | setValue (const RowCol &, int) |
| void | setValue (const RowCol &, float) |
| void | setValue (const RowCol &, double) |
| void | setSelectionMode (SelectionMode) |
| void | setSelectionBehavior (SelectionBehavior) |
| void | editCell (const RowCol &, bool replace=false) |
| const ObjectSet< SelectionRange > & | selectedRanges () const |
| SelectionBehavior | getSelBehavior () const |
| int | maxSelectable () const |
| bool | handleLongTabletPress () |
| bool | needOfVirtualKeyboard () const |
| void | popupVirtualKeyboard (int globalx=-1, int globaly=-1) |
Public Attributes | |
| Notifier< uiTable > | valueChanged |
| Notifier< uiTable > | leftClicked |
| Notifier< uiTable > | rightClicked |
| Notifier< uiTable > | doubleClicked |
| Notifier< uiTable > | selectionChanged |
| Notifier< uiTable > | rowInserted |
| Notifier< uiTable > | rowDeleted |
| Notifier< uiTable > | colInserted |
| Notifier< uiTable > | colDeleted |
| CNotifier< uiTable, int > | rowClicked |
| CNotifier< uiTable, int > | columnClicked |
Protected Member Functions | |
| virtual void | popupMenu (CallBacker *) |
| void | geometrySet_ (CallBacker *) |
| void | updateCellSizes (const uiSize *sz=0) |
| void | removeRCs (const TypeSet< int > &, bool col) |
| void | update (bool row, int nr) |
Protected Attributes | |
| ObjectSet< SelectionRange > | selranges_ |
| RowCol | notifcell_ |
| RowCol | newcell_ |
| Setup | setup_ |
| OD::ButtonState | buttonstate_ |
| bool | istablereadonly_ |
Private Member Functions | |
| uiTableBody & | mkbody (uiParent *, const char *, int, int) |
Private Attributes | |
| uiTableBody * | body_ |
| uiSize | lastsz |
Friends | |
| class | i_tableMessenger |
| class | uiTableBody |
| enum uiTable::ResizeMode |
| virtual uiTable::~uiTable | ( | ) | [virtual] |
| void uiTable::clearCell | ( | const RowCol & | ) |
| void uiTable::clearCellObject | ( | const RowCol & | ) |
| void uiTable::clearTable | ( | ) |
| const char* uiTable::columnLabel | ( | int | ) | const |
| const char* uiTable::columnLabel | ( | const RowCol & | rc | ) | const [inline] |
| int uiTable::columnWidth | ( | int | ) | const |
| RowCol uiTable::currentCell | ( | ) | const [inline] |
| int uiTable::currentCol | ( | ) | const |
| int uiTable::currentRow | ( | ) | const |
| void uiTable::editCell | ( | const RowCol & | , | |
| bool | replace = false | |||
| ) |
| void uiTable::ensureCellVisible | ( | const RowCol & | ) |
| void uiTable::geometrySet_ | ( | CallBacker * | ) | [protected] |
| double uiTable::getdValue | ( | const RowCol & | ) | const |
| float uiTable::getfValue | ( | const RowCol & | ) | const |
| int uiTable::getIntValue | ( | const RowCol & | ) | const |
| SelectionBehavior uiTable::getSelBehavior | ( | ) | const |
| bool uiTable::gridShown | ( | ) | const |
| bool uiTable::handleLongTabletPress | ( | ) | [virtual] |
Reimplemented from uiObject.
| void uiTable::hideColumn | ( | int | , | |
| bool | ||||
| ) |
| void uiTable::hideRow | ( | int | , | |
| bool | ||||
| ) |
| void uiTable::insertColumns | ( | int | col, | |
| int | count | |||
| ) |
| void uiTable::insertColumns | ( | const RowCol & | rc, | |
| int | count | |||
| ) | [inline] |
| void uiTable::insertRows | ( | const RowCol & | rc, | |
| int | count | |||
| ) | [inline] |
| void uiTable::insertRows | ( | int | row, | |
| int | count | |||
| ) |
| bool uiTable::isCellReadOnly | ( | const RowCol & | ) | const |
| bool uiTable::isColumnHidden | ( | int | ) | const |
| bool uiTable::isColumnReadOnly | ( | int | ) | const |
| bool uiTable::isColumnSelected | ( | int | ) | const |
| bool uiTable::isColumnStretchable | ( | int | ) | const |
| bool uiTable::isLeftHeaderHidden | ( | ) | const |
| bool uiTable::isRowHidden | ( | int | ) | const |
| bool uiTable::isRowReadOnly | ( | int | ) | const |
| bool uiTable::isRowSelected | ( | int | ) | const |
| bool uiTable::isRowStretchable | ( | int | ) | const |
| bool uiTable::isSelected | ( | const RowCol & | ) | const |
| bool uiTable::isTableReadOnly | ( | ) | const |
| bool uiTable::isTopHeaderHidden | ( | ) | const |
| int uiTable::maxSelectable | ( | ) | const |
| uiTableBody& uiTable::mkbody | ( | uiParent * | , | |
| const char * | , | |||
| int | , | |||
| int | ||||
| ) | [private] |
| bool uiTable::needOfVirtualKeyboard | ( | ) | const |
| const RowCol& uiTable::newCell | ( | ) | const [inline] |
| const RowCol& uiTable::notifiedCell | ( | ) | const [inline] |
| int uiTable::nrCols | ( | ) | const |
| int uiTable::nrRows | ( | ) | const |
| virtual void uiTable::popupMenu | ( | CallBacker * | ) | [protected, virtual] |
| void uiTable::popupVirtualKeyboard | ( | int | globalx = -1, |
|
| int | globaly = -1 | |||
| ) |
| void uiTable::removeAllSelections | ( | ) |
| void uiTable::removeColumn | ( | int | ) |
| void uiTable::removeColumn | ( | const RowCol & | rc | ) | [inline] |
| void uiTable::removeColumns | ( | const TypeSet< int > & | ) |
| void uiTable::removeRCs | ( | const TypeSet< int > & | , | |
| bool | col | |||
| ) | [protected] |
| void uiTable::removeRow | ( | const RowCol & | rc | ) | [inline] |
| void uiTable::removeRow | ( | int | ) |
| void uiTable::removeRows | ( | const TypeSet< int > & | ) |
| void uiTable::resizeColumnsToContents | ( | ) |
| void uiTable::resizeColumnToContents | ( | int | ) |
| void uiTable::resizeHeaderToContents | ( | bool | hor | ) |
| void uiTable::resizeRowsToContents | ( | ) |
| void uiTable::resizeRowToContents | ( | int | ) |
| int uiTable::rowHeight | ( | int | ) | const |
| const char* uiTable::rowLabel | ( | int | ) | const |
| const char* uiTable::rowLabel | ( | const RowCol & | rc | ) | const [inline] |
| void uiTable::selectColumn | ( | int | col | ) |
| const ObjectSet<SelectionRange>& uiTable::selectedRanges | ( | ) | const |
| void uiTable::selectRow | ( | int | row | ) |
| void uiTable::setCellReadOnly | ( | const RowCol & | , | |
| bool | ||||
| ) |
| void uiTable::setColumnLabel | ( | int | , | |
| const char * | ||||
| ) |
| void uiTable::setColumnLabel | ( | const RowCol & | rc, | |
| const char * | lbl | |||
| ) | [inline] |
| void uiTable::setColumnLabels | ( | const BufferStringSet & | ) |
| void uiTable::setColumnLabels | ( | const char ** | ) |
| void uiTable::setColumnReadOnly | ( | int | , | |
| bool | ||||
| ) |
| void uiTable::setColumnResizeMode | ( | ResizeMode | ) |
Default is Stretch.
| void uiTable::setColumnStretchable | ( | int | , | |
| bool | ||||
| ) |
| void uiTable::setColumnWidth | ( | int | col, | |
| int | w | |||
| ) |
| void uiTable::setColumnWidthInChar | ( | int | col, | |
| float | w | |||
| ) |
| void uiTable::setCurrentCell | ( | const RowCol & | , | |
| bool | noselection = false | |||
| ) |
| void uiTable::setDefaultColLabels | ( | ) |
| void uiTable::setDefaultRowLabels | ( | ) |
| void uiTable::setLabelAlignment | ( | Alignment::HPos | , | |
| bool | cols | |||
| ) |
| void uiTable::setLeftMargin | ( | int | ) |
| void uiTable::setNotifiedCell | ( | const RowCol & | rc | ) | [inline] |
| void uiTable::setNrCols | ( | int | ) |
| void uiTable::setNrRows | ( | int | ) |
| void uiTable::setRowHeight | ( | int | row, | |
| int | h | |||
| ) |
| void uiTable::setRowHeightInChar | ( | int | row, | |
| float | h | |||
| ) |
| void uiTable::setRowLabel | ( | int | , | |
| const char * | ||||
| ) |
| void uiTable::setRowLabel | ( | const RowCol & | rc, | |
| const char * | lbl | |||
| ) | [inline] |
| void uiTable::setRowLabels | ( | const BufferStringSet & | ) |
| void uiTable::setRowLabels | ( | const char ** | ) |
| void uiTable::setRowReadOnly | ( | int | , | |
| bool | ||||
| ) |
| void uiTable::setRowResizeMode | ( | ResizeMode | ) |
Default is ResizeToContents.
| void uiTable::setRowStretchable | ( | int | , | |
| bool | ||||
| ) |
| void uiTable::setSelected | ( | const RowCol & | , | |
| bool | yn = true | |||
| ) |
| void uiTable::setSelectionBehavior | ( | SelectionBehavior | ) |
| void uiTable::setSelectionMode | ( | SelectionMode | ) |
| void uiTable::setTableReadOnly | ( | bool | ) |
| void uiTable::setText | ( | const RowCol & | , | |
| const char * | ||||
| ) |
| void uiTable::setTopMargin | ( | int | ) |
| const Setup& uiTable::setup | ( | ) | const [inline] |
| Setup& uiTable::setup | ( | ) | [inline] |
| void uiTable::setValue | ( | const RowCol & | , | |
| double | ||||
| ) |
| void uiTable::setValue | ( | const RowCol & | , | |
| int | ||||
| ) |
| void uiTable::setValue | ( | const RowCol & | , | |
| float | ||||
| ) |
| void uiTable::showGrid | ( | bool | ) |
| const char* uiTable::text | ( | const RowCol & | ) | const |
| void uiTable::update | ( | bool | row, | |
| int | nr | |||
| ) | [protected] |
| void uiTable::updateCellSizes | ( | const uiSize * | sz = 0 |
) | [protected] |
friend class i_tableMessenger [friend] |
friend class uiTableBody [friend] |
uiTableBody* uiTable::body_ [private] |
Reimplemented from uiBaseObject.
OD::ButtonState uiTable::buttonstate_ [protected] |
bool uiTable::istablereadonly_ [protected] |
uiSize uiTable::lastsz [mutable, private] |
RowCol uiTable::newcell_ [protected] |
RowCol uiTable::notifcell_ [protected] |
ObjectSet<SelectionRange> uiTable::selranges_ [mutable, protected] |
Setup uiTable::setup_ [mutable, protected] |
1.7.1