Class FileStoreSectorHighlighter
- java.lang.Object
-
- gov.nasa.worldwindx.applications.dataimporter.FileStoreSectorHighlighter
-
- All Implemented Interfaces:
SelectListener
,java.util.EventListener
,javax.swing.event.ListSelectionListener
public class FileStoreSectorHighlighter extends java.lang.Object implements javax.swing.event.ListSelectionListener, SelectListener
Highlights a filestore data set by showing its bounding sector.
-
-
Field Summary
Fields Modifier and Type Field Description protected FileStorePanel
fileStorePanel
protected static java.lang.String
SECTOR_LAYER
protected WorldWindow
wwd
-
Constructor Summary
Constructors Constructor Description FileStoreSectorHighlighter(WorldWindow wwd, FileStorePanel panel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Layer
createSectorLayer(FileStoreDataSet dataSet)
protected void
handleSelection(java.util.List<FileStoreDataSet> selectedDataSets)
protected Sector
highlightSelectedSets(java.util.List<FileStoreDataSet> dataSets)
protected void
populateLayer(FileStoreDataSet dataSet, RenderableLayer layer)
void
selected(SelectEvent event)
protected void
unHighlightSelectedSets()
void
valueChanged(javax.swing.event.ListSelectionEvent listSelectionEvent)
-
-
-
Field Detail
-
SECTOR_LAYER
protected static final java.lang.String SECTOR_LAYER
- See Also:
- Constant Field Values
-
fileStorePanel
protected FileStorePanel fileStorePanel
-
wwd
protected WorldWindow wwd
-
-
Constructor Detail
-
FileStoreSectorHighlighter
public FileStoreSectorHighlighter(WorldWindow wwd, FileStorePanel panel)
-
-
Method Detail
-
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent listSelectionEvent)
- Specified by:
valueChanged
in interfacejavax.swing.event.ListSelectionListener
-
handleSelection
protected void handleSelection(java.util.List<FileStoreDataSet> selectedDataSets)
-
unHighlightSelectedSets
protected void unHighlightSelectedSets()
-
highlightSelectedSets
protected Sector highlightSelectedSets(java.util.List<FileStoreDataSet> dataSets)
-
createSectorLayer
protected Layer createSectorLayer(FileStoreDataSet dataSet)
-
populateLayer
protected void populateLayer(FileStoreDataSet dataSet, RenderableLayer layer)
-
selected
public void selected(SelectEvent event)
- Specified by:
selected
in interfaceSelectListener
-
-