net.simplace.ui.panel.FWAtlasMapLegendJScrollPaneWrapper

This JScrollPane optionally wraps a org.geopublishing.atlasViewer.swing.MapLegend or a org.geopublishing.atlasViewer.swing.AtlasMapLegend.
If the constructor is call with a org.geopublishing.atlasViewer.map.Map == null or org.geopublishing.atlasViewer.AtlasConfig == null, a org.geopublishing.atlasViewer.swing.MapLegend is created which works on the de.schmitzm.geotools.styling.StyledLayerInterface.
Otherwise an org.geopublishing.atlasViewer.swing.AtlasMapLegend is used. org.geopublishing.atlasViewer.swing.AtlasMapLegendAtlasLayerPanels have a reference to a org.geopublishing.atlasViewer.map.Map and a org.geopublishing.atlasViewer.AtlasConfig of the atlas that is shown.


public class FWAtlasMapLegendJScrollPaneWrapper extends javax.swing.JScrollPane
implements de.schmitzm.geotools.MapContextManagerInterface {
// Public Constructors
public FWAtlasMapLegendJScrollPaneWrapper(GeoMapPane gmp, MapPaneToolBar
mapPaneToolBar);
public FWAtlasMapLegendJScrollPaneWrapper(GeoMapPane gmp, Map map,
AtlasConfig ac, MapPaneToolBar mapPaneToolBar);


// Public Instance Methods
public MapLegend getMapLegend();

Returns the org.geopublishing.atlasViewer.swing.MapLegend hold by this wrapper.
public void addMapLayerListListener(MapLayerListListener listener);
// From de.schmitzm.geotools.MapContextManagerInterface


public boolean addStyledLayer(StyledLayerInterface styledLayer);
// From de.schmitzm.geotools.MapContextManagerInterface


public void dispose(); // From
de.schmitzm.geotools.MapContextManagerInterface


public String getDescFor(MapLayer layer); // From
de.schmitzm.geotools.MapContextManagerInterface


public RasterLegendData getLegendMetaData(MapLayer layer);
// From de.schmitzm.geotools.MapContextManagerInterface


public List getStyledObjects(); // From
de.schmitzm.geotools.MapContextManagerInterface


public String getTitleFor(MapLayer layer);
// From de.schmitzm.geotools.MapContextManagerInterface


public List getVisibleAttribsFor(MapLayer layer);
// From de.schmitzm.geotools.MapContextManagerInterface


public boolean insertStyledLayer(StyledLayerInterface styledLayer, int idx);
// From de.schmitzm.geotools.MapContextManagerInterface


public void removeMapLayerListListener(MapLayerListListener listener);
// From de.schmitzm.geotools.MapContextManagerInterface


public boolean removeStyledLayer(int mapContextIdx);
// From de.schmitzm.geotools.MapContextManagerInterface


public StyledLayerInterface getStyledObjectFor(MapLayer layer);
// From de.schmitzm.geotools.MapContextManagerInterface


public MapContext getMapContext(); // From
de.schmitzm.geotools.MapContextManagerInterface



returns The {@link MapContext} managed by this {@link MapContextManagerInterface}


}



Hierarchy: java.lang.Object - java.awt.Component (java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) - java.awt.Container - javax.swing.JComponent (java.io.Serializable, javax.swing.TransferHandler.HasGetTransferHandler) - javax.swing.JScrollPane (javax.swing.ScrollPaneConstants, javax.accessibility.Accessible) - FWAtlasMapLegendJScrollPaneWrapper (de.schmitzm.geotools.MapContextManagerInterface)