Class PGisLayer

java.lang.Object
org.piccolo2d.PNode
org.piccolo2d.PLayer
repast.simphony.gis.display.PGisLayer
All Implemented Interfaces:
Printable, Serializable, Cloneable, EventListener, org.geotools.map.MapLayerListener

public class PGisLayer extends org.piccolo2d.PLayer implements org.geotools.map.MapLayerListener
Deprecated.
2D piccolo based code is being removed
This represents a FeatureLayer as an image. Each layer is inserted as a node into the PCanvas.
Author:
Tom Howe, Eric Tatara
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Deprecated.
     

    Nested classes/interfaces inherited from class org.piccolo2d.PNode

    org.piccolo2d.PNode.PSceneGraphDelegate
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected simphony.util.messages.MessageCenter
    Deprecated.
     
    protected org.geotools.map.MapContent
    Deprecated.
     
    protected boolean
    Deprecated.
     
    protected BufferedImage
    Deprecated.
     
    protected boolean
    Deprecated.
     
    protected org.geotools.map.Layer
    Deprecated.
     
    protected org.locationtech.jts.geom.Envelope
    Deprecated.
     
    protected org.geotools.map.MapContent
    Deprecated.
     
    protected org.piccolo2d.nodes.PImage
    Deprecated.
     
    protected Rectangle
    Deprecated.
     
    protected org.geotools.renderer.GTRenderer
    Deprecated.
     
    protected double
    Deprecated.
     
    protected AffineTransform
    Deprecated.
     

    Fields inherited from class org.piccolo2d.PLayer

    PROPERTY_CAMERAS, PROPERTY_CODE_CAMERAS

    Fields inherited from class org.piccolo2d.PNode

    FILL_STRATEGY_ASPECT_COVER, FILL_STRATEGY_ASPECT_FIT, FILL_STRATEGY_EXACT_FIT, PROPERTY_BOUNDS, PROPERTY_CHILDREN, PROPERTY_CHILDREN_PICKABLE, PROPERTY_CLIENT_PROPERTIES, PROPERTY_CODE_BOUNDS, PROPERTY_CODE_CHILDREN, PROPERTY_CODE_CHILDREN_PICKABLE, PROPERTY_CODE_CLIENT_PROPERTIES, PROPERTY_CODE_FULL_BOUNDS, PROPERTY_CODE_PAINT, PROPERTY_CODE_PARENT, PROPERTY_CODE_PICKABLE, PROPERTY_CODE_TRANSFORM, PROPERTY_CODE_TRANSPARENCY, PROPERTY_CODE_VISIBLE, PROPERTY_FULL_BOUNDS, PROPERTY_PAINT, PROPERTY_PARENT, PROPERTY_PICKABLE, PROPERTY_TRANSFORM, PROPERTY_TRANSPARENCY, PROPERTY_VISIBLE, SCENE_GRAPH_DELEGATE

    Fields inherited from interface java.awt.print.Printable

    NO_SUCH_PAGE, PAGE_EXISTS
  • Constructor Summary

    Constructors
    Constructor
    Description
    PGisLayer(org.geotools.map.Layer layer, org.geotools.map.MapContent context, AffineTransform transform)
    Deprecated.
    Create a new Layer based on the FeatureLayer, the MapContext (eventually for projection) and the AffineTransform as supplied by piccolo.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Calls this to remove listeners etc.
    void
    Deprecated.
     
    org.geotools.map.Layer
    Deprecated.
    Gets the FeatureLayer that this PGisLayer displays.
    void
    layerChanged(org.geotools.map.MapLayerEvent arg0)
    Deprecated.
     
    void
    layerDeselected(org.geotools.map.MapLayerEvent arg0)
    Deprecated.
     
    void
    layerHidden(org.geotools.map.MapLayerEvent arg0)
    Deprecated.
     
    void
    layerPreDispose(org.geotools.map.MapLayerEvent arg0)
    Deprecated.
     
    void
    layerSelected(org.geotools.map.MapLayerEvent arg0)
    Deprecated.
     
    void
    layerShown(org.geotools.map.MapLayerEvent arg0)
    Deprecated.
     
    void
    setSize(int width, int height)
    Deprecated.
     
    void
    Deprecated.
    Redraw the image of the layer.

    Methods inherited from class org.piccolo2d.PLayer

    addCamera, addCamera, getCamera, getCameraCount, getCamerasReference, notifyCameras, removeCamera, removeCamera, repaintFrom

    Methods inherited from class org.piccolo2d.PNode

    addActivity, addAttribute, addChild, addChild, addChildren, addInputEventListener, addPropertyChangeListener, addPropertyChangeListener, animateToBounds, animateToColor, animateToPositionScaleRotation, animateToRelativePosition, animateToTransform, animateToTransparency, animateTransformToBounds, centerBoundsOnPoint, centerFullBoundsOnPoint, clone, computeFullBounds, endResizeBounds, findIntersectingNodes, fireChildPropertyChange, firePropertyChange, fullIntersects, fullPaint, fullPick, getAllNodes, getAllNodes, getAttribute, getAttribute, getBooleanAttribute, getBounds, getBoundsChanged, getBoundsReference, getBoundsVolatile, getChild, getChildBoundsInvalid, getChildBoundsVolatile, getChildPaintInvalid, getChildrenCount, getChildrenIterator, getChildrenPickable, getChildrenReference, getClientProperties, getClientPropertyKeysEnumeration, getDoubleAttribute, getFullBounds, getFullBoundsInvalid, getFullBoundsReference, getGlobalBounds, getGlobalFullBounds, getGlobalRotation, getGlobalScale, getGlobalToLocalTransform, getGlobalTranslation, getHeight, getInputEventListeners, getIntegerAttribute, getInverseTransform, getListenerList, getLocalToGlobalTransform, getName, getOccluded, getOffset, getPaint, getPaintInvalid, getParent, getPickable, getPropertyChangeParentMask, getRoot, getRotation, getScale, getTransform, getTransformReference, getTransparency, getUnionOfChildrenBounds, getVisible, getWidth, getX, getXOffset, getY, getYOffset, globalToLocal, globalToLocal, globalToLocal, indexOfChild, internalUpdateBounds, intersects, invalidateFullBounds, invalidateLayout, invalidatePaint, isAncestorOf, isDescendentOf, isDescendentOfRoot, isOpaque, layoutChildren, lerp, localToGlobal, localToGlobal, localToGlobal, localToParent, localToParent, localToParent, lower, lower, lowerBelow, lowerToBottom, lowerToBottom, offset, paint, paintAfterChildren, parentBoundsChanged, parentToLocal, parentToLocal, parentToLocal, pick, pickAfterChildren, print, print, raise, raise, raiseAbove, raiseToTop, raiseToTop, removeAllChildren, removeChild, removeChild, removeChildren, removeFromParent, removeInputEventListener, removePropertyChangeListener, removePropertyChangeListener, repaint, reparent, replaceWith, resetBounds, rotate, rotateAboutPoint, rotateAboutPoint, rotateInPlace, scale, scaleAboutPoint, scaleAboutPoint, setBounds, setBounds, setBoundsChanged, setChildBoundsInvalid, setChildBoundsVolatile, setChildPaintInvalid, setChildrenPickable, setFullBoundsInvalid, setGlobalRotation, setGlobalScale, setGlobalTranslation, setHeight, setName, setOccluded, setOffset, setOffset, setPaint, setPaintInvalid, setParent, setPickable, setPropertyChangeParentMask, setRotation, setScale, setTransform, setTransparency, setVisible, setWidth, setX, setY, signalBoundsChanged, startResizeBounds, toImage, toImage, toImage, toImage, transformBy, translate, validateFullBounds, validateFullPaint

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • center

      protected simphony.util.messages.MessageCenter center
      Deprecated.
    • image

      protected BufferedImage image
      Deprecated.
    • context

      protected org.geotools.map.MapContent context
      Deprecated.
    • rend

      protected org.geotools.renderer.GTRenderer rend
      Deprecated.
    • rect

      protected Rectangle rect
      Deprecated.
    • interacting

      protected boolean interacting
      Deprecated.
    • drawn

      protected boolean drawn
      Deprecated.
    • transform

      protected AffineTransform transform
      Deprecated.
    • layer

      protected org.geotools.map.Layer layer
      Deprecated.
    • localContext

      protected org.geotools.map.MapContent localContext
      Deprecated.
    • pImage

      protected org.piccolo2d.nodes.PImage pImage
      Deprecated.
    • layerArea

      protected org.locationtech.jts.geom.Envelope layerArea
      Deprecated.
    • scaleDenominator

      protected double scaleDenominator
      Deprecated.
  • Constructor Details

    • PGisLayer

      public PGisLayer(org.geotools.map.Layer layer, org.geotools.map.MapContent context, AffineTransform transform)
      Deprecated.
      Create a new Layer based on the FeatureLayer, the MapContext (eventually for projection) and the AffineTransform as supplied by piccolo.
      Parameters:
      layer -
      context -
      transform -
  • Method Details

    • cleanUp

      public void cleanUp()
      Deprecated.
      Calls this to remove listeners etc. Functions like a destructor in C++.
    • getLayer

      public org.geotools.map.Layer getLayer()
      Deprecated.
      Gets the FeatureLayer that this PGisLayer displays.
      Returns:
      the FeatureLayer that this PGisLayer displays.
    • update

      public void update()
      Deprecated.
      Redraw the image of the layer.
    • clear

      public void clear()
      Deprecated.
    • setSize

      public void setSize(int width, int height)
      Deprecated.
    • layerChanged

      public void layerChanged(org.geotools.map.MapLayerEvent arg0)
      Deprecated.
      Specified by:
      layerChanged in interface org.geotools.map.MapLayerListener
    • layerHidden

      public void layerHidden(org.geotools.map.MapLayerEvent arg0)
      Deprecated.
      Specified by:
      layerHidden in interface org.geotools.map.MapLayerListener
    • layerShown

      public void layerShown(org.geotools.map.MapLayerEvent arg0)
      Deprecated.
      Specified by:
      layerShown in interface org.geotools.map.MapLayerListener
    • layerDeselected

      public void layerDeselected(org.geotools.map.MapLayerEvent arg0)
      Deprecated.
      Specified by:
      layerDeselected in interface org.geotools.map.MapLayerListener
    • layerPreDispose

      public void layerPreDispose(org.geotools.map.MapLayerEvent arg0)
      Deprecated.
      Specified by:
      layerPreDispose in interface org.geotools.map.MapLayerListener
    • layerSelected

      public void layerSelected(org.geotools.map.MapLayerEvent arg0)
      Deprecated.
      Specified by:
      layerSelected in interface org.geotools.map.MapLayerListener