|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CellGeom
This interface represents an object that goes inside of a single cell defined by four split Lines (left, right, top, bottom) which are available in the GridCell for this object. Objects implementing this interface must implement the method to draw itself, as well as the method to pick within itself.
Method Summary | |
---|---|
void |
drawInCell(java.awt.Color c,
double plane)
Draws the object contained in its cell object, in the given color and depth. |
GridCell |
getCell()
Accessor for the cell that this object is contained in. |
int |
getKey()
Accessor for the key value of an object. |
SplitLine |
getMaxLine(int xy)
Returns the maximum split line in the given direction for this object. |
SplitLine |
getMinLine(int xy)
Returns the minimum split line in the given direction for this object. |
java.lang.String |
getName()
Accessor for the name of this object. |
Method Detail |
---|
int getKey()
java.lang.String getName()
void drawInCell(java.awt.Color c, double plane)
c
- The color to draw the object.plane
- The plane in which to draw the object.GridCell getCell()
SplitLine getMinLine(int xy)
xy
- AccordionDrawer.X
for horizontal, AccordionDrawer.Y
for vertical direction.
SplitLine getMaxLine(int xy)
xy
- AccordionDrawer.X
for horizontal, AccordionDrawer.Y
for vertical direction.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |