sonification.dataimport.visbards_resourcetoolkit.model
Class CoordinateModeManager

java.lang.Object
  extended by sonification.dataimport.visbards_resourcetoolkit.model.CoordinateModeManager
All Implemented Interfaces:
DatasetContainerListener

public class CoordinateModeManager
extends java.lang.Object
implements DatasetContainerListener


Field Summary
static int EARTH_CENTRIC
           
static int HELIO_CENTRIC
           
static java.lang.String[] TYPE_NAMES
           
static int UNKNOWN
           
 
Constructor Summary
CoordinateModeManager(DatasetContainer cont)
           
 
Method Summary
 void addListener(CoordinateModeManagerListener listener)
          Registers a listener.
 void datasetAdded(DatasetContainer source, Dataset set)
          Indicates that a dataset has been added to the container.
 void datasetRemoved(DatasetContainer source, Dataset set)
          Indicates that a dataset has been removed from the container.
 void encompasingTimeRangesChanged(DatasetContainer source)
          Indicates that time ranges of some datasets have changed.
 int getMode()
           
 void removeListener(CoordinateModeManagerListener listener)
          Unregisters a listener.
 void selectedGlyphChanged(DatasetContainer source, Dataset set)
          Indicates that selected glyph has changed in one of the attached datasets.
 boolean verifyCenterType(int centricity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELIO_CENTRIC

public static final int HELIO_CENTRIC
See Also:
Constant Field Values

EARTH_CENTRIC

public static final int EARTH_CENTRIC
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

TYPE_NAMES

public static final java.lang.String[] TYPE_NAMES
Constructor Detail

CoordinateModeManager

public CoordinateModeManager(DatasetContainer cont)
Method Detail

getMode

public int getMode()

verifyCenterType

public boolean verifyCenterType(int centricity)

addListener

public void addListener(CoordinateModeManagerListener listener)
Registers a listener.


removeListener

public void removeListener(CoordinateModeManagerListener listener)
Unregisters a listener.


datasetAdded

public void datasetAdded(DatasetContainer source,
                         Dataset set)
Indicates that a dataset has been added to the container.

Specified by:
datasetAdded in interface DatasetContainerListener

datasetRemoved

public void datasetRemoved(DatasetContainer source,
                           Dataset set)
Indicates that a dataset has been removed from the container.

Specified by:
datasetRemoved in interface DatasetContainerListener

encompasingTimeRangesChanged

public void encompasingTimeRangesChanged(DatasetContainer source)
Indicates that time ranges of some datasets have changed.

Specified by:
encompasingTimeRangesChanged in interface DatasetContainerListener

selectedGlyphChanged

public void selectedGlyphChanged(DatasetContainer source,
                                 Dataset set)
Indicates that selected glyph has changed in one of the attached datasets.

Specified by:
selectedGlyphChanged in interface DatasetContainerListener