Package com.luciad.format.s52.gxy
Class TLcdS52GXYCatalogueLayerList
java.lang.Object
com.luciad.view.gxy.TLcdGXYLayerList
com.luciad.format.s52.gxy.TLcdS52GXYCatalogueLayerList
- All Implemented Interfaces:
ILcdPropertyChangeSource
,ILcdSelection<Object>
,ILcdGXYLayer
,ILcdGXYLayerList
,ILcdLayer
,Serializable
Deprecated.
The functionality of this class is replaced by TLcdS52GXYCatalogueLayer, which has a
simpler
structure and is more performant.
A layer list that adds support for accelerated multi-leveling. Its usage is not required
for correct painting of ECDIS data (it can be replaced by an ordinary
TLcdGXYLayerList), but it will reduce the rendering time significantly.
The overall modellist structure of an S-57 model:
TLcdModelList | +-- TLcdModelList (one for each level) | +-- TLcdModelList (one for each display priority) | +-- TLcdModelList (one for each feature type (point/line/area)) | +-- ILcdModel (one for each ENC cell)should be put in a similar layer list structure as follows:
TLcdS52GXYCatalogueLayerList | +-- TLcdS52GXYLevelLayerList (one for each level) | +-- TLcdGXYLayerList (one for each display priority) | +-- TLcdGXYLayer (one for each feature type (point/line/area))This layer list will take into account which areas of the view have already been painted in previous (higher) levels, reducing the number of cells that need to be painted (and thus loaded) in the next (lower) levels. This class uses S-57-specific objects, and should only be used for the visualization of S-57 models.
- See Also:
-
Field Summary
Fields inherited from class com.luciad.view.gxy.TLcdGXYLayerList
TRACEON
-
Constructor Summary
ConstructorDescriptionTLcdS52GXYCatalogueLayerList
(TLcdModelList aModelSet, ILcdGXYLayerFactory aLayerFactory) Deprecated.Creates a new catalogue layer list which will be initialized with the given modellist. -
Method Summary
Modifier and TypeMethodDescriptionint
applyOnInteract
(ILcdFunction aFunction, Rectangle aBounds, boolean aStrictInteract, ILcdGXYView aGXYView) Deprecated.Passes the function to apply to all of the visible sub layers as long as the function returns true for objects in that sublayer.void
paint
(Graphics aGraphics, int aMode, ILcdGXYView aGXYView) Deprecated.Paints all sublayers, one by one.Methods inherited from class com.luciad.view.gxy.TLcdGXYLayerList
addPropertyChangeListener, addSelectionListener, addSubGXYLayer, addSubGXYLayer, canAddSubGXYLayer, clearSelection, containsSubGXYLayer, fireCollectedSelectionChanges, firePropertyChange, getBounds, getGXYEditor, getGXYLabelPainter, getGXYPainter, getGXYPen, getIcon, getLabel, getLabelScaleRange, getModel, getModelXYWorldTransfoClass, getObjectInLayerFilter, getScaleRange, getSelectionCount, getSubGXYLayer, getSubGXYLayerCount, indexOf, insertSubGXYLayerAt, insertSubGXYLayerAt, isEditable, isEditableSupported, isLabeled, isLabeledSupported, isObjectInLayer, isSelectable, isSelectableSupported, isSelected, isVisible, moveSubGXYLayerAt, removeAllSubGXYLayers, removePropertyChangeListener, removeSelectionListener, removeSubGXYLayer, selectedObjects, selectObject, setEditable, setGXYPen, setIcon, setLabel, setLabeled, setSelectable, setVisible, stopPainting
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.view.gxy.ILcdGXYLayer
getLabelMapScaleRange, getMapScaleRange
Methods inherited from interface com.luciad.util.ILcdSelection
getSelectedObjects
-
Constructor Details
-
TLcdS52GXYCatalogueLayerList
Deprecated.Creates a new catalogue layer list which will be initialized with the given modellist.- Parameters:
aModelSet
- the modellist to set on this layer list.aLayerFactory
- the layer factory to be used for the generation of the sublayers.
-
-
Method Details
-
paint
Deprecated.Description copied from class:TLcdGXYLayerList
Paints all sublayers, one by one.- Specified by:
paint
in interfaceILcdGXYLayer
- Overrides:
paint
in classTLcdGXYLayerList
- Parameters:
aGraphics
- the Graphics to paint on.aMode
- indicates what should be painted and how it should be painted.aGXYView
- the view to paint for.- See Also:
-
applyOnInteract
public int applyOnInteract(ILcdFunction aFunction, Rectangle aBounds, boolean aStrictInteract, ILcdGXYView aGXYView) Deprecated.Description copied from class:TLcdGXYLayerList
Passes the function to apply to all of the visible sub layers as long as the function returns true for objects in that sublayer.- Specified by:
applyOnInteract
in interfaceILcdGXYLayer
- Overrides:
applyOnInteract
in classTLcdGXYLayerList
- Parameters:
aFunction
- the function to apply to all objects in the models of the sublayers. Note that this function may be wrapped and sublayers must not assume that this function is applied directly to them.aBounds
- the view bounds containing the objects to which the function will be applied.aStrictInteract
- whether or not only objects strictly interacting with the view bounds should be taken into accountaGXYView
- the view in which the objects are rendered.- Returns:
- the number of objects to which the function was applied.
- See Also:
-