Method getSelectedIndices()
Return type: int
Member of:
javax.swing.JList
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
removeButton.setEnabled(shortcutsList.getSelectedIndices().length > 0);
2
peer.setStatusIndexes(statusList.getSelectedIndices());
3
int [] rows = list.getSelectedIndices();
4
setLabel(list.getSelectedIndices().length,
5
dragEnabledImage = getDragImage(list.getSelectedIndices());
6
int[] indices = _choicesList.getSelectedIndices();
7
int pos = this.attributeListView.getSelectedIndices()[0];
8
int[] indices = _selectedList.getSelectedIndices();
9
int [] toRemove = remList.getSelectedIndices();
10
int[] selectedIndices = _selectedList.getSelectedIndices();
11
int[] selectedIndices = ((JList)getSource()).getSelectedIndices();
12
int[] idxs = lstPaths.getSelectedIndices();
13
if(OnActionAssign(componentGetList("sourcelist").getSelectedIndices()))
14
int indexes[] = yesList.getSelectedIndices();
15
int [] indices = whatToShow.getSelectedIndices();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.