| java.awt.Canvas net.xoetrope.awt.XImage
All known Subclasses: net.xoetrope.awt.XHotspotImage,
Constructor Summary | |
public | XImage() Constructs a blank image control. |
XImage | public XImage()(Code) | | Constructs a blank image control.
|
addNotify | public void addNotify()(Code) | | Requests a repaint of the control once it has been created
|
getImageName | public String getImageName()(Code) | | Gets the name of teh image being displayed.
the image name |
imageUpdate | public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height)(Code) | | Update the image as it is loaded.
Parameters: img - the image Parameters: infoflags - the flags Parameters: x - Parameters: y - Parameters: width - Parameters: height - super.imageUpdate(...) |
paint | public void paint(Graphics g)(Code) | | Renders the component
Parameters: g - the graphics context |
setAttribute | public void setAttribute(String attribName, String attribValue)(Code) | | Set one or more attributes of the component.
- content, value=the image file name
- imagename, value=the image file name
Parameters: attribName - the attribute name Parameters: attribValue - the attribute value |
setImage | public void setImage(Image img)(Code) | | Sets the image to display.
Parameters: img - the image |
update | public void update(Graphics g)(Code) | | Update the component
Parameters: g - the graphics context |
|
|