public class TLcyDataSourceEvent extends EventObject
HANDLING_STARTED
event that is fired, at the end the
HANDLING_ENDED
.ILcyDataSourceListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
HANDLING_ENDED
Indicates that the handling of the data sources is ended.
|
static int |
HANDLING_STARTED
Indicates that the handling of the data sources is started.
|
source
Constructor and Description |
---|
TLcyDataSourceEvent(Object source,
int aID,
ILcdDataSource[] aDataSources,
ILcyGenericMapComponent<? extends ILcdView,? extends ILcdLayer> aGeneralMapComponent)
Creates a new
TLcyDataSourceEvent . |
TLcyDataSourceEvent(Object source,
int aID,
String[] aDataSources,
ILcyGenericMapComponent<? extends ILcdView,? extends ILcdLayer> aGeneralMapComponent)
Creates a new
TLcyDataSourceEvent . |
Modifier and Type | Method and Description |
---|---|
ILcdDataSource[] |
getDataSourceObjects()
Returns the list of data source objects set in the data source constructor.
|
String[] |
getDataSources()
Returns the list of data source strings set in the string constructor.
|
int |
getID()
Gets the id of the event.
|
ILcyGenericMapComponent<? extends ILcdView,? extends ILcdLayer> |
getMapComponent()
Returns the
ILcyGenericMapComponent set in the constructor. |
getSource, toString
public static final int HANDLING_STARTED
public static final int HANDLING_ENDED
public TLcyDataSourceEvent(Object source, int aID, String[] aDataSources, ILcyGenericMapComponent<? extends ILcdView,? extends ILcdLayer> aGeneralMapComponent)
TLcyDataSourceEvent
.source
- The source of the event.aID
- The id of the event. Must be HANDLING_STARTED
or HANDLING_ENDED
.aDataSources
- The list of data sources (String) involved in the event.aGeneralMapComponent
- The general map component involved in the eventpublic TLcyDataSourceEvent(Object source, int aID, ILcdDataSource[] aDataSources, ILcyGenericMapComponent<? extends ILcdView,? extends ILcdLayer> aGeneralMapComponent)
TLcyDataSourceEvent
.source
- The source of the event.aID
- The id of the event. Must be HANDLING_STARTED
or HANDLING_ENDED
.aDataSources
- The list of data source objects (ILcdDataSource
) involved in the event.aGeneralMapComponent
- The general map component involved in the eventpublic ILcyGenericMapComponent<? extends ILcdView,? extends ILcdLayer> getMapComponent()
ILcyGenericMapComponent
set in the constructor.ILcyGenericMapComponent
set in the constructor.public int getID()
public String[] getDataSources()
TLcyDataSourceEvent(Object, int, com.luciad.model.ILcdDataSource[], com.luciad.lucy.map.ILcyGenericMapComponent)
public ILcdDataSource[] getDataSourceObjects()
TLcyDataSourceEvent(Object, int, com.luciad.model.ILcdDataSource[], com.luciad.lucy.map.ILcyGenericMapComponent)