ewe.graphics.pagedisplay
Class ImageUnit

java.lang.Object
  extended byewe.graphics.PageDisplayUnit
      extended byewe.graphics.pagedisplay.ImageUnit

public class ImageUnit
extends PageDisplayUnit


Field Summary
 
Fields inherited from class ewe.graphics.PageDisplayUnit
display, firstChild, flags, height, IsHot, lastChild, nextSibling, parent, tip, width, x, y
 
Constructor Summary
ImageUnit(IImage image)
           
 
Method Summary
 void doPaint(Graphics g)
          This tells the PageDisplayUnit to display itself only - not its children.
 IImage getImage()
           
 ImageUnit setImage(IImage image)
           
 
Methods inherited from class ewe.graphics.PageDisplayUnit
addChild, calculateSize, getDefaultMenuFor, getDisplay, getHotUnit, getMenuFor, getTaggedUnit, getTipFor, isOnHotArea, menuItemSelected, penClicked, penDoubleClicked, penPressed, penReleased, refresh, tagControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Constructor Detail

ImageUnit

public ImageUnit(IImage image)
Method Detail

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()