Class KMLLineStringPlacemarkImpl

    • Field Detail

      • highlightAttributesResolved

        protected boolean highlightAttributesResolved
      • normalAttributesResolved

        protected boolean normalAttributesResolved
    • Constructor Detail

      • KMLLineStringPlacemarkImpl

        public KMLLineStringPlacemarkImpl​(KMLTraversalContext tc,
                                          KMLPlacemark placemark,
                                          KMLAbstractGeometry geom)
        Create an instance.
        Parameters:
        tc - the current KMLTraversalContext.
        placemark - the Placemark element containing the LineString.
        geom - the KMLLineString geometry.
        Throws:
        java.lang.NullPointerException - if the geometry is null.
        java.lang.IllegalArgumentException - if the parent placemark or the traversal context is null.
    • Method Detail

      • createPickedObject

        protected PickedObject createPickedObject​(int colorCode)
        Creates a PickedObject for this shape and the specified unique pick color code. The PickedObject returned by this method will be added to the pick list to represent the current shape.
        Overrides:
        createPickedObject in class AbstractShape
        Parameters:
        colorCode - the unique color code for this shape.
        Returns:
        a new picked object.
      • makeAttributesCurrent

        protected ShapeAttributes makeAttributesCurrent​(java.lang.String attrType)
        Determine and set the Path highlight attributes from the KML Feature fields.
        Parameters:
        attrType - the type of attributes, either KMLConstants.NORMAL or KMLConstants.HIGHLIGHT.
        Returns:
        the new attributes.
      • getInitialAttributes

        protected ShapeAttributes getInitialAttributes​(java.lang.String attrType)