public interface LayerOrderManager
extends org.gvsig.tools.persistence.Persistent, java.lang.Cloneable
FLayer
)
are added to a layer collection (FLayers
)Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getCode()
Gets the code used to register this OrderManager.
|
java.lang.String |
getDescription()
Gets the description.
|
java.lang.String |
getName()
Gets the name.
|
int |
getPosition(FLayers target,
FLayer newLayer)
Gets the proposed position for the newLayer in the target layer
collection.
|
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
java.lang.String getCode()
Gets the code used to register this OrderManager.
java.lang.String getDescription()
Gets the description. The description should be enough to get an idea of the policy and features of this OrderManager.
java.lang.String getName()
Gets the name. The name should identify the policy followed by this OrderManager to sort the layers.
int getPosition(FLayers target, FLayer newLayer)
Gets the proposed position for the newLayer in the target layer collection. The OrderManager will study the arrangement of the target layer collection and will decide the right position for the new layer, according to its own criterion.
target
- The target collection to which newLayer
will be addednewLayer
- The layer to be inserted in the layer collectionCopyright © 2013 gvSIG Association. All rights reserved.