| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\ |
|
| | |\ |
|
| | | |\
| | |_|/
| |/| | |
|
| | | |\ |
|
| | | | |\ |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons
- renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself.
|
| | | | | | |
|
| | | | | |\ |
|
| | | | | | |\
| | | | | |_|/
| | | | |/| | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing
- removed XGridColumn.PreferredWidth - there really is no need for this anymore now
- documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable
- re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
XGridDataListeners
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
removal/insertion at the GridColumnModel, without the need to touch the GridDataModel
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Implementation still unfinished.
Things missing in the SortableGridData implementation
- add as listener to the delegator, so we're notified of changes
- translate and multiplex those changes
- do own notifications (XGridDataListener.dataChanged) when the sort order changed
- (possibly) update the sort order when the data in the current sort-column changed
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
explicit, and less magical
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
internal implementation detail, and in
fact some clients (the A11Y API implementation) exploited this, e.g. by simply adding elements to the array,
without the owner (the TableControl/_Impl) ever noticing it. Replaced that with a working API.
In this course, removed XGridSelection::getMin/MaxSelectionIndex. Pretty useless IMO, unused, and ugly to
implement.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
In this course, more code which was in SVTXGridControl was moved to the places it belongs to, effectively
meaning that the TableControl has better chances than before to be used outside an SVTXGridControl (though
we're not there, yet).
Also, the selection-related methods in TableControl/_Impl got some refactoring love, so the implementation
details are hidden in the Impl class now, instead of being exposed to an exploited by the TableControl.
And while we were there ... The XGridSelection does not provide a |selectColumn| anymore (there was no
preparation whatsoever for column selection, anywhere, thus it was a complete dummy.)
Also, its de/selectRows methods have been removed: They have questionable use, and make implementation
rather difficult, compared with multiple calls to de/selectRow.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
arbitrary sequence of indexes - this makes the handling, in particular for listeners, unnecessarily complex, and has a questionable use only
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
than two alternating colors,
having more reasonable defaults for the colors (VOID instead of some hard-coded values, which thus are unusable).
Also, introduced new property UseGridLines controlling whether or not to paint the table grid.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
introduced getColumnAtPoint
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
header
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
semantics, seems to be unused in the current
OOo code base, and would belong to the model, if at all.
Still one thing to do: do not unconditionally display the cell content as tooltip, but make this dependent on
whether or not the cell content fits into the cell.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
something like this at the public API
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
XMutableGridDataModel.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Instead, allow to retrieve the header/title of a row given by index
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
GridData/ColumnModel, but to the GridControlModel
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
weren't, it wouldn't belong into this module
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
use cell-based access
|
| | | | | | |
| | | | | | |
| | | | | | | |
This does the very same as XGridColumn::XCloneable::createClone does, so there's no need for this method anymore.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
GridColumn/DataEvent, for sake of consistency
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
would work then. (Both are already default-initited to some empty model in the grid model's ctor, for quite a few revisions)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
add/removeGridDataListener - this consistency with the actual listener type name will make introspection work
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
add/removeGridColumnListener - this consistency with the actual listener type name will make introspection work
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
when appropriate
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The implementation of this column was only a wrapper around what setColumnWidth/setPreferredWidth
would have done. Also, the mechanism how this method was used was really weird, effectively propagating
the (preferred) width from the ITableColumn implementation of the grid peer to the XGridColumn implementation
of the grid column model. This was done each time the (preferred) width was access for reading - not really
a clever solution.
Now, the ITableColumn knows its respective XGridColumn, and simply forwards the (preferred) width as needed.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
fixed listener relationship between grid model/control/peer
|