|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.ui.core.Widget
qx.ui.core.Parent
qx.ui.layout.BoxLayout
qx.ui.layout.VerticalBoxLayout
qx.ui.form.List
public class List
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
List()
|
Method Summary | |
---|---|
java.lang.Object |
_findItem(java.lang.String vUserValue,
int vStartIndex,
java.lang.String vType)
Executes different (depending on the given search type) methods of qx.ui.form.ListItem for searching the given search string. |
void |
_onclick(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target. |
void |
_ondblclick(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target. |
void |
_onkeydown(KeyEvent e)
Dispatches the “action” event on every selected list item when the “Enter” key is pressed |
void |
_onkeyinput(KeyEvent e)
Handles the inline find – if enabled |
void |
_onkeypress(KeyEvent e)
Delegates the control of the event to selection manager |
void |
_onmousedown(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target. |
void |
_onmouseover(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target. |
void |
_onmouseup(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target. |
int |
_sortItemsCompare(java.lang.Object a,
java.lang.Object b)
Compare method called by the sort method |
java.lang.Object |
findString(java.lang.String vText,
int vStartIndex)
Perform a search for a string |
java.lang.Object |
findStringExact(java.lang.String vText,
int vStartIndex)
Perform a exact search for a string |
java.lang.Object |
findValue(java.lang.String vText,
int vStartIndex)
Perform a search for a value |
java.lang.Object |
findValueExact(java.lang.String vText,
int vStartIndex)
Perform a exact search for a value |
boolean |
getEnableInlineFind()
Returns the (computed) value of the property enableInlineFind . |
ListItem |
getListItemTarget(java.lang.Object vItem)
Traverses the widget tree upwards until a corresponding qx.ui.form.ListItem to given vItem (event target) is found. |
SelectionManager |
getManager()
Accessor method for the selection manager |
boolean |
getMarkLeadingItem()
Returns the (computed) value of the property markLeadingItem . |
java.lang.Object |
getSelectedItem()
Returns the first selected list item. |
java.lang.Object |
getSelectedItems()
Returns all selected list items (uses the selection manager). |
void |
initEnableInlineFind(boolean arg)
Calls the apply method and dispatches the change event of the property enableInlineFind
with the default value defined by the class developer. |
void |
initMarkLeadingItem(boolean arg)
Calls the apply method and dispatches the change event of the property markLeadingItem
with the default value defined by the class developer. |
boolean |
isEnableInlineFind()
Check whether the (computed) value of the boolean property enableInlineFind equals true . |
boolean |
isMarkLeadingItem()
Check whether the (computed) value of the boolean property markLeadingItem equals true . |
void |
resetEnableInlineFind()
Resets the user value of the property enableInlineFind . |
void |
resetMarkLeadingItem()
Resets the user value of the property markLeadingItem . |
void |
setEnableInlineFind(boolean arg)
Sets the user value of the property enableInlineFind . |
void |
setMarkLeadingItem(boolean arg)
Sets the user value of the property markLeadingItem . |
void |
sortItemsByString(boolean vReverse)
Sorts all items by using the string of the label. |
void |
sortItemsByValue(boolean vReverse)
Sorts all items by using the value. |
boolean |
toggleEnableInlineFind()
Toggles the (computed) value of the boolean property enableInlineFind . |
boolean |
toggleMarkLeadingItem()
Toggles the (computed) value of the boolean property markLeadingItem . |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
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 List()
Method Detail |
---|
public java.lang.Object _findItem(java.lang.String vUserValue, int vStartIndex, java.lang.String vType)
Executes different (depending on the given search type) methods of qx.ui.form.ListItem for searching the given search string. Returns a reference to the qx.ui.form.ListItem where the search string is found first.
public void _onclick(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target.
public void _ondblclick(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target.
public void _onkeydown(KeyEvent e)
Dispatches the “action” event on every selected list item when the “Enter” key is pressed
public void _onkeyinput(KeyEvent e)
Handles the inline find – if enabled
public void _onkeypress(KeyEvent e)
Delegates the control of the event to selection manager
public void _onmousedown(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target.
public void _onmouseover(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target.
public void _onmouseup(MouseEvent e)
Delegates the event to the selection manager if a list item could be resolved out of the event target.
public int _sortItemsCompare(java.lang.Object a, java.lang.Object b)
Compare method called by the sort method
public java.lang.Object findString(java.lang.String vText, int vStartIndex)
Perform a search for a string
public java.lang.Object findStringExact(java.lang.String vText, int vStartIndex)
Perform a exact search for a string
public java.lang.Object findValue(java.lang.String vText, int vStartIndex)
Perform a search for a value
public java.lang.Object findValueExact(java.lang.String vText, int vStartIndex)
Perform a exact search for a value
public boolean getEnableInlineFind()
Returns the (computed) value of the property enableInlineFind
.
For further details take a look at the property definition: enableInlineFind
.
public ListItem getListItemTarget(java.lang.Object vItem)
Traverses the widget tree upwards until a corresponding qx.ui.form.ListItem to given vItem (event target) is found.
public SelectionManager getManager()
Accessor method for the selection manager
public boolean getMarkLeadingItem()
Returns the (computed) value of the property markLeadingItem
.
For further details take a look at the property definition: markLeadingItem
.
public java.lang.Object getSelectedItem()
Returns the first selected list item.
public java.lang.Object getSelectedItems()
Returns all selected list items (uses the selection manager).
public void initEnableInlineFind(boolean arg)
Calls the apply method and dispatches the change event of the property enableInlineFind
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: enableInlineFind
.
public void initMarkLeadingItem(boolean arg)
Calls the apply method and dispatches the change event of the property markLeadingItem
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: markLeadingItem
.
public boolean isEnableInlineFind()
Check whether the (computed) value of the boolean property enableInlineFind
equals true
.
For further details take a look at the property definition: enableInlineFind
.
public boolean isMarkLeadingItem()
Check whether the (computed) value of the boolean property markLeadingItem
equals true
.
For further details take a look at the property definition: markLeadingItem
.
public void resetEnableInlineFind()
Resets the user value of the property enableInlineFind
.
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: enableInlineFind
.
public void resetMarkLeadingItem()
Resets the user value of the property markLeadingItem
.
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: markLeadingItem
.
public void setEnableInlineFind(boolean arg)
Sets the user value of the property enableInlineFind
.
For further details take a look at the property definition: enableInlineFind
.
public void setMarkLeadingItem(boolean arg)
Sets the user value of the property markLeadingItem
.
For further details take a look at the property definition: markLeadingItem
.
public void sortItemsByString(boolean vReverse)
Sorts all items by using the string of the label.
public void sortItemsByValue(boolean vReverse)
Sorts all items by using the value.
public boolean toggleEnableInlineFind()
Toggles the (computed) value of the boolean property enableInlineFind
.
For further details take a look at the property definition: enableInlineFind
.
public boolean toggleMarkLeadingItem()
Toggles the (computed) value of the boolean property markLeadingItem
.
For further details take a look at the property definition: markLeadingItem
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |