public interface ITableCommon extends ITableSelectionObservable, ITableCellObservable, ITableCellPopupDetectionObservable, ITableColumnObservable, ITableColumnPopupDetectionObservable, IControlCommon
Modifier and Type | Method and Description |
---|---|
void |
cancelEditing() |
boolean |
editCell(int row,
int column)
Set the edit mode for a cell.
|
Position |
getCellPosition(int rowIndex,
int columnIndex) |
Dimension |
getCellSize(int rowIndex,
int columnIndex) |
java.util.ArrayList<java.lang.Integer> |
getColumnPermutation() |
java.util.ArrayList<java.lang.Integer> |
getSelection() |
Interval<java.lang.Integer> |
getVisibleRows()
Gets the interval of the visible rows (visible in viewport).
|
boolean |
isColumnPopupDetectionSupported() |
boolean |
isEditing() |
void |
pack(int columnIndex,
TablePackPolicy policy) |
void |
pack(TablePackPolicy policy) |
void |
resetFromModel() |
void |
scrollToRow(int rowIndex)
Scrolls the viewport to the given row, if the row is not shown in the viewport.
|
void |
setColumnPermutation(java.util.List<java.lang.Integer> permutation) |
void |
setEditable(boolean editable)
Sets the tables global editable property.
|
void |
setRowHeight(int height) |
void |
setSelection(java.util.List<java.lang.Integer> selection) |
void |
stopEditing() |
addTableSelectionListener, removeTableSelectionListener
addTableCellListener, removeTableCellListener
addTableCellPopupDetectionListener, removeTableCellPopupDetectionListener
addTableColumnListener, removeTableColumnListener
addTableColumnPopupDetectionListener, removeTableColumnPopupDetectionListener
getLayoutConstraints, getMaxSize, getMinSize, getPreferredSize, setLayoutConstraints, setToolTipText
getBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisible
getUiReference, isEnabled, setEnabled
addComponentListener, removeComponentListener
addFocusListener, removeFocusListener
addKeyListener, removeKeyListener
addMouseListener, removeMouseListener
addMouseMotionListener, removeMouseMotionListener
addPopupDetectionListener, removePopupDetectionListener
void setEditable(boolean editable)
editable
- The editable state to setboolean editCell(int row, int column)
row
- the row index of the cellcolumn
- the column index of the cellvoid stopEditing()
void cancelEditing()
boolean isEditing()
void resetFromModel()
void setRowHeight(int height)
Position getCellPosition(int rowIndex, int columnIndex)
Dimension getCellSize(int rowIndex, int columnIndex)
java.util.ArrayList<java.lang.Integer> getColumnPermutation()
void setColumnPermutation(java.util.List<java.lang.Integer> permutation)
java.util.ArrayList<java.lang.Integer> getSelection()
void setSelection(java.util.List<java.lang.Integer> selection)
void scrollToRow(int rowIndex)
rowIndex
- The row to scroll tovoid pack(TablePackPolicy policy)
void pack(int columnIndex, TablePackPolicy policy)
boolean isColumnPopupDetectionSupported()
Interval<java.lang.Integer> getVisibleRows()
Siehe auch Jowidgets Nutzerhandbuch