|
| | JTableSelection (JTable *table) |
| |
| | JTableSelection (JTable *table, const JTableSelection &source) |
| |
| | ~JTableSelection () override |
| |
| void | SelectCell (const JPoint &cell, const bool on=true) |
| |
| void | SelectCell (const JIndex row, const JIndex col, const bool on=true) |
| |
| void | InvertCell (const JPoint &cell) |
| |
| void | InvertCell (const JIndex row, const JIndex col) |
| |
| bool | HasSelection () const |
| |
| bool | IsSelected (const JPoint &cell) const |
| |
| bool | IsSelected (const JIndex row, const JIndex col) const |
| |
| JSize | GetSelectedCellCount () const |
| |
| bool | GetSingleSelectedCell (JPoint *cell) const |
| |
| bool | GetFirstSelectedCell (JPoint *cell, const JTableSelectionIterator::Direction d=JTableSelectionIterator::kIterateByCol) const |
| |
| bool | GetLastSelectedCell (JPoint *cell, const JTableSelectionIterator::Direction d=JTableSelectionIterator::kIterateByCol) const |
| |
| void | SelectRow (const JIndex rowIndex, const bool on=true) |
| |
| void | InvertRow (const JIndex rowIndex) |
| |
| void | SelectCol (const JIndex colIndex, const bool on=true) |
| |
| void | InvertCol (const JIndex rowIndex) |
| |
| void | SelectRect (const JRect &rect, const bool on=true) |
| |
| void | SelectRect (const JPoint &cell1, const JPoint &cell2, const bool on=true) |
| |
| void | SelectRect (const JCoordinate x, const JCoordinate y, const JCoordinate w, const JCoordinate h, const bool on=true) |
| |
| void | InvertRect (const JRect &rect) |
| |
| void | InvertRect (const JPoint &cell1, const JPoint &cell2) |
| |
| void | InvertRect (const JCoordinate x, const JCoordinate y, const JCoordinate w, const JCoordinate h) |
| |
| void | SelectAll (const bool on=true) |
| |
| void | ClearSelection () |
| |
| bool | HasBoat () const |
| |
| const JPoint & | GetBoat () const |
| |
| bool | GetBoat (JPoint *cell) const |
| |
| void | SetBoat (const JPoint &cell) |
| |
| void | ClearBoat () |
| |
| bool | HasAnchor () const |
| |
| const JPoint & | GetAnchor () const |
| |
| bool | GetAnchor (JPoint *cell) const |
| |
| void | SetAnchor (const JPoint &cell) |
| |
| void | ClearAnchor () |
| |
| bool | OKToExtendSelection () const |
| |
| bool | ExtendSelection (const JPoint &newBoat) |
| |
| | JAuxTableData (JTable *table, const bool &defValue) |
| |
| | JAuxTableData (JTable *table, const JAuxTableData< bool > &source) |
| |
| | ~JAuxTableData () override |
| |
| JTable * | GetTable () const |
| |
| | JPackedTableData (const T &defValue) |
| |
| | JPackedTableData (const JPackedTableData< T > &source) |
| |
| | ~JPackedTableData () override |
| |
| const JRunArray< T > & | GetData () const |
| |
| T | GetItem (const JIndex row, const JIndex col) const |
| |
| T | GetItem (const JPoint &cell) const |
| |
| void | SetItem (const JIndex row, const JIndex col, const T &data) |
| |
| void | SetItem (const JPoint &cell, const T &data) |
| |
| void | GetRow (const JIndex index, JList< T > *rowData) const |
| |
| void | SetRow (const JIndex index, const JList< T > &rowData) |
| |
| void | SetRow (const JIndex index, const T &data) |
| |
| void | SetPartialRow (const JIndex rowIndex, const JIndex firstColIndex, const JIndex lastColIndex, const T &data) |
| |
| void | GetCol (const JIndex index, JList< T > *colData) const |
| |
| void | SetCol (const JIndex index, const JList< T > &colData) |
| |
| void | SetCol (const JIndex index, const T &data) |
| |
| void | SetPartialCol (const JIndex colIndex, const JIndex firstRowIndex, const JIndex lastRowIndex, const T &data) |
| |
| void | SetRect (const JRect &rect, const T &data) |
| |
| void | SetRect (const JCoordinate x, const JCoordinate y, const JCoordinate w, const JCoordinate h, const T &data) |
| |
| void | ApplyToRect (const JRect &rect, T(*f)(const T &)) |
| |
| void | ApplyToRect (const JCoordinate x, const JCoordinate y, const JCoordinate w, const JCoordinate h, T(*f)(const T &)) |
| |
| void | InsertRows (const JIndex index, const JSize count, const JList< T > *initData=nullptr) |
| |
| void | PrependRows (const JSize count, const JList< T > *initData=nullptr) |
| |
| void | AppendRows (const JSize count, const JList< T > *initData=nullptr) |
| |
| void | DuplicateRow (const JIndex origIndex, const JIndex newIndex) |
| |
| void | RemoveRow (const JIndex index) |
| |
| void | RemoveNextRows (const JIndex firstIndex, const JSize count) |
| |
| void | RemovePrevRows (const JIndex lastIndex, const JSize count) |
| |
| void | RemoveAllRows () |
| |
| void | MoveRow (const JIndex origIndex, const JIndex newIndex) |
| |
| void | InsertCols (const JIndex index, const JSize count, const JList< T > *initData=nullptr) |
| |
| void | PrependCols (const JSize count, const JList< T > *initData=nullptr) |
| |
| void | AppendCols (const JSize count, const JList< T > *initData=nullptr) |
| |
| void | DuplicateCol (const JIndex origIndex, const JIndex newIndex) |
| |
| void | RemoveCol (const JIndex index) |
| |
| void | RemoveNextCols (const JIndex firstIndex, const JSize count) |
| |
| void | RemovePrevCols (const JIndex lastIndex, const JSize count) |
| |
| void | RemoveAllCols () |
| |
| void | MoveCol (const JIndex origIndex, const JIndex newIndex) |
| |
| void | SetAllElements (const T &data) |
| |
| void | ClearAllElements () |
| |
| bool | AllItemsEqual (T *data=nullptr) const |
| |
| JSize | CountElementsWithValue (const T &data) const |
| |
| const T | GetDefaultValue () const |
| |
| void | SetDefaultValue (const T &data) |
| |
| | JTableData () |
| |
| | JTableData (const JTableData &source) |
| |
| | ~JTableData () override |
| |
| JTableData & | operator= (const JTableData &source) |
| |
| bool | IsEmpty () const |
| |
| JSize | GetRowCount () const |
| |
| bool | RowIndexValid (const JIndex index) const |
| |
| JSize | GetColCount () const |
| |
| bool | ColIndexValid (const JIndex index) const |
| |
| bool | CellValid (const JPoint &cell) const |
| |
| | JBroadcaster () |
| |
| virtual | ~JBroadcaster () |
| |
| JBroadcaster & | operator= (const JBroadcaster &source) |
| |
| bool | HasSenders () const |
| |
| JSize | GetSenderCount () const |
| |
| bool | HasRecipients () const |
| |
| JSize | GetRecipientCount () const |
| |
| virtual JString | ToString () const |
| |
| template<class T > |
| void | ListenTo (const JBroadcaster *sender, const std::function< void(const T &)> &f) |
| |
Interface for JTableSelection class
Class for storing which cells are selected in a JTable.