Lines Matching refs:elements
89 // Remove the selected elements.
109 // Move the selected elements up.
130 // Move the selected elements down.
159 // Remove the selected elements from this panel.
162 // Add the elements to the other panel.
209 protected void addElements(Object[] elements)
211 // Add the elements one by one.
212 for (int index = 0; index < elements.length; index++)
214 listModel.addElement(elements[index]);
218 int[] selectedIndices = new int[elements.length];
230 // Remember the selected elements.
233 // Remove the selected elements.
242 // Reinsert the selected elements.
247 protected void insertElementsAt(Object[] elements, int[] indices)
249 for (int index = 0; index < elements.length; index++)
251 listModel.insertElementAt(elements[index], indices[index]);
268 protected void setElementsAt(Object[] elements, int[] indices)
270 for (int index = 0; index < elements.length; index++)
272 listModel.setElementAt(elements[index], indices[index]);