Class FilteredResizableIcon

    • Constructor Detail

      • FilteredResizableIcon

        public FilteredResizableIcon​(ResizableIcon delegate,
                                     BufferedImageOp operation)
        Creates a new filtered icon.
        Parameters:
        delegate - The main (pre-filtered) icon.
        operation - Filter operation.
    • Method Detail

      • getIconHeight

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

        public int getIconWidth()
        Specified by:
        getIconWidth in interface Icon
      • setDimension

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