edu.swri.swiftvis.plot
Class Plot
java.lang.Object
edu.swri.swiftvis.plot.Plot
- All Implemented Interfaces:
- DataSink, GraphElement, java.io.Serializable
public class Plot
- extends java.lang.Object
- implements DataSink
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bounds
private java.awt.Rectangle bounds
inputVector
private java.util.Vector<DataSource> inputVector
spec
private PlotSpec spec
graphPanel
private transient GraphPanel graphPanel
plotFrame
private transient PlotFrame plotFrame
propPanel
private transient javax.swing.JTabbedPane propPanel
poPropPanel
private transient javax.swing.JComponent poPropPanel
tree
private transient javax.swing.JTree tree
sip
private transient SourceInfoPanel sip
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
Plot
public Plot(GraphPanel gp)
Plot
public Plot(Plot c,
java.util.List<GraphElement> l)
validInput
public boolean validInput(DataSource ds)
- Specified by:
validInput in interface DataSink
addInput
public void addInput(DataSource input)
- Specified by:
addInput in interface DataSink
removeInput
public void removeInput(DataSource input)
- Specified by:
removeInput in interface DataSink
getSource
public DataSource getSource(int which)
- Specified by:
getSource in interface DataSink
getNumSources
public int getNumSources()
- Specified by:
getNumSources in interface DataSink
sourceAltered
public void sourceAltered(DataSource source)
- Specified by:
sourceAltered in interface DataSink
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface GraphElement
getBounds
public java.awt.Rectangle getBounds()
- Specified by:
getBounds in interface GraphElement
setBounds
public void setBounds(java.awt.Rectangle b)
- Specified by:
setBounds in interface GraphElement
clearData
public void clearData()
- Description copied from interface:
GraphElement
- This method does what the name implies, it clears out data vectors.
It is used for saving templates which shouldn't have the data in
them.
- Specified by:
clearData in interface GraphElement
getPaint
public java.awt.Paint getPaint()
- Specified by:
getPaint in interface GraphElement
getPropertiesPanel
public javax.swing.JComponent getPropertiesPanel()
- Specified by:
getPropertiesPanel in interface GraphElement
treeAltered
public void treeAltered(PlotObject node)
- This method will be called when something alters the tree of elements
in the plot.
getSurface
public PlotSurface getSurface()
fireRedraw
public void fireRedraw()
copy
public Plot copy(java.util.List<GraphElement> l)
- Specified by:
copy in interface GraphElement
relink
public void relink(java.util.Hashtable<GraphElement,GraphElement> linkHash)
- Specified by:
relink in interface GraphElement
getGraphPanel
public GraphPanel getGraphPanel()
setGraphPanel
public void setGraphPanel(GraphPanel gp)
showPlot
private void showPlot()
treeSelectionChanged
private void treeSelectionChanged()