class PolygonNode extends GeometryNode
| Modifier and Type | Field and Description |
|---|---|
(package private) Polygon |
poly |
children, contextindex, text| Constructor and Description |
|---|
PolygonNode(Polygon poly,
GeometryContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillChildren() |
Geometry |
getGeometry() |
javax.swing.ImageIcon |
getIcon() |
create, getChildAt, getChildCount, getIndexOfChild, isLeafgetText, indexString, setIndex, sizeStringPolygon poly
PolygonNode(Polygon poly, GeometryContext context)
public Geometry getGeometry()
getGeometry in class GeometricObjectNodepublic javax.swing.ImageIcon getIcon()
getIcon in class GeometryNodeprotected void fillChildren()
fillChildren in class GeometryNode