edu.sc.seis.fissuresUtil.display.drawable
Class SeismogramShape
java.lang.Object
edu.sc.seis.fissuresUtil.display.drawable.SeismogramShape
- All Implemented Interfaces:
- SeismogramContainerListener, java.awt.Shape
- Direct Known Subclasses:
- FilteredSeismogramShape
public class SeismogramShape
- extends java.lang.Object
- implements java.awt.Shape, SeismogramContainerListener
SeismogramShape.java Created: Fri Jul 26 16:06:52 2002
Method Summary |
boolean |
contains(double x,
double y)
|
boolean |
contains(double x,
double y,
double w,
double h)
|
boolean |
contains(java.awt.geom.Point2D p)
|
boolean |
contains(java.awt.geom.Rectangle2D r)
|
java.awt.Rectangle |
getBounds()
|
java.awt.geom.Rectangle2D |
getBounds2D()
|
void |
getData()
|
java.lang.String |
getDataStatus()
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at)
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
|
DataSetSeismogram |
getSeismogram()
|
boolean |
intersects(double x,
double y,
double w,
double h)
|
boolean |
intersects(java.awt.geom.Rectangle2D r)
|
boolean |
update(MicroSecondTimeRange time,
edu.iris.Fissures.model.UnitRangeImpl amp,
java.awt.Dimension size)
Method update changes the current plot for the seismogram held by this
object to be over the passed in variables |
void |
updateData()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeismogramShape
public SeismogramShape(SeismogramDisplay parent,
DataSetSeismogram seis)
updateData
public void updateData()
- Specified by:
updateData
in interface SeismogramContainerListener
update
public boolean update(MicroSecondTimeRange time,
edu.iris.Fissures.model.UnitRangeImpl amp,
java.awt.Dimension size)
- Method update changes the current plot for the seismogram held by this
object to be over the passed in variables
- Parameters:
time
- specifies the time range for the plotamp
- specifies the amp range for the plotsize
- specifies the dimension of the plot
getDataStatus
public java.lang.String getDataStatus()
getData
public void getData()
getPathIterator
public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
- Specified by:
getPathIterator
in interface java.awt.Shape
getPathIterator
public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
- Specified by:
getPathIterator
in interface java.awt.Shape
intersects
public boolean intersects(double x,
double y,
double w,
double h)
- Specified by:
intersects
in interface java.awt.Shape
intersects
public boolean intersects(java.awt.geom.Rectangle2D r)
- Specified by:
intersects
in interface java.awt.Shape
contains
public boolean contains(double x,
double y,
double w,
double h)
- Specified by:
contains
in interface java.awt.Shape
contains
public boolean contains(java.awt.geom.Rectangle2D r)
- Specified by:
contains
in interface java.awt.Shape
contains
public boolean contains(double x,
double y)
- Specified by:
contains
in interface java.awt.Shape
contains
public boolean contains(java.awt.geom.Point2D p)
- Specified by:
contains
in interface java.awt.Shape
getBounds
public java.awt.Rectangle getBounds()
- Specified by:
getBounds
in interface java.awt.Shape
getBounds2D
public java.awt.geom.Rectangle2D getBounds2D()
- Specified by:
getBounds2D
in interface java.awt.Shape
getSeismogram
public DataSetSeismogram getSeismogram()