public interface ILcyGXYLayerOrderManager
The manager must work both actively and passively: the layers can be added using its insertGXYLayer method or they can simply be added to the associated gxy view without further notice.
Modifier and Type | Method and Description |
---|---|
boolean |
canMoveGXYLayerDown(ILcdGXYLayer aGXYLayer)
Returns true if the given gxy layer can be moved down without violating
the layer ordering.
|
boolean |
canMoveGXYLayerUp(ILcdGXYLayer aGXYLayer)
Returns true if the given gxy layer can be moved up without violating the
layer ordering.
|
ILcdGXYView |
getGXYView()
Return the gxy view associated with this layer order manager.
|
void |
insertGXYLayer(ILcdGXYLayer aGXYLayer,
int aGXYLayerType,
int aModelType)
Method to insert the given layer to the given gxy view.
|
void |
moveLayerBottom(ILcdGXYLayer aGXYLayer)
Moves the given layer to the bottom of the view, but respects the layer
ordering.
|
void |
moveLayerDown(ILcdGXYLayer aGXYLayer)
Moves the given layer downwards.
|
void |
moveLayerTop(ILcdGXYLayer aGXYLayer)
Moves the given layer to the top of the view, but respects the layer
ordering.
|
void |
moveLayerUp(ILcdGXYLayer aGXYLayer)
Moves the given layer upwards.
|
ILcdGXYView getGXYView()
void insertGXYLayer(ILcdGXYLayer aGXYLayer, int aGXYLayerType, int aModelType)
aGXYLayer
- The layer to insert.aGXYLayerType
- The layer type of the layer.aModelType
- The model type of the model of the layer.boolean canMoveGXYLayerUp(ILcdGXYLayer aGXYLayer)
aGXYLayer
- The layer to test.boolean canMoveGXYLayerDown(ILcdGXYLayer aGXYLayer)
aGXYLayer
- The layer to test.void moveLayerUp(ILcdGXYLayer aGXYLayer)
This method should only be called if canMoveGXYLayerUp for the same layer returns true.
aGXYLayer
- The layer to move.canMoveGXYLayerUp(com.luciad.view.gxy.ILcdGXYLayer)
void moveLayerDown(ILcdGXYLayer aGXYLayer)
This method should only be called if canMoveGXYLayerDown for the same layer returns true.
aGXYLayer
- The layer to move.canMoveGXYLayerDown(com.luciad.view.gxy.ILcdGXYLayer)
void moveLayerTop(ILcdGXYLayer aGXYLayer)
This method should only be called if canMoveGXYLayerUp for the same layer returns true.
aGXYLayer
- The layer to move.canMoveGXYLayerUp(com.luciad.view.gxy.ILcdGXYLayer)
void moveLayerBottom(ILcdGXYLayer aGXYLayer)
This method should only be called if canMoveGXYLayerDown for the same layer returns true.
aGXYLayer
- The layer to move.canMoveGXYLayerDown(com.luciad.view.gxy.ILcdGXYLayer)