public class ImageWithSuffix extends java.awt.Image implements XMLable, java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
static java.lang.String |
XML_TAG_FORMAT_IMAGE |
构造器和说明 |
---|
ImageWithSuffix() |
ImageWithSuffix(java.awt.Image image) |
ImageWithSuffix(java.awt.Image image,
java.lang.String format) |
ImageWithSuffix(java.lang.String format) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
float |
getAccelerationPriority() |
java.awt.ImageCapabilities |
getCapabilities(java.awt.GraphicsConfiguration gc) |
java.lang.String |
getFormat() |
java.awt.Graphics |
getGraphics() |
int |
getHeight(java.awt.image.ImageObserver observer) |
java.awt.Image |
getImage() |
java.lang.Object |
getProperty(java.lang.String name,
java.awt.image.ImageObserver observer) |
java.awt.Image |
getScaledInstance(int width,
int height,
int hints) |
java.awt.image.ImageProducer |
getSource() |
int |
getWidth(java.awt.image.ImageObserver observer) |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setFormat(java.lang.String format) |
void |
setImage(java.awt.Image image) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public static final java.lang.String XML_TAG_FORMAT_IMAGE
public ImageWithSuffix(java.awt.Image image, java.lang.String format)
public ImageWithSuffix(java.awt.Image image)
public ImageWithSuffix(java.lang.String format)
public ImageWithSuffix()
public int getWidth(java.awt.image.ImageObserver observer)
getWidth
在类中 java.awt.Image
public int getHeight(java.awt.image.ImageObserver observer)
getHeight
在类中 java.awt.Image
public java.awt.image.ImageProducer getSource()
getSource
在类中 java.awt.Image
public java.awt.Graphics getGraphics()
getGraphics
在类中 java.awt.Image
public java.lang.Object getProperty(java.lang.String name, java.awt.image.ImageObserver observer)
getProperty
在类中 java.awt.Image
public java.awt.Image getScaledInstance(int width, int height, int hints)
getScaledInstance
在类中 java.awt.Image
public java.awt.ImageCapabilities getCapabilities(java.awt.GraphicsConfiguration gc)
getCapabilities
在类中 java.awt.Image
public float getAccelerationPriority()
getAccelerationPriority
在类中 java.awt.Image
public java.awt.Image getImage()
public void setImage(java.awt.Image image)
public java.lang.String getFormat()
public void setFormat(java.lang.String format)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter