Package org.xhtmlrenderer.swt
Class SWTFSImage
java.lang.Object
org.xhtmlrenderer.swt.SWTFSImage
- All Implemented Interfaces:
FSImage
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a "null" image.SWTFSImage
(@Nullable org.eclipse.swt.graphics.Image image, @Nullable UserAgentCallback uac, @Nullable String uri) private
SWTFSImage
(@Nullable org.eclipse.swt.graphics.Image image, @Nullable UserAgentCallback uac, @Nullable String uri, int width, int height) SWTFSImage
(SWTFSImage image) -
Method Summary
-
Field Details
-
_uac
-
_uri
-
_image
private @Nullable org.eclipse.swt.graphics.Image _image -
_width
private int _width -
_height
private int _height
-
-
Constructor Details
-
SWTFSImage
public SWTFSImage()Create a "null" image. -
SWTFSImage
public SWTFSImage(@Nullable org.eclipse.swt.graphics.Image image, @Nullable UserAgentCallback uac, @Nullable String uri) -
SWTFSImage
private SWTFSImage(@Nullable org.eclipse.swt.graphics.Image image, @Nullable UserAgentCallback uac, @Nullable String uri, int width, int height) -
SWTFSImage
-
-
Method Details
-
getImage
public @Nullable org.eclipse.swt.graphics.Image getImage()Get the SWT image. Reload it from the UAC if it was disposed. -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
scale
-