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.ActiveLayerChangeListenerYou 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.ActiveLayerChangeListenere - The change event.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object