|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeShape
The NodeShape interface extends Shape for it is a specific type of shape that can be used as a node in addition to the regular shape methods.
For usage as a node in a tree, the NodeShape must implement the ability to get an Inscribed
Rectangle, which is the only additional method this interface requires.
The interface is only valid for Binary trees, where only a single inscribedRectangle is required.
Ellipse2DNode| Method Summary | |
|---|---|
java.awt.geom.Rectangle2D |
getInscribedRectangle()
Gets the Inscribed Rectangle of the current NodeShape. |
| Methods inherited from interface java.awt.Shape |
|---|
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects |
| Method Detail |
|---|
java.awt.geom.Rectangle2D getInscribedRectangle()
NodeShape. The Rectangle is
for a single key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||