|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.ui.table.selection.Manager
qx.ui.treevirtual.SelectionManager
public class SelectionManager
A selection manager. This is a helper class that handles all selection related events and updates a SelectionModel.
This Selection Manager differs from its superclass in that we do not want rows to be selected when moving around with the keyboard.
Constructor Summary | |
---|---|
SelectionManager()
|
|
SelectionManager(java.lang.Object table)
|
Method Summary | |
---|---|
void |
_handleSelectEvent(java.lang.Integer index,
java.lang.Object evt)
Handles a select event. |
void |
handleMoveKeyDown(java.lang.Integer index,
java.lang.Object evt)
Handles a key down event that moved the focus (E.g. |
Methods inherited from class qx.ui.table.selection.Manager |
---|
getSelectionModel, handleClick, handleMouseDown, handleMouseUp, handleSelectKeyDown, initSelectionModel, resetSelectionModel, setSelectionModel |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionManager()
public SelectionManager(java.lang.Object table)
Method Detail |
---|
public void _handleSelectEvent(java.lang.Integer index, java.lang.Object evt)
Handles a select event. First we determine if the click was on the open/close button and toggle the opened/closed state as necessary. Then, if the click was not on the open/close button or if the table’s “openCloseClickSelectsRow” property so indicates, call our superclass to handle the actual row selection.
_handleSelectEvent
in class Manager
public void handleMoveKeyDown(java.lang.Integer index, java.lang.Object evt)
Handles a key down event that moved the focus (E.g. up, down, home, end, ...).
handleMoveKeyDown
in class Manager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |