AccordionDrawer
Class LeafGridCell

java.lang.Object
  |
  +--AccordionDrawer.GridCell
        |
        +--AccordionDrawer.LeafGridCell
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
TreeLeafGridCell

public abstract class LeafGridCell
extends GridCell

Author:
demo To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 
Fields inherited from class AccordionDrawer.GridCell
area, cellGeomDummy, cellGeoms, computedFrame, countBBoxDraw, countRecurse, countSubpixelRecurse, drawBackground, drawer, drawnFrame, drewMarkedAttachedFrame, enqueuedFrame, max, maxLine, min, minLine, nf, objmax, objmin, parentCell, rangeCachedFrame, rowcol, splitIndex
 
Constructor Summary
LeafGridCell(AccordionDrawer thedrawer, int thelevel, int therow, int thecol, boolean isQuad)
           
 
Method Summary
protected  void drawBackgroundBox(java.awt.Color boxColor)
           
 void drawDescend()
           
 GridCell getParent()
           
 GridCell pickDescend(int x, int y)
           
 void setChild(GridCell newChild, int therow, int thecol)
           
 void setParent(GridCell p)
           
 
Methods inherited from class AccordionDrawer.GridCell
addGeom, bigEnough, compareTo, computePlaceThisFrame, createCell, draw, drawAttachedObjects, drawKidsGrid, equals, getArea, getAreaPix, getCellGeomDummy, getDrewMarkedAttachedFrame, getGeoms, getGeomsSize, getLevel, getMax, getMaxLine, getMaxPix, getMin, getMinLine, getMinPix, getObjMax, getObjMin, getSize, getSizeInPix, getSplitPix, getSplitPos, incrementCountBBoxDraw, isQuadTree, pickAttached, pickCell, possiblyEnqueue, print, removeGeom, setCellGeomDummy, setDrawBackground, setDrewMarkedAttachedFrame, setObjMax, setObjMin
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeafGridCell

public LeafGridCell(AccordionDrawer thedrawer,
                    int thelevel,
                    int therow,
                    int thecol,
                    boolean isQuad)
Parameters:
thedrawer -
thelevel -
therow -
thecol -
isQuad -
Method Detail

drawBackgroundBox

protected void drawBackgroundBox(java.awt.Color boxColor)
Specified by:
drawBackgroundBox in class GridCell

drawDescend

public void drawDescend()
Specified by:
drawDescend in class GridCell

pickDescend

public GridCell pickDescend(int x,
                            int y)
Specified by:
pickDescend in class GridCell

setChild

public void setChild(GridCell newChild,
                     int therow,
                     int thecol)
Specified by:
setChild in class GridCell

getParent

public GridCell getParent()
Specified by:
getParent in class GridCell

setParent

public void setParent(GridCell p)
Specified by:
setParent in class GridCell