ewe.graphics.pagedisplay
Class ImageUnit
java.lang.Object
ewe.graphics.PageDisplayUnit
ewe.graphics.pagedisplay.ImageUnit
- public class ImageUnit
- extends PageDisplayUnit
| Fields inherited from class ewe.graphics.PageDisplayUnit |
display, firstChild, flags, height, IsHot, lastChild, nextSibling, parent, tip, width, x, y |
| Methods inherited from class ewe.graphics.PageDisplayUnit |
addChild, calculateSize, getDefaultMenuFor, getDisplay, getHotUnit, getMenuFor, getTaggedUnit, getTipFor, isOnHotArea, menuItemSelected, penClicked, penDoubleClicked, penPressed, penReleased, refresh, tagControl |
ImageUnit
public ImageUnit(IImage image)
setImage
public ImageUnit setImage(IImage image)
doPaint
public void doPaint(Graphics g)
- This tells the PageDisplayUnit to display itself only - not its children. The
provided graphics will have been translated so that (0,0) will map to the top left
of this units parent.
- Overrides:
doPaint in class PageDisplayUnit
getImage
public IImage getImage()