Class ScalableImageIcon.ScaledImageLoader

    • Field Detail

      • scale

        boolean scale
    • Constructor Detail

      • ScaledImageLoader

        private ScaledImageLoader()
    • Method Detail

      • doNotScale

        public void doNotScale()
      • retrieveSmallIconSize

        private java.awt.Dimension retrieveSmallIconSize()
      • retrieveSizeForIcon

        protected java.awt.Dimension retrieveSizeForIcon​(javax.swing.Icon icon)
      • scaleImage

        @CheckForNull
        private java.awt.Image scaleImage​(@CheckForNull
                                          java.awt.Image image)
      • loadScaledBitmapIcon

        @CheckForNull
        private ScalableImageIcon loadScaledBitmapIcon​(java.net.URL url)
      • scaleSize

        protected int scaleSize​(int size)