edu.washington.biostr.sig.brainj3d.viewvolume
Class CrossOverlay

java.lang.Object
  extended by edu.washington.biostr.sig.brainj3d.icons.ComponentTracker
      extended by edu.washington.biostr.sig.brainj3d.shwing.IconOverlay
          extended by edu.washington.biostr.sig.brainj3d.viewvolume.CrossOverlay
All Implemented Interfaces:
EncapsulatesObserverables, MapObserver<Object,Object>, Serializable, Icon

public class CrossOverlay
extends IconOverlay
implements MapObserver<Object,Object>

This puts a cross over the top of the moon (AKA the slice planes).

Author:
eider
See Also:
Serialized Form

Constructor Summary
CrossOverlay(Color c)
          Set up a CrossOverlay with the given color.
 
Method Summary
 Color getColor()
           
 double[] getPercent()
           
 void paintIcon(Component c, Graphics g1, int x, int y)
           
 void setColor(Color c)
           
 void setPercent(double[] percent)
           
 void wasCleared(long source, int size)
           
 void wasPut(long source, Object key, Object newValue, Object oldValue)
           
 void wasRemoved(long source, Object key, Object oldValue)
           
 
Methods inherited from class edu.washington.biostr.sig.brainj3d.shwing.IconOverlay
addMapObserver, getData, getIconHeight, getIconWidth, getObservers, getRicon, putData, removeMapObserver, setRicon
 
Methods inherited from class edu.washington.biostr.sig.brainj3d.icons.ComponentTracker
addComponent, notifyComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossOverlay

public CrossOverlay(Color c)
Set up a CrossOverlay with the given color.

Method Detail

setColor

public void setColor(Color c)

getColor

public Color getColor()

setPercent

public void setPercent(double[] percent)

getPercent

public double[] getPercent()

paintIcon

public void paintIcon(Component c,
                      Graphics g1,
                      int x,
                      int y)
Specified by:
paintIcon in interface Icon

wasCleared

public void wasCleared(long source,
                       int size)
Specified by:
wasCleared in interface MapObserver<Object,Object>

wasPut

public void wasPut(long source,
                   Object key,
                   Object newValue,
                   Object oldValue)
Specified by:
wasPut in interface MapObserver<Object,Object>

wasRemoved

public void wasRemoved(long source,
                       Object key,
                       Object oldValue)
Specified by:
wasRemoved in interface MapObserver<Object,Object>


Copyright © 2006 University of Washington. All Rights Reserved.