|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.datasource.IlvMapDataSource
ilog.views.maps.datasource.IlvHierarchicalDataSource
ilog.views.maps.datasource.IlvSplitDataSource
public class IlvSplitDataSource
This data source sorts all the graphical objects stored in a specific map layer. It creates a new tree from the map layers, according to the selection made by the criterion filter. This data source goes through all the objects in the manager layer, using the criterion filter to return a value. Each different value found triggers the creation of a single map layer in the layer tree.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ilog.views.maps.datasource.IlvHierarchicalDataSource |
|---|
IlvHierarchicalDataSource.CriterionFilter, IlvHierarchicalDataSource.SingleAttributeFilter |
| Field Summary |
|---|
| Fields inherited from class ilog.views.maps.datasource.IlvHierarchicalDataSource |
|---|
featureIterator, filename, nameMap, styleMap |
| Fields inherited from class ilog.views.maps.datasource.IlvMapDataSource |
|---|
renderer, usingGeodeticComputation |
| Constructor Summary | |
|---|---|
IlvSplitDataSource(IlvInputStream stream)
Creates an IlvSplitDataSource by reading its parameters from the stream. |
|
IlvSplitDataSource(IlvMapLayer sourceLayer,
IlvHierarchicalDataSource.CriterionFilter filter)
Creates an IlvSplitDataSource from objects in a map layer, according to the
criterion filter. |
|
| Method Summary | |
|---|---|
IlvMapReusableFeatureIterator |
getFeatureIterator()
Retrieves the feature iterator used by this data source. |
IlvFeatureRenderer |
getFeatureRenderer(IlvMapFeature feature)
Gets the appropriate feature renderer for the specified IlvMapFeature. |
IlvThreadMonitoringData |
getMonitoringData()
Returns the monitorData. |
void |
reset()
Resets the data source and prepares it for reloading. |
void |
setMonitoringData(IlvThreadMonitoringData monitorData)
Sets the monitorData. |
void |
write(IlvOutputStream stream)
Writes an IlvSplitDataSource into an
IlvOutputStream. |
| Methods inherited from class ilog.views.maps.datasource.IlvHierarchicalDataSource |
|---|
addCriterionFilter, addLayer, createFeatureRenderer, createInsertionLayer, getCriterionFilters, getFeatureRenderer, getKey, getMapLayer, getStyle, isAcceptNullValues, readInfo, removeAllCriterionFilters, removeCriterionFilter, setAcceptNullValues, setupLayer, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlvSplitDataSource(IlvInputStream stream)
throws IlvReadFileException
IlvSplitDataSource by reading its parameters from the stream.
stream - The stream to read from.
IlvReadFileException
public IlvSplitDataSource(IlvMapLayer sourceLayer,
IlvHierarchicalDataSource.CriterionFilter filter)
throws MalformedURLException
IlvSplitDataSource from objects in a map layer, according to the
criterion filter.
sourceLayer - The IlvMapLayer containing the IlvMapGraphic to split.filter - The criterion filter used to split data with the same id apart.
MalformedURLException| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvSplitDataSource into an
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvHierarchicalDataSourcestream - The stream to write to.
IOExceptionpublic void reset()
reset in class IlvHierarchicalDataSourceIlvMapDataSource.reset()public IlvMapReusableFeatureIterator getFeatureIterator()
getFeatureIterator in class IlvHierarchicalDataSourceIlvHierarchicalDataSource.getFeatureIterator()
public IlvFeatureRenderer getFeatureRenderer(IlvMapFeature feature)
throws Exception
IlvMapFeature.
getFeatureRenderer in class IlvHierarchicalDataSourcefeature - the feature to render.
IlvFeatureRenderer.
Exception - if a feature renderer does not exist for the specified IlvMapFeature.IlvHierarchicalDataSource.getFeatureRenderer(ilog.views.maps.IlvMapFeature)public IlvThreadMonitoringData getMonitoringData()
monitorData.
monitorData.public void setMonitoringData(IlvThreadMonitoringData monitorData)
monitorData.
monitorData - The monitorData to set.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||