Home
last modified time | relevance | path

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

/external/proguard/src/proguard/gui/
DListPanel.java105 int[] selectedIndices = list.getSelectedIndices(); in addUpButton()
106 if (selectedIndices.length > 0 && in addUpButton()
107 selectedIndices[0] > 0) in addUpButton()
110 moveElementsAt(selectedIndices, -1); in addUpButton()
126 int[] selectedIndices = list.getSelectedIndices(); in addDownButton()
127 if (selectedIndices.length > 0 && in addDownButton()
128 selectedIndices[selectedIndices.length-1] < listModel.getSize()-1) in addDownButton()
131 moveElementsAt(selectedIndices, 1); in addDownButton()
156 int[] selectedIndices = list.getSelectedIndices(); in addCopyToPanelButton()
160 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()