anl.aida.bubble
Class BubbleChart
java.lang.Object
anl.aida.bubble.BubbleChart
public class BubbleChart
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plot
private BubblePlot plot
canvas
private edu.umd.cs.piccolo.PCanvas canvas
panel
private javax.swing.JPanel panel
listPanel
private javax.swing.JPanel listPanel
list
private com.jidesoft.swing.CheckBoxList list
ignoreSelection
private boolean ignoreSelection
catShowing
private boolean catShowing
selections
private java.util.Set<BubbleChart.Category> selections
slider
private BubbleSlider slider
data
private BubbleDataset data
catComparator
private BubbleChart.CategoryComparator catComparator
deselBtn
private javax.swing.JButton deselBtn
entityPanelBtn
private javax.swing.JButton entityPanelBtn
raiseIcon
private javax.swing.Icon raiseIcon
lowerIcon
private javax.swing.Icon lowerIcon
BubbleChart
public BubbleChart(BubbleDataset data)
setCategoryComparator
public void setCategoryComparator(java.util.Comparator<java.lang.String> comparator)
- Sets the comparator to use when sorting the category list.
- Parameters:
comparator
- the comparator to use
getCategoryComparator
public java.util.Comparator<java.lang.String> getCategoryComparator()
- Gets the comparator to use when sorting the category list.
- Returns:
- the comparator to use when sorting the category list.
initCatList
private void initCatList()
selectAll
private void selectAll()
unselectAll
private void unselectAll()
initListeners
private void initListeners()
selectBubble
private void selectBubble(int catIndex)
selectBubbleBox
private void selectBubbleBox(int catIndex)
unselectBubbleBox
private void unselectBubbleBox(int catIndex)
flipEntityPanel
private void flipEntityPanel()
getPlot
public BubblePlot getPlot()
getPanel
public javax.swing.JPanel getPanel()