|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.map.Layer com.esri.map.MessageGroupLayer
public class MessageGroupLayer
This class is used with the MessageProcessor
class to
display the graphics associated with processed messages.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.esri.map.Layer |
---|
Layer.LayerStatus |
Field Summary | |
---|---|
protected List<Layer> |
innerLayers
|
Fields inherited from class com.esri.map.Layer |
---|
_credentials, _progress, _resolutionList, serviceInfo |
Constructor Summary | |
---|---|
MessageGroupLayer(SymbolDictionary.DictionaryType type)
Instantiates a new message group layer along with a new MessageProcessor
for the given SymbolDictionary.DictionaryType . |
|
MessageGroupLayer(SymbolDictionary.DictionaryType type,
String symbolDictionaryPath)
Instantiates a new message group layer along with a new MessageProcessor
for the given SymbolDictionary.DictionaryType . |
Method Summary | |
---|---|
boolean |
contains(Layer layer)
|
protected void |
createNativeLayer()
|
protected boolean |
doesExist(com.esri.map.GroupLayerBase grouplayer,
Layer checklayer)
|
protected void |
finalize()
|
Layer |
get(int index)
Returns the layer for the given index position. |
long |
getAddGraphicsLayerRequestCallbackHandle()
Gets the handle of the add graphics layer request callback handle. |
SpatialReference |
getDefaultSpatialReference()
Gets the defaultSpatialReference of the Layer. |
Envelope |
getFullExtent()
Returns the full extent of the layer. |
long |
getID()
Return the Layer runtime ID which is a long integer. |
Layer |
getLayer(String layername)
Returns the layer for the given layer name. |
Layer[] |
getLayers()
Returns the direct sublayers in an array. |
LayerLegendInfoCollection |
getLegend()
|
double |
getMaxScale()
Gets the maximum scale at which this layer will be displayed. |
MessageProcessor |
getMessageProcessor()
Get the message processor created by this class. |
double |
getMinScale()
Gets the minimum scale at which this layer will be displayed. |
protected void |
graphicsLayerAddRequest(String layerName,
int index)
|
protected void |
init(boolean isVisible,
int[] visibleLayers,
String title,
float opacity)
This method is called only when composing a Map from a Web Map. |
protected void |
initializeNativeLayer()
|
protected int |
internalAdd(Layer layer)
|
protected boolean |
internalAddLayerAt(Layer layer,
int index)
|
protected void |
internalInit()
|
boolean |
isEmpty()
|
void |
recycle()
Releases resources referenced by the Layer so that they can be recycled. |
protected void |
recycleLayers()
|
protected void |
setDefaultSpatialReference(SpatialReference defaultSpatialReference)
Sets the defaultSpatialReference of the Layer. |
protected void |
setMap(JMap parent)
Every layer is provided a reference to the parent JComponent that contains that layer. |
void |
setOpacity(float opacity)
Sets the opacity of the GroupLayer, it will change all opacity of it sublayers. |
int |
size()
Returns the size of the group layer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final List<Layer> innerLayers
Constructor Detail |
---|
public MessageGroupLayer(SymbolDictionary.DictionaryType type)
MessageProcessor
for the given SymbolDictionary.DictionaryType
. This group layer will be automatically
associated with the message processor instance.
type
- the type of message processor to create.public MessageGroupLayer(SymbolDictionary.DictionaryType type, String symbolDictionaryPath)
MessageProcessor
for the given SymbolDictionary.DictionaryType
. A path to the symbol dictionary to be used
can also be specified. If no symbol dictionary path is specified, the system
default will be used.
type
- the type of message processor to create.symbolDictionaryPath
- the symbol dictionary pathMethod Detail |
---|
public long getAddGraphicsLayerRequestCallbackHandle()
public MessageProcessor getMessageProcessor()
MessageProcessor
instance created by this class.public void recycle()
Layer
protected void finalize() throws Throwable
Throwable
protected void createNativeLayer()
public Layer[] getLayers()
public Layer getLayer(String layername)
layername
- a layer name string
public Layer get(int index)
index
- an integer for layer position.
public boolean isEmpty()
public boolean contains(Layer layer)
public int size()
public void setOpacity(float opacity)
setOpacity
in class Layer
opacity
- the opacity to set.public Envelope getFullExtent()
getFullExtent
in class Layer
public SpatialReference getDefaultSpatialReference()
getDefaultSpatialReference
in class Layer
public long getID()
public double getMinScale()
Layer
getMinScale
in class Layer
public double getMaxScale()
Layer
getMaxScale
in class Layer
public LayerLegendInfoCollection getLegend()
getLegend
in class Layer
protected void internalInit()
internalInit
in class Layer
protected void setDefaultSpatialReference(SpatialReference defaultSpatialReference)
setDefaultSpatialReference
in class Layer
defaultSpatialReference
- The defaultSpatialReference to set.protected int internalAdd(Layer layer)
layer
-
protected boolean internalAddLayerAt(Layer layer, int index)
layer
- index
-
protected boolean doesExist(com.esri.map.GroupLayerBase grouplayer, Layer checklayer)
protected void recycleLayers()
protected void graphicsLayerAddRequest(String layerName, int index)
protected void init(boolean isVisible, int[] visibleLayers, String title, float opacity)
Layer
init
in class Layer
protected void initializeNativeLayer()
initializeNativeLayer
in class Layer
protected void setMap(JMap parent)
Layer
setMap
in class Layer
parent
- the new parent component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |