|
||||||||||
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
public class Manager
A selection manager. This is a helper class that handles all selection related events and updates a SelectionModel.
Widgets that support selection should use this manager. This way the only thing the widget has to do is mapping mouse or key events to indexes and call the corresponding handler method.
Constructor Summary | |
---|---|
Manager()
|
Method Summary | |
---|---|
void |
_handleSelectEvent(java.lang.Integer index,
java.lang.Object evt)
Handles a select event. |
Model |
getSelectionModel()
Returns the (computed) value of the property selectionModel . |
void |
handleClick(java.lang.Integer index,
java.lang.Object evt)
Handles the mouse click event. |
void |
handleMouseDown(java.lang.Integer index,
java.lang.Object evt)
Handles the mouse down event. |
void |
handleMouseUp(java.lang.Integer index,
java.lang.Object evt)
Handles the mouse up event. |
void |
handleMoveKeyDown(java.lang.Integer index,
java.lang.Object evt)
Handles a key down event that moved the focus (E.g. |
void |
handleSelectKeyDown(java.lang.Integer index,
java.lang.Object evt)
Handles the key down event that is used as replacement for mouse clicks (Normally space). |
void |
initSelectionModel(Model arg)
Calls the apply method and dispatches the change event of the property selectionModel
with the default value defined by the class developer. |
void |
resetSelectionModel()
Resets the user value of the property selectionModel . |
void |
setSelectionModel(Model arg)
Sets the user value of the property selectionModel . |
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 Manager()
Method Detail |
---|
public void _handleSelectEvent(java.lang.Integer index, java.lang.Object evt)
Handles a select event.
public Model getSelectionModel()
Returns the (computed) value of the property selectionModel
.
For further details take a look at the property definition: selectionModel
.
public void handleClick(java.lang.Integer index, java.lang.Object evt)
Handles the mouse click event.
public void handleMouseDown(java.lang.Integer index, java.lang.Object evt)
Handles the mouse down event.
public void handleMouseUp(java.lang.Integer index, java.lang.Object evt)
Handles the mouse up event.
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, ...).
public void handleSelectKeyDown(java.lang.Integer index, java.lang.Object evt)
Handles the key down event that is used as replacement for mouse clicks (Normally space).
public void initSelectionModel(Model arg)
Calls the apply method and dispatches the change event of the property selectionModel
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: selectionModel
.
public void resetSelectionModel()
Resets the user value of the property selectionModel
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: selectionModel
.
public void setSelectionModel(Model arg)
Sets the user value of the property selectionModel
.
For further details take a look at the property definition: selectionModel
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |