Package org.eclipse.draw2d
Class AbsoluteBendpoint
java.lang.Object
org.eclipse.draw2d.geometry.Point
org.eclipse.draw2d.AbsoluteBendpoint
- All Implemented Interfaces:
- Serializable,- Cloneable,- Bendpoint,- Translatable
AbsoluteBendpoint is a Bendpoint that defines its location simply as its X
 and Y coordinates. It is used by bendable 
Connections.- See Also:
- 
Field Summary
- 
Constructor SummaryConstructorsConstructorDescriptionAbsoluteBendpoint(int x, int y) Creates a new AbsoluteBendpoint at the Point (x,y).Creates a new AbsoluteBendpoint at the Point p.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the location of the bendpoint relative to the connection.Methods inherited from class org.eclipse.draw2d.geometry.Pointequals, equals, getCopy, getDifference, getDistance, getDistance2, getDistanceOrthogonal, getDistanceSquared, getNegated, getPosition, getScaled, getScaled, getSWTPoint, getTranslated, getTranslated, getTranslated, getTranslated, getTransposed, hashCode, max, min, negate, performScale, performTranslate, preciseX, preciseY, scale, scale, setLocation, setLocation, setX, setY, toString, translate, translate, translate, translate, transpose, x, yMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.draw2d.geometry.TranslatableperformTranslate, performTranslate, performTranslate
- 
Constructor Details- 
AbsoluteBendpointCreates a new AbsoluteBendpoint at the Point p.- Parameters:
- p- The absolute location of the bendpoint
- Since:
- 2.0
 
- 
AbsoluteBendpointpublic AbsoluteBendpoint(int x, int y) Creates a new AbsoluteBendpoint at the Point (x,y).- Parameters:
- x- The X coordinate
- y- The Y coordinate
- Since:
- 2.0
 
 
- 
- 
Method Details- 
getLocationDescription copied from interface:BendpointReturns the location of the bendpoint relative to the connection. The returned value may be by reference. The caller should NOT modify the returned value.- Specified by:
- getLocationin interface- Bendpoint
- Returns:
- the location of the bendpoint relative to the Connection
- See Also:
 
 
-