Home
last modified time | relevance | path

Searched refs:selectedIndices (Results 1 – 2 of 2) sorted by relevance

/external/proguard/src/proguard/gui/
DListPanel.java104 int[] selectedIndices = list.getSelectedIndices(); in addUpButton()
105 if (selectedIndices.length > 0 && in addUpButton()
106 selectedIndices[0] > 0) in addUpButton()
109 moveElementsAt(selectedIndices, -1); in addUpButton()
125 int[] selectedIndices = list.getSelectedIndices(); in addDownButton()
126 if (selectedIndices.length > 0 && in addDownButton()
127 selectedIndices[selectedIndices.length-1] < listModel.getSize()-1) in addDownButton()
130 moveElementsAt(selectedIndices, 1); in addDownButton()
155 int[] selectedIndices = list.getSelectedIndices(); in addCopyToPanelButton()
159 removeElementsAt(selectedIndices); in addCopyToPanelButton()
[all …]
DClassPathPanel.java125 int[] selectedIndices = list.getSelectedIndices(); in addEditButton()
128 File[] selectedFiles = new File[selectedIndices.length]; in addEditButton()
132 (ClassPathEntry)listModel.getElementAt(selectedIndices[index]); in addEditButton()
155 if (selectedIndices.length == selectedFiles.length) in addEditButton()
158 setElementsAt(entries, selectedIndices); in addEditButton()
163 removeElementsAt(selectedIndices); in addEditButton()
185 int[] selectedIndices = list.getSelectedIndices(); in addFilterButton()
188 getFiltersFrom(selectedIndices[0]); in addFilterButton()
194 setFiltersAt(selectedIndices); in addFilterButton()