protected static class MapView.EditLayerChangeAdapter extends java.lang.Object implements MainLayerManager.ActiveLayerChangeListener
New implementations should use MainLayerManager.ActiveLayerChangeListener
Modifier and Type | Field and Description |
---|---|
private MapView.EditLayerChangeListener |
wrapped |
Constructor and Description |
---|
EditLayerChangeAdapter(MapView.EditLayerChangeListener wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
activeOrEditLayerChanged(MainLayerManager.ActiveLayerChangeEvent e)
Called whenever the active or edit layer changed.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
private final MapView.EditLayerChangeListener wrapped
public EditLayerChangeAdapter(MapView.EditLayerChangeListener wrapped)
public void activeOrEditLayerChanged(MainLayerManager.ActiveLayerChangeEvent e)
MainLayerManager.ActiveLayerChangeListener
You can be sure that this layer is still contained in this set.
Listeners are called in the EDT thread and you can manipulate the layer manager in the current thread.
activeOrEditLayerChanged
in interface MainLayerManager.ActiveLayerChangeListener
e
- The change event.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object