List of usage examples for org.jfree.util BooleanList setBoolean
public void setBoolean(final int index, final Boolean b)
From source file:edu.ucla.stat.SOCR.motionchart.MotionBubbleRenderer.java
/** * Sets the item to be selected./*from w ww .java 2 s . c om*/ * * @param series the series index (zero-based). * @param item the item index (zero-based). * @param selected <code>true</code> if the item should be selected. <code>false</code> otherwise. */ public void setSelectedItem(int series, int item, boolean selected) { BooleanList list = (BooleanList) selectedItems.get(series); if (list == null) { list = new BooleanList(); selectedItems.set(series, list); } list.setBoolean(item, selected); }