|
org.netbeans.api.visual 2.17.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.visual.export.WidgetPolygonalCoordinates
public final class WidgetPolygonalCoordinates
The purpose of this class is to provide a framework for holding a Widget and the Polygon that encompasses it. Can be used for creating HTML image maps. For the ConnectionWidgets, a Polygon is created that follows the contour of the connection with a pixel buffer equal to the defined margin.
Constructor Summary | |
---|---|
WidgetPolygonalCoordinates(Widget widget,
Polygon polygon)
Creates an instance of a WidgetPolygonalCoordinates object. |
Method Summary | |
---|---|
Polygon |
getPolygon()
Returns the Polygon stored in this class. |
Widget |
getWidget()
Returns the Widget stored in this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WidgetPolygonalCoordinates(Widget widget, Polygon polygon)
widget
- The Widget (may be a ConnectionWidget) being encompassed
by the polygon.polygon
- The Polygon surrounding the respective Widget.Method Detail |
---|
public Widget getWidget()
public Polygon getPolygon()
|
org.netbeans.api.visual 2.17.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |