jsky.catalog.gui
Class SymbolSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by jsky.catalog.gui.SymbolSelectionEvent
All Implemented Interfaces:
java.io.Serializable

public class SymbolSelectionEvent
extends java.util.EventObject

This event is generated when a catalog symbol is seletced or deselected.

Version:
$Revision: 1.1 $
Author:
Allan Brighton
See Also:
Serialized Form

Field Summary
protected  int row
          The catalog table data row corresponding to the symbol.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SymbolSelectionEvent(CanvasFigure fig, int row, TableQueryResult table)
          Create a SymbolSelectionEvent for the given figure, row and table data.
SymbolSelectionEvent(int row, TableQueryResult table)
          Create a SymbolSelectionEvent for the given row and table data.
 
Method Summary
 CanvasFigure getFigure()
          Return the figure for the event.
 int getRow()
          Return the catalog table data row corresponding to the symbol.
 TableQueryResult getTable()
          Return the table containing the data.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

row

protected int row
The catalog table data row corresponding to the symbol.

Constructor Detail

SymbolSelectionEvent

public SymbolSelectionEvent(CanvasFigure fig,
                            int row,
                            TableQueryResult table)
Create a SymbolSelectionEvent for the given figure, row and table data.

Parameters:
fig - the figure that was selected or deselected
row - the catalog table data row corresponding to the symbol
table - the table containing the data

SymbolSelectionEvent

public SymbolSelectionEvent(int row,
                            TableQueryResult table)
Create a SymbolSelectionEvent for the given row and table data.

Parameters:
row - the catalog table data row corresponding to the symbol
table - the table containing the data
Method Detail

getFigure

public CanvasFigure getFigure()
Return the figure for the event.


getRow

public int getRow()
Return the catalog table data row corresponding to the symbol.


getTable

public TableQueryResult getTable()
Return the table containing the data.