indicates that the method returns a list of elements or indices of elements
which become selected elements of a target list after the execution of the method.
@GuiIncluded public class Table { @GuiIncluded public List<E> list; ... @GuiListSelectionUpdater @GuiIncluded public List<E> select() { //the "list" property becomes the target by the element type E ... } @GuiListSelectionUpdater(index = true, target = "list") @GuiIncluded public List<Integer> selectRowIndices() { //the "list" property becomes the target by the target parameter ... } @GuiListSelectionUpdater(index = true, target = "list") @GuiIncluded public List<int[]> selectRowAndColumnsIndices() { //the "list" property becomes the target by the target parameter ... } @GuiListSelectionUpdater(index = true) @GuiIncluded public List<Integer> selectList() { //the "list" property becomes the target by the method name "selectList" -> "list" ... } @GuiIncluded public class E { ... @GuiListSelectionUpdater @GuiIncluded public List<E> select() { ... } } }
-
Optional Element Summary
Optional Elements
-
Element Details
-
index
boolean index- Default:
false
-
target
String targetspecifying the updating target list by its name- Returns:
- the name of a list property or the empty string for obtaining the name from the attached method name ("selectXyz" as "xyz")
- Since:
- 1.5
- Default:
""
-