edu.sc.seis.fissuresUtil.display.drawable
Class BigX

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by edu.sc.seis.fissuresUtil.display.drawable.BigX
All Implemented Interfaces:
Drawable, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Direct Known Subclasses:
DisplayRemover, SeismogramRemover

public abstract class BigX
extends java.awt.event.MouseAdapter
implements Drawable, java.awt.event.MouseMotionListener


Constructor Summary
BigX(SeismogramDisplayProvider display)
           
 
Method Summary
abstract  void clicked()
           
 void draw(java.awt.Graphics2D canvas, java.awt.Dimension size, TimeEvent currentTime, AmpEvent currentAmp)
           
 java.awt.Color getColor()
           
 java.awt.Color getDrawColor()
           
protected  boolean intersects(java.awt.event.MouseEvent e)
           
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 void setColor(java.awt.Color c)
           
 void setVisibility(boolean b)
           
 void setXY(int x, int y)
           
 void useInsets(boolean insideInsets)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mouseExited, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigX

public BigX(SeismogramDisplayProvider display)
Method Detail

clicked

public abstract void clicked()

setXY

public void setXY(int x,
                  int y)

draw

public void draw(java.awt.Graphics2D canvas,
                 java.awt.Dimension size,
                 TimeEvent currentTime,
                 AmpEvent currentAmp)
Specified by:
draw 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

setVisibility

public void setVisibility(boolean b)
Specified by:
setVisibility in interface Drawable

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener
Overrides:
mouseClicked in class java.awt.event.MouseAdapter

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener
Overrides:
mouseMoved in class java.awt.event.MouseAdapter

useInsets

public void useInsets(boolean insideInsets)

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener
Overrides:
mouseDragged in class java.awt.event.MouseAdapter

intersects

protected boolean intersects(java.awt.event.MouseEvent e)

getDrawColor

public java.awt.Color getDrawColor()