@Test public void testSelectAll() { source.add(0, new Integer(15)); source.add(1, new Integer(155)); source.add(2, new Integer(1555)); source.add(0, new Integer(1)); listSelection.selectAll(); assertEquals(source.size(), selectedList.size()); assertEquals(0, deselectedList.size()); listSelection.selectAll(); assertEquals(source.size(), selectedList.size()); assertEquals(0, deselectedList.size()); }
public void selectAll() { setAllColor(SELECTED); }
ListSelection implements ListEventListener<E> { public void selectAll() { setAllColor(SELECTED); } }
ListSelection implements ListEventListener<E> { public void selectAll() { setAllColor(SELECTED); } ListSelection(EventList<E> source);  ListSelection(EventList<E> source, int[] initialSelection); }
ListSelection implements ListEventListener<E> { public void selectAll() { setAllColor(SELECTED); } ListSelection(EventList<E> source);  ListSelection(EventList<E> source, int[] initialSelection); @Override void listChanged(ListEvent<E> listChanges); void addValidSelectionMatcher(Matcher<E> validSelectionMatcher); void removeValidSelectionMatcher(Matcher<E> validSelectionMatcher); EventList<E> getSelected(); EventList<E> getTogglingSelected(); EventList<E> getDeselected(); EventList<E> getTogglingDeselected(); EventList<E> getSource(); void invertSelection(); boolean isSelected(int sourceIndex); void deselect(int index); void deselect(int start, int end); void deselect(int[] indices); void deselectAll(); void select(int index); void select(int start, int end); void select(int[] indices); int select(E value); boolean select(Collection<E> values); void selectAll(); void setSelection(int index); void setSelection(int start, int end); void setSelection(int[] indices); int getAnchorSelectionIndex(); void setAnchorSelectionIndex(int anchorSelectionIndex); int getLeadSelectionIndex(); void setLeadSelectionIndex(int leadSelectionIndex); void setSelectionMode(int selectionMode); int getSelectionMode(); int getMinSelectionIndex(); int getMaxSelectionIndex(); void addSelectionListener(Listener selectionListener); void removeSelectionListener(Listener selectionListener); void dispose(); }
ListSelection implements ListEventListener<E> { public void selectAll() { setAllColor(SELECTED); } ListSelection(EventList<E> source);  ListSelection(EventList<E> source, int[] initialSelection); @Override void listChanged(ListEvent<E> listChanges); void addValidSelectionMatcher(Matcher<E> validSelectionMatcher); void removeValidSelectionMatcher(Matcher<E> validSelectionMatcher); EventList<E> getSelected(); EventList<E> getTogglingSelected(); EventList<E> getDeselected(); EventList<E> getTogglingDeselected(); EventList<E> getSource(); void invertSelection(); boolean isSelected(int sourceIndex); void deselect(int index); void deselect(int start, int end); void deselect(int[] indices); void deselectAll(); void select(int index); void select(int start, int end); void select(int[] indices); int select(E value); boolean select(Collection<E> values); void selectAll(); void setSelection(int index); void setSelection(int start, int end); void setSelection(int[] indices); int getAnchorSelectionIndex(); void setAnchorSelectionIndex(int anchorSelectionIndex); int getLeadSelectionIndex(); void setLeadSelectionIndex(int leadSelectionIndex); void setSelectionMode(int selectionMode); int getSelectionMode(); int getMinSelectionIndex(); int getMaxSelectionIndex(); void addSelectionListener(Listener selectionListener); void removeSelectionListener(Listener selectionListener); void dispose(); static final int SINGLE_SELECTION; static final int SINGLE_INTERVAL_SELECTION; static final int MULTIPLE_INTERVAL_SELECTION; static final int MULTIPLE_INTERVAL_SELECTION_DEFENSIVE; }