org.xith3d.ui.swingui
Class UISubOverlayOptimized

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

public class UISubOverlayOptimized
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
protected  boolean dirty
           
 
Fields inherited from class org.xith3d.ui.swingui.UISubOverlayBase
ap, bounds, DEBUG, GRID, height, lx, ly, overlay, shape, texHeight, texWidth, ux, uy, width
 
Constructor Summary
protected UISubOverlayOptimized(UIOverlay overlay, int lx, int ly, int ux, int uy)
          Creates the sub overlay for the specified region.
 
Method Summary
 void swap()
          Swaps the buffers
protected  void update(java.awt.image.BufferedImage fullImage, java.awt.Rectangle updateRect)
           
 
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
 

Field Detail

dirty

protected boolean dirty
Constructor Detail

UISubOverlayOptimized

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

Method Detail

update

protected void update(java.awt.image.BufferedImage fullImage,
                      java.awt.Rectangle updateRect)

swap

public void swap()
Swaps the buffers

Overrides:
swap in class UISubOverlayBase