Class ImageBackedFilterableRadianceIcon

    • Field Detail

      • width

        private int width
      • height

        private int height
      • listenerList

        private javax.swing.event.EventListenerList listenerList
      • currColorized

        private java.awt.image.BufferedImage currColorized
    • Method Detail

      • setDimension

        public void setDimension​(java.awt.Dimension newDimension)
        Description copied from interface: RadianceIcon
        Changes the dimension of this icon.
        Specified by:
        setDimension in interface RadianceIcon
        Parameters:
        newDimension - New dimension for this icon.
      • makeColorized

        private void makeColorized()
      • paintIcon

        public void paintIcon​(java.awt.Component c,
                              java.awt.Graphics g,
                              int x,
                              int y)
        Specified by:
        paintIcon in interface javax.swing.Icon
      • getIconWidth

        public int getIconWidth()
        Specified by:
        getIconWidth in interface javax.swing.Icon
      • getIconHeight

        public int getIconHeight()
        Specified by:
        getIconHeight in interface javax.swing.Icon
      • isLoading

        public boolean isLoading()
        Description copied from interface: AsynchronousLoading
        Returns indication whether the content is still loading.
        Specified by:
        isLoading in interface AsynchronousLoading
        Returns:
        true if the content is still loading, false otherwise.