public abstract class TableCellBehaviorBase<S,T,TC extends TableColumnBase<S,?>,C extends IndexedCell<T>> extends CellBehaviorBase<C>
IS_TOUCH_SUPPORTED, TRAVERSAL_BINDINGS, TRAVERSE_DOWN, TRAVERSE_LEFT, TRAVERSE_NEXT, TRAVERSE_PREVIOUS, TRAVERSE_RIGHT, TRAVERSE_UP| Constructor and Description |
|---|
TableCellBehaviorBase(C control)
*
Constructors *
*
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doSelect(double x,
double y,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean shortcutDown)
*
Private implementation *
*
|
protected abstract void |
focus(int row,
TableColumnBase<S,T> tc) |
private int |
getColumn() |
protected abstract TablePositionBase |
getFocusedCell() |
protected abstract TableFocusModel<S,TC> |
getFocusModel() |
protected abstract int |
getItemCount() |
protected abstract TableSelectionModel<S> |
getSelectionModel() |
protected abstract TableColumnBase<S,T> |
getTableColumn()
*
Abstract API *
*
|
protected abstract int |
getVisibleLeafIndex(TableColumnBase<S,T> tc)
Returns the position of the given table column in the visible leaf columns
list of the underlying control.
|
protected boolean |
isSelected() |
protected abstract boolean |
isTableRowSelected() |
protected void |
simpleSelect(MouseButton button,
int clickCount,
boolean shortcutDown) |
edit, getAnchor, getCellContainer, getIndex, handleClicks, handleDisclosureNode, hasDefaultAnchor, hasNonDefaultAnchor, isClickPositionValid, mouseDragged, mousePressed, mouseReleased, removeAnchor, selectRows, setAnchorcallAction, callActionForEvent, contextMenuRequested, dispose, focusChanged, getControl, matchActionForEvent, mouseEntered, mouseExited, traverse, traverseDown, traverseLeft, traverseNext, traversePrevious, traverseRight, traverseUppublic TableCellBehaviorBase(C control)
protected abstract TableColumnBase<S,T> getTableColumn()
protected abstract int getItemCount()
protected abstract TableSelectionModel<S> getSelectionModel()
getSelectionModel in class CellBehaviorBase<C extends IndexedCell<T>>protected abstract TableFocusModel<S,TC> getFocusModel()
getFocusModel in class CellBehaviorBase<C extends IndexedCell<T>>protected abstract TablePositionBase getFocusedCell()
protected abstract boolean isTableRowSelected()
protected abstract int getVisibleLeafIndex(TableColumnBase<S,T> tc)
protected abstract void focus(int row,
TableColumnBase<S,T> tc)
protected void doSelect(double x,
double y,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean shortcutDown)
doSelect in class CellBehaviorBase<C extends IndexedCell<T>>protected void simpleSelect(MouseButton button, int clickCount, boolean shortcutDown)
simpleSelect in class CellBehaviorBase<C extends IndexedCell<T>>private int getColumn()
protected boolean isSelected()
isSelected in class CellBehaviorBase<C extends IndexedCell<T>>