NASA World Wind

gov.nasa.worldwindx.applications.dataimporter
Class FileStoreSectorHighlighter

java.lang.Object
  extended by gov.nasa.worldwindx.applications.dataimporter.FileStoreSectorHighlighter
All Implemented Interfaces:
SelectListener, EventListener, ListSelectionListener

public class FileStoreSectorHighlighter
extends Object
implements ListSelectionListener, SelectListener

Highlights a filestore data set by showing its bounding sector.


Field Summary
protected  FileStorePanel fileStorePanel
           
protected static String SECTOR_LAYER
           
protected  WorldWindow wwd
           
 
Constructor Summary
FileStoreSectorHighlighter(WorldWindow wwd, FileStorePanel panel)
           
 
Method Summary
protected  Layer createSectorLayer(FileStoreDataSet dataSet)
           
protected  void handleSelection(List<FileStoreDataSet> selectedDataSets)
           
protected  Sector highlightSelectedSets(List<FileStoreDataSet> dataSets)
           
protected  void populateLayer(FileStoreDataSet dataSet, RenderableLayer layer)
           
 void selected(SelectEvent event)
           
protected  void unHighlightSelectedSets()
           
 void valueChanged(ListSelectionEvent listSelectionEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileStorePanel

protected FileStorePanel fileStorePanel

SECTOR_LAYER

protected static final String SECTOR_LAYER
See Also:
Constant Field Values

wwd

protected WorldWindow wwd
Constructor Detail

FileStoreSectorHighlighter

public FileStoreSectorHighlighter(WorldWindow wwd,
                                  FileStorePanel panel)
Method Detail

createSectorLayer

protected Layer createSectorLayer(FileStoreDataSet dataSet)

handleSelection

protected void handleSelection(List<FileStoreDataSet> selectedDataSets)

highlightSelectedSets

protected Sector highlightSelectedSets(List<FileStoreDataSet> dataSets)

populateLayer

protected void populateLayer(FileStoreDataSet dataSet,
                             RenderableLayer layer)

selected

public void selected(SelectEvent event)
Specified by:
selected in interface SelectListener

unHighlightSelectedSets

protected void unHighlightSelectedSets()

valueChanged

public void valueChanged(ListSelectionEvent listSelectionEvent)
Specified by:
valueChanged in interface ListSelectionListener

NASA World Wind