Class PolyPointLocator
java.lang.Object
org.csstudio.opibuilder.widgets.feedback.PolyPointLocator
- All Implemented Interfaces:
- org.eclipse.draw2d.Locator
Places a handle for a polygon or polyline point. The placement is determined by indicating the polyline figure to
 which the placement is relative, and a value indicating a point index.
- 
Constructor SummaryConstructorsConstructorDescriptionPolyPointLocator(org.eclipse.draw2d.Polyline referenceFigure, int pointIndex) Constructs a poly point handle locator.
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.eclipse.draw2d.geometry.RectangleReturns the Reference Box in the Reference Figure's coordinate system.voidrelocate(org.eclipse.draw2d.IFigure target) 
- 
Constructor Details- 
PolyPointLocatorpublic PolyPointLocator(org.eclipse.draw2d.Polyline referenceFigure, int pointIndex) Constructs a poly point handle locator.- Parameters:
- referenceFigure- the reference figure (- Polylineor subclasses of it)
- pointIndex- the index of the polygon point for which a handle should be placed
 
 
- 
- 
Method Details- 
getReferenceBoxprotected org.eclipse.draw2d.geometry.Rectangle getReferenceBox()Returns the Reference Box in the Reference Figure's coordinate system. The returned Rectangle may be by reference, and should not be modified.
- 
relocatepublic void relocate(org.eclipse.draw2d.IFigure target) - Specified by:
- relocatein interface- org.eclipse.draw2d.Locator
 
 
-