Class SWTFSImage

  • All Implemented Interfaces:
    FSImage

    public class SWTFSImage
    extends Object
    implements FSImage
    Author:
    Vianney le Clément
    • Constructor Detail

      • SWTFSImage

        public SWTFSImage()
        Create a "null" image.
      • SWTFSImage

        public SWTFSImage​(SWTFSImage image)
    • Method Detail

      • getImage

        public org.eclipse.swt.graphics.Image getImage()
        Get the SWT image. Reload it from the UAC if it was disposed.
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface FSImage
      • setHeight

        public void setHeight​(int height)
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface FSImage
      • setWidth

        public void setWidth​(int width)
      • scale

        public void scale​(int width,
                          int height)
        Specified by:
        scale in interface FSImage