public class ImageFileBackground extends ImageBackground
DEFAULT_SIZE
构造器和说明 |
---|
ImageFileBackground() |
ImageFileBackground(java.awt.Image image) |
ImageFileBackground(java.awt.Image image,
int layout) |
ImageFileBackground(java.awt.Image image,
int layout,
java.lang.String suffix) |
ImageFileBackground(java.awt.Image image,
java.lang.String suffix) |
ImageFileBackground(ImageWithSuffix imageWithSuffix) |
ImageFileBackground(ImageWithSuffix imageWithSuffix,
int layout) |
ImageFileBackground(java.lang.String suffix) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getSuffix() |
java.lang.String |
getUri() |
Background |
readAdditionalAttr(XMLableReader reader) |
void |
setImage(java.awt.Image image)
设置图片背景所使用的图片
|
void |
setSuffix(java.lang.String suffix) |
void |
setUri(java.lang.String uri) |
void |
writeAdditionalAttr(XMLPrintWriter writer) |
createJSONConfig, drawWithGradientLine, equals, getBackgroundType, getCellPoint, getDefaultImage, getImage, getImageWithSuffix, getLayout, getLayout4Draw, getSpecifiedImageHeight, getSpecifiedImageWidth, layoutDidChange, paint, paint4Scroll, setCellPoint, setImage, setLayout, setLayout4Draw, setSpecifiedImageHeight, setSpecifiedImageWidth, toJSONObject, toJSONObject
clone, createBufferedImage, fixHashCode, paint, paintImage, preDealBackground, readXML, toJSONObject, traverseForExport, writeXML
public ImageFileBackground()
public ImageFileBackground(java.awt.Image image)
public ImageFileBackground(java.awt.Image image, int layout)
public ImageFileBackground(java.lang.String suffix)
public ImageFileBackground(java.awt.Image image, java.lang.String suffix)
public ImageFileBackground(java.awt.Image image, int layout, java.lang.String suffix)
public ImageFileBackground(ImageWithSuffix imageWithSuffix)
public ImageFileBackground(ImageWithSuffix imageWithSuffix, int layout)
public void setImage(java.awt.Image image)
ImageBackground
setImage
在类中 ImageBackground
image
- 背景所使用的图片public java.lang.String getUri()
public void setUri(java.lang.String uri)
@Nonnull public java.lang.String getSuffix()
public void setSuffix(java.lang.String suffix)
public Background readAdditionalAttr(XMLableReader reader)
readAdditionalAttr
在接口中 Background
readAdditionalAttr
在类中 ImageBackground
public void writeAdditionalAttr(XMLPrintWriter writer)
writeAdditionalAttr
在接口中 Background
writeAdditionalAttr
在类中 ImageBackground