Class KMLScreenBalloonImpl

    • Field Detail

      • balloon

        protected ScreenBalloon balloon
        The contained balloon.
    • Constructor Detail

      • KMLScreenBalloonImpl

        public KMLScreenBalloonImpl​(ScreenBalloon balloon,
                                    KMLAbstractFeature feature)
        Create the balloon.
        Parameters:
        balloon - Balloon to apply KML styling to.
        feature - The feature that defines the balloon style.
    • Method Detail

      • getBalloon

        public ScreenBalloon getBalloon()
        Get the Balloon object that is contained in the KMLBalloon object.
        Specified by:
        getBalloon in class KMLAbstractBalloon
        Returns:
        The balloon contained by this object.
      • setScreenLocation

        public void setScreenLocation​(java.awt.Point point)
        Set the screen position of the balloon. This point is interpreted in a coordinate system with the origin at the upper left corner of the screen.. This method passes through to the contained balloon.
        Specified by:
        setScreenLocation in interface ScreenBalloon
        Parameters:
        point - Point in screen coordinates, with origin at upper left corner.
      • getScreenLocation

        public java.awt.Point getScreenLocation()
        Get the position of the balloon on the screen.. This method passes through to the contained balloon.
        Specified by:
        getScreenLocation in interface ScreenBalloon
        Returns:
        The screen location of the balloon.