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, drawer, drewMarkedAttachedFrame, objmax, objmin, rowcol
 
Constructor Summary
LeafGridCell(AccordionDrawer thedrawer, int thelevel, int therow, int thecol, boolean isQuad)
           
 
Method Summary
 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, 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
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

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