edu.sc.seis.fissuresUtil.display.drawable
Class TimeAmpLabel
java.lang.Object
edu.sc.seis.fissuresUtil.display.drawable.TimeAmpLabel
- All Implemented Interfaces:
- Drawable, NamedDrawable
public class TimeAmpLabel
- extends java.lang.Object
- implements NamedDrawable
Method Summary |
void |
draw(java.awt.Graphics2D canvas,
java.awt.Dimension size,
TimeEvent currentTime,
AmpEvent currentAmp)
|
java.awt.geom.Rectangle2D |
drawName(java.awt.Graphics2D canvas,
int xPosition,
int yPosition)
|
java.awt.Color |
getColor()
|
java.lang.String |
getText()
|
void |
setColor(java.awt.Color c)
|
void |
setText(java.lang.String[] timeAmp)
|
void |
setVisibility(boolean b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeAmpLabel
public TimeAmpLabel()
drawName
public java.awt.geom.Rectangle2D drawName(java.awt.Graphics2D canvas,
int xPosition,
int yPosition)
- Specified by:
drawName
in interface NamedDrawable
draw
public void draw(java.awt.Graphics2D canvas,
java.awt.Dimension size,
TimeEvent currentTime,
AmpEvent currentAmp)
- Specified by:
draw
in interface Drawable
setVisibility
public void setVisibility(boolean b)
- Specified by:
setVisibility
in interface Drawable
getColor
public java.awt.Color getColor()
- Specified by:
getColor
in interface Drawable
setColor
public void setColor(java.awt.Color c)
- Specified by:
setColor
in interface Drawable
getText
public java.lang.String getText()
setText
public void setText(java.lang.String[] timeAmp)