indicates that the method is automatically called when some cells of a related table are selected
@GuiIncluded public class Table {
@GuiIncluded public List<E> list;
...
@GuiListSelectionCallback @GuiIncluded
public void select(List<E> itemsInList) {
...
}
@GuiListSelectionCallback(index=true) @GuiIncluded
public void selectRowIndices(List<Integer> rows) {
...
}
@GuiListSelectionCallback(index=true) @GuiIncluded
public void selectRowAndColumnIndices(List<int[]> rowAndColumn) {
...
}
@GuiIncluded public class E {
...
@GuiListSelectionCallback @GuiIncluded
public void select() {
...
}
}
}
-
Optional Element Summary
Optional Elements
-
Element Details
-
index
boolean indexdetermines the type of parameter list.- Returns:
- if true, the target method must take
a list of row-indices (
List<Integer>) or a list of a list of row-and-column-indices (List<int[]>). if false, the target method must take a list of table elements (List<E> and E will be used for matching the table property).
- Default:
false
-