public interface LayerOrderManager extends Persistent, Cloneable
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getCode()
Gets the code used to register this OrderManager.
|
String |
getDescription()
Gets the description.
|
String |
getName()
Gets the name.
|
int |
getPosition(FLayers target,
FLayer newLayer)
Gets the proposed position for the newLayer in the target layer
collection.
|
loadFromState, saveToState
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 collectionString getName()
Gets the name. The name should identify the policy followed by this OrderManager to sort the layers.
String getDescription()
Gets the description. The description should be enough to get an idea of the policy and features of this OrderManager.
String getCode()
Gets the code used to register this OrderManager.
Object clone() throws CloneNotSupportedException
CloneNotSupportedException