|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventObject
MapLayerListEvent
public class MapLayerListEvent
Event object used to report changes in the list of layers managed by a MapContext
Field Summary |
---|
Fields inherited from class EventObject |
---|
source |
Constructor Summary | |
---|---|
MapLayerListEvent(MapContent map,
Layer element,
int index)
|
|
MapLayerListEvent(MapContent map,
Layer element,
int fromIndex,
int toIndex)
|
|
MapLayerListEvent(MapContent map,
Layer element,
int index,
MapLayerEvent mapLayerEvent)
|
|
MapLayerListEvent(MapContext source,
MapLayer layer,
int position)
Creates a new instance of MapLayerListEvent |
|
MapLayerListEvent(MapContext source,
MapLayer layer,
int fromIndex,
int toIndex)
Creates a new instance of MapLayerListEvent |
|
MapLayerListEvent(MapContext source,
MapLayer layer,
int position,
MapLayerEvent mapLayerEvent)
Creates a new instance of MapLayerListEvent passing on an event from a layer. |
Method Summary | |
---|---|
Layer |
getElement()
Returns the layer involved in the change |
int |
getFromIndex()
Returns the index of the first layer involved in the change |
MapLayer |
getLayer()
Return the layer involved in the change. |
MapLayerEvent |
getMapLayerEvent()
Returns the map layer event that originated this layer list event |
int |
getToIndex()
Returns the index of the last layer involved in the change |
Methods inherited from class EventObject |
---|
getSource, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MapLayerListEvent(MapContext source, MapLayer layer, int fromIndex, int toIndex)
source
- DOCUMENT ME!layer
- DOCUMENT ME!fromIndex
- DOCUMENT ME!toIndex
- DOCUMENT ME!public MapLayerListEvent(MapContext source, MapLayer layer, int position)
source
- Map issuing the eventlayer
- Layer being reported against; may be nullposition
- index modified in layer listpublic MapLayerListEvent(MapContext source, MapLayer layer, int position, MapLayerEvent mapLayerEvent)
source
- Map issuing the eventlayer
- Layer issuing the eventposition
- Position in the layer listmapLayerEvent
- Event provided from the layerpublic MapLayerListEvent(MapContent map, Layer element, int index)
public MapLayerListEvent(MapContent map, Layer element, int fromIndex, int toIndex)
public MapLayerListEvent(MapContent map, Layer element, int index, MapLayerEvent mapLayerEvent)
Method Detail |
---|
public Layer getElement()
public MapLayer getLayer()
public int getFromIndex()
public int getToIndex()
public MapLayerEvent getMapLayerEvent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |