|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMapContent
SingleLayerMapContent
public class SingleLayerMapContent
Used by DefaultRenderingExecutor to hold a single Layer
that is being passed to a renderer. Calling the dispose
method of
this class does not dispose of the layer unlike MapContent.dispose().
It does not permit subsequent changes to its layer list.
Field Summary |
---|
Fields inherited from class MapContent |
---|
LOGGER, viewport |
Constructor Summary | |
---|---|
SingleLayerMapContent(Layer layer)
Creates a new instance to hold the given layer. |
Method Summary | |
---|---|
boolean |
addLayer(Layer layer)
Throws an UnsupportedOperationException if called. |
void |
dispose()
Does nothing. |
protected void |
finalize()
Does nothing. |
void |
moveLayer(int sourcePosition,
int destPosition)
Throws an UnsupportedOperationException if called. |
boolean |
removeLayer(Layer layer)
Throws an UnsupportedOperationException if called. |
Methods inherited from class Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleLayerMapContent(Layer layer)
layer
- the layer
IllegalArgumentException
- if layer
is null
Method Detail |
---|
public boolean addLayer(Layer layer)
UnsupportedOperationException
if called.
addLayer
in class MapContent
public void moveLayer(int sourcePosition, int destPosition)
UnsupportedOperationException
if called.
moveLayer
in class MapContent
sourcePosition
- existing position of the layerdestPosition
- new position of the layerpublic boolean removeLayer(Layer layer)
UnsupportedOperationException
if called.
removeLayer
in class MapContent
layer
- the layer to be removed
public void dispose()
dispose
in class MapContent
protected void finalize() throws Throwable
finalize
in class MapContent
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |