Interface LayerOrderManager
- All Superinterfaces:
Cloneable,org.gvsig.tools.persistence.Persistent
This manager will decide the position where layers (
FLayer)
are added to a layer collection (FLayers)- Author:
- gvSIG Team
-
Method Summary
Methods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToState
-
Method Details
-
getPosition
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.
- Parameters:
target- The target collection to whichnewLayerwill be addednewLayer- The layer to be inserted in the layer collection- Returns:
- The proposed position for the new layer
-
getName
String getName()Gets the name. The name should identify the policy followed by this OrderManager to sort the layers.
- Returns:
- The name of the OrderManager
-
getDescription
String getDescription()Gets the description. The description should be enough to get an idea of the policy and features of this OrderManager.
- Returns:
- The description of the OrderManager
-
getCode
String getCode()Gets the code used to register this OrderManager.
- Returns:
- The code used to register this orderManager
-
clone
- Throws:
CloneNotSupportedException
-