class PolygonNode extends GeometryNode
Modifier and Type | Field and Description |
---|---|
(package private) Polygon |
poly |
children, context
index, 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, isLeaf
getText, indexString, setIndex, sizeString
Polygon poly
PolygonNode(Polygon poly, GeometryContext context)
public Geometry getGeometry()
getGeometry
in class GeometricObjectNode
public javax.swing.ImageIcon getIcon()
getIcon
in class GeometryNode
protected void fillChildren()
fillChildren
in class GeometryNode