Class ScalableImageIcon.RetinaImageLoader

    • Constructor Detail

      • RetinaImageLoader

        private RetinaImageLoader()
    • Method Detail

      • convertToEta2xIconURL

        @CheckForNull
        protected java.net.URL convertToEta2xIconURL​(java.net.URL url)
      • loadMultiResolutionFromSvgIcon

        private java.awt.Image loadMultiResolutionFromSvgIcon​(com.nomagic.imageio.svg.SVGIconProxy svgIcon,
                                                              byte[] smallIconData)
      • getLargeIconData

        private byte[] getLargeIconData​(com.nomagic.imageio.svg.SVGIconProxy svgIcon,
                                        int width,
                                        int height)
      • getSmallIconData

        private byte[] getSmallIconData​(com.nomagic.imageio.svg.SVGIconProxy svgIcon,
                                        int width,
                                        int height)
      • loadMultiResolutionImageFromSvg

        private void loadMultiResolutionImageFromSvg​(com.nomagic.imageio.svg.SVGIconProxy svgIcon)
      • loadMultiResolutionFromEta2xOrSvg

        private void loadMultiResolutionFromEta2xOrSvg​(com.nomagic.imageio.svg.SVGIconProxy svgIcon)
      • toByteArray

        @CheckForNull
        private byte[] toByteArray​(java.net.URL url)