|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.ui.selection.Selection
public class Selection
Helper for qx.ui.selection.SelectionManager, contains data for selections
Constructor Summary | |
---|---|
Selection()
|
|
Selection(java.lang.Object mgr)
|
Method Summary | |
---|---|
void |
add(java.lang.Object item)
Add an item to the selection |
boolean |
contains(java.lang.Object item)
Check whether the selection contains a given item |
java.lang.String |
getChangeValue()
Get a string representation of the Selection. |
java.lang.Object |
getFirst()
Return first element of the Selection |
java.lang.Object |
getItemHashCode(java.lang.Object item)
Compute a hash code for an item using the manager |
boolean |
isEmpty()
Whether the selection is empty |
void |
remove(java.lang.Object item)
Remove an item from the selection |
void |
removeAll()
Remove all items from the selection |
java.lang.Object |
toArray()
Convert selection to an array |
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 Selection()
public Selection(java.lang.Object mgr)
Method Detail |
---|
public void add(java.lang.Object item)
Add an item to the selection
public boolean contains(java.lang.Object item)
Check whether the selection contains a given item
public java.lang.String getChangeValue()
Get a string representation of the Selection. The return value can be used to compare selections.
public java.lang.Object getFirst()
Return first element of the Selection
public java.lang.Object getItemHashCode(java.lang.Object item)
Compute a hash code for an item using the manager
public boolean isEmpty()
Whether the selection is empty
public void remove(java.lang.Object item)
Remove an item from the selection
public void removeAll()
Remove all items from the selection
public java.lang.Object toArray()
Convert selection to an array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |