private final class ImageryProvidersPanel.DefListSelectionListener extends java.lang.Object implements javax.swing.event.ListSelectionListener
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.util.List<MapPolygon>> |
mapPolygons |
private java.util.Map<java.lang.Integer,MapRectangle> |
mapRectangles |
Modifier | Constructor and Description |
---|---|
private |
DefListSelectionListener() |
Modifier and Type | Method and Description |
---|---|
private void |
cleanupResidualBounds() |
private void |
clearMap() |
private <T> void |
doCleanupResidualBounds(java.util.Map<java.lang.Integer,T> map,
java.util.function.Consumer<T> removalEffect) |
private void |
updateBoundsAndShapes(int i)
update bounds and shapes for a new entry
|
void |
valueChanged(javax.swing.event.ListSelectionEvent e) |
private final java.util.Map<java.lang.Integer,MapRectangle> mapRectangles
private final java.util.Map<java.lang.Integer,java.util.List<MapPolygon>> mapPolygons
private DefListSelectionListener()
private void clearMap()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
private void updateBoundsAndShapes(int i)
i
- model indexprivate <T> void doCleanupResidualBounds(java.util.Map<java.lang.Integer,T> map, java.util.function.Consumer<T> removalEffect)
private void cleanupResidualBounds()