|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.bubble.BubblePlot
public class BubblePlot
Nested Class Summary | |
---|---|
private static interface |
BubblePlot.Updater
|
Field Summary | |
---|---|
private BubblePlot.Updater |
animateUpdate
|
private DefaultBubbleRenderer |
bubbles
|
private edu.umd.cs.piccolo.PCanvas |
canvas
|
private int[] |
catIndices
|
private BubbleDataset |
data
|
private edu.umd.cs.piccolo.nodes.PText |
dateNode
|
private AbstractDomainAxis |
dAxis
|
private boolean |
ignoreMouseOver
|
private boolean |
initialized
|
private java.util.List<BubbleSelectionListener> |
listeners
|
private BubblePlot.Updater |
offsetUpdate
|
private edu.umd.cs.piccolo.PNode |
plot
|
private RangeAxis |
rAxis
|
private int |
timestep
|
private NumericRange |
zRange
|
Constructor Summary | |
---|---|
BubblePlot(edu.umd.cs.piccolo.PCanvas canvas,
BubbleDataset dataset)
|
Method Summary | |
---|---|
void |
addSelectionListener(BubbleSelectionListener listener)
Adds the specified listener to listen for bubble selection events. |
(package private) edu.umd.cs.piccolo.PCanvas |
getCanvas()
|
AbstractDomainAxis |
getDomainAxis()
Gets the domain axis. |
(package private) edu.umd.cs.piccolo.PNode |
getPlot()
|
RangeAxis |
getRangeAxis()
|
private void |
init()
|
boolean |
isIgnoreMouseOver()
Gets whether or not mouse over events on bubbles should be ignored. |
private void |
layout()
|
private void |
removeChild(edu.umd.cs.piccolo.PNode node)
|
void |
resetBounds()
Reset the bounds of the plot to its original extent. |
void |
selectBubble(int categoryIndex,
boolean selected)
Selects or unselects the bubble with the specified category index. |
void |
setDomainAxis(AbstractDomainAxis axis)
Sets the domain axis. |
void |
setIgnoreMouseOver(boolean ignoreMouseOver)
Sets whether or not mouse over events on bubbles should be ignored. |
void |
setRangeAxis(RangeAxis axis)
|
private void |
updateBubbles(BubblePlot.Updater updater)
|
private void |
updateDateNode(java.lang.String text)
|
void |
updateTimeStep(int timestep,
boolean animate)
|
void |
zoom(java.awt.geom.Rectangle2D bounds)
Zoom to the specified bounds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private edu.umd.cs.piccolo.PCanvas canvas
private RangeAxis rAxis
private AbstractDomainAxis dAxis
private edu.umd.cs.piccolo.PNode plot
private DefaultBubbleRenderer bubbles
private BubbleDataset data
private int timestep
private int[] catIndices
private NumericRange zRange
private edu.umd.cs.piccolo.nodes.PText dateNode
private boolean ignoreMouseOver
private boolean initialized
private java.util.List<BubbleSelectionListener> listeners
private BubblePlot.Updater animateUpdate
private BubblePlot.Updater offsetUpdate
Constructor Detail |
---|
public BubblePlot(edu.umd.cs.piccolo.PCanvas canvas, BubbleDataset dataset)
Method Detail |
---|
private void init()
edu.umd.cs.piccolo.PCanvas getCanvas()
edu.umd.cs.piccolo.PNode getPlot()
public boolean isIgnoreMouseOver()
public void setIgnoreMouseOver(boolean ignoreMouseOver)
ignoreMouseOver
- the new valuepublic void addSelectionListener(BubbleSelectionListener listener)
listener
- the listener to addpublic void selectBubble(int categoryIndex, boolean selected)
categoryIndex
- in the index of the bubbleselected
- whether or not the bubble is selected or unselected.public void updateTimeStep(int timestep, boolean animate)
private void updateDateNode(java.lang.String text)
private void updateBubbles(BubblePlot.Updater updater)
public RangeAxis getRangeAxis()
public void setRangeAxis(RangeAxis axis)
axis
- the rAxis to setpublic AbstractDomainAxis getDomainAxis()
public void setDomainAxis(AbstractDomainAxis axis)
axis
- the dAxis to setprivate void removeChild(edu.umd.cs.piccolo.PNode node)
public void zoom(java.awt.geom.Rectangle2D bounds)
bounds
- the bounds to zoom topublic void resetBounds()
private void layout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |