org.xith3d.ui.swingui
Class UISubOverlay

java.lang.Object
  extended by org.xith3d.ui.swingui.UISubOverlayBase
      extended by org.xith3d.ui.swingui.UISubOverlay

public class UISubOverlay
extends UISubOverlayBase

A SubOverlay is one of the pieces which displays a portion of the overlay. This is used internally by UIOverlay and should not be referenced directly.

Originally Coded by David Yazel on Oct 4, 2003 at 10:02:32 PM.


Field Summary
 
Fields inherited from class org.xith3d.ui.swingui.UISubOverlayBase
ap, bounds, DEBUG, dirty, GRID, height, lx, ly, overlay, shape, texHeight, texWidth, ux, uy, width
 
Constructor Summary
protected UISubOverlay(UIOverlay overlay, int lx, int ly, int ux, int uy)
          Creates the sub overlay for the specified region.
 
Method Summary
 void swap()
          
 void updateBackBuffer(org.jagatoo.image.DirectBufferedImage fullImage)
          Transfers the scan lines from the full image to the sub-image.
protected  void updateBackBufferByDraw(java.awt.image.BufferedImage fullImage)
           
 
Methods inherited from class org.xith3d.ui.swingui.UISubOverlayBase
buildShape, getBounds, getShape, smallestPower
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UISubOverlay

protected UISubOverlay(UIOverlay overlay,
                       int lx,
                       int ly,
                       int ux,
                       int uy)
Creates the sub overlay for the specified region.

Method Detail

updateBackBufferByDraw

protected void updateBackBufferByDraw(java.awt.image.BufferedImage fullImage)

updateBackBuffer

public void updateBackBuffer(org.jagatoo.image.DirectBufferedImage fullImage)
Transfers the scan lines from the full image to the sub-image. The scan lines are applied in reverse order so that it is compatible with that silly Y-up thing (grrr).


swap

public void swap()

Overrides:
swap in class UISubOverlayBase