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 FileStorePanelfileStorePanelprotected static java.lang.StringSECTOR_LAYERprotected WorldWindowwwd
-
Constructor Summary
Constructors Constructor Description FileStoreSectorHighlighter(WorldWindow wwd, FileStorePanel panel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LayercreateSectorLayer(FileStoreDataSet dataSet)protected voidhandleSelection(java.util.List<FileStoreDataSet> selectedDataSets)protected SectorhighlightSelectedSets(java.util.List<FileStoreDataSet> dataSets)protected voidpopulateLayer(FileStoreDataSet dataSet, RenderableLayer layer)voidselected(SelectEvent event)protected voidunHighlightSelectedSets()voidvalueChanged(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:
valueChangedin 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:
selectedin interfaceSelectListener
-
-