stsci.sky
Class CompassCatalog

java.lang.Object
  |
  +--stsci.sky.Catalog2D
        |
        +--stsci.sky.CompassCatalog
All Implemented Interfaces:
ArcObjCont, java.util.EventListener, java.awt.event.ItemListener

public class CompassCatalog
extends Catalog2D

This represents a Catalog with Duplicate entries - effectively this is the compass Catalog - we may do somethings a little differently for this like having an extra set of criteria. * @author


Field Summary
 Star2D prevStar
           
 
Fields inherited from class stsci.sky.Catalog2D
archive, col, crit, loaded, name, plot, serverSideFilter, sky, stars
 
Constructor Summary
CompassCatalog()
           
CompassCatalog(SourceArchive arc, SkyArea sky)
           
 
Method Summary
 java.util.Iterator getStars()
           
 void plot(Star2D s)
          Plot individual Star if it matches criteria unless a previus entry is ploted in this place (with the sameID).
 
Methods inherited from class stsci.sky.Catalog2D
add, color, filter, findNear, findStar, init, itemStateChanged, moveStars, name, plot, plot, replot, reScale, setCol, setCrit, setPlot, setPos, setServerSideFilter, unplot
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prevStar

public Star2D prevStar
Constructor Detail

CompassCatalog

public CompassCatalog(SourceArchive arc,
                      SkyArea sky)
Parameters:
arc -  
sky -  
Throws:
-  

CompassCatalog

public CompassCatalog()
Throws:
-  
Method Detail

plot

public void plot(Star2D s)
Plot individual Star if it matches criteria unless a previus entry is ploted in this place (with the sameID). Compass has multiple entries per source and this avoids plotting them all on top of each other. * @param s
Returns:
void
Throws:
-  

getStars

public java.util.Iterator getStars()
Overrides:
getStars in class Catalog2D
Returns:
Iterator
Throws:
-