public abstract class Plot extends Shape
Constructor and Description |
---|
Plot()
Constructor.
|
Plot(java.awt.Color color)
Constructor.
|
Plot(java.lang.String id)
Constructor.
|
Plot(java.lang.String id,
java.awt.Color color)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID()
Returns the id of plot.
|
javax.swing.JComponent[] |
getToolBar()
Returns an optional list of components in tool bar to control the plot.
|
java.lang.String |
getToolTip(double[] coord)
Returns a optional tool tip for the object at given coordinates.
|
Plot |
setID(java.lang.String id)
Set the id of plot.
|
public Plot()
public Plot(java.lang.String id)
public Plot(java.awt.Color color)
public Plot(java.lang.String id, java.awt.Color color)
public Plot setID(java.lang.String id)
public java.lang.String getID()
public java.lang.String getToolTip(double[] coord)
coord
- the logical coordinates of current mouse position.public javax.swing.JComponent[] getToolBar()