public abstract class LayerCreator extends java.lang.Object implements java.lang.Comparable<LayerCreator>
Provider.AFTERINSTALL_ONLY_NEW_MAPS
status for their installation.| Modifier | Constructor and Description |
|---|---|
protected |
LayerCreator(int layerZOrder)
Create a LayerCreator object with the specified Z order value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LayerCreator o)
Compares this object with the specified object for order.
|
void |
doPostProcForLayer(com.bbn.openmap.MapBean mapBean,
com.bbn.openmap.Layer newlyCreatedLayer)
Does any post-processing needed after the Layer obtained from the
getLayer(MapBean, GeoMapGuiIfc2, MouseDelegator, Preferences)
method is added to the MapHandler. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
abstract com.bbn.openmap.Layer |
getLayer(com.bbn.openmap.MapBean mapBean,
GeoMapGuiIfc2 geoMapGuiIfc2,
com.bbn.openmap.MouseDelegator mouseDelegator,
java.util.prefs.Preferences prefs)
Create a layer object using the specified context values.
|
protected LayerCreator(int layerZOrder)
layerZOrder - int Z order value, arbitrary value with higher numbers added later to the mappublic abstract com.bbn.openmap.Layer getLayer(com.bbn.openmap.MapBean mapBean,
GeoMapGuiIfc2 geoMapGuiIfc2,
com.bbn.openmap.MouseDelegator mouseDelegator,
java.util.prefs.Preferences prefs)
mapBean - MapBean which will contain the generated LayergeoMapGuiIfc2 - GeoMapGuiIfc2 implementing object containing the MapBeanmouseDelegator - MouseDelegator for the MapBeanprefs - Preferences object for this profile of YAACpublic void doPostProcForLayer(com.bbn.openmap.MapBean mapBean,
com.bbn.openmap.Layer newlyCreatedLayer)
getLayer(MapBean, GeoMapGuiIfc2, MouseDelegator, Preferences)
method is added to the MapHandler. By default, this does nothing.mapBean - MapBean newly containing the LayernewlyCreatedLayer - the newly added Layerpublic final int compareTo(LayerCreator o)
compareTo in interface java.lang.Comparable<LayerCreator>o - the object to be compared.java.lang.ClassCastException - if the specified object's type prevents it
from being compared to this object.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare.true if this object is the same as the obj
argument; false otherwise.