public class TLcdS52GXYCatalogueLayerList extends TLcdGXYLayerList
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.
|Constructor and Description|
Creates a new catalogue layer list which will be initialized with the given modellist.
|Modifier and Type||Method and Description|
Passes the function to apply to all of the visible sub layers as long as the function returns true for objects in that sublayer.
Paints all sublayers, one by one.
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TLcdS52GXYCatalogueLayerList(TLcdModelList aModelSet, ILcdGXYLayerFactory aLayerFactory)
aModelSet- the modellist to set on this layer list.
aLayerFactory- the layer factory to be used for the generation of the sublayers.
public void paint(java.awt.Graphics aGraphics, int aMode, ILcdGXYView aGXYView)
aGraphics- the Graphics to paint on.
aMode- indicates what should be painted and how it should be painted.
aGXYView- the view to paint for.
public int applyOnInteract(ILcdFunction aFunction, java.awt.Rectangle aBounds, boolean aStrictInteract, ILcdGXYView aGXYView)
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 account
aGXYView- the view in which the objects are rendered.
ILcdGXYLayer.applyOnInteract(com.luciad.util.ILcdFunction, java.awt.Rectangle, boolean, ILcdGXYView)