org.eclipse.gmf.runtime.notation.datatype
Class RelativeBendpoint
java.lang.Object
org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint
-
public class RelativeBendpoint
- extends java.lang.Object
An implementation of the model object '
Relative Bendpoint
'.
A type of bendpoints representing a collection of points with relative distances
along the x- and y-axis to the source and target views of an edge
The following features are implemented:
-
Source X
-
Source Y
-
Target X
-
Target Y
-
** Generated **
-
Method Summary
|
java.lang.String
|
convertToString
()
|
boolean
|
equals
(java.lang.Object obj)
|
int
|
getSourceX
()
Returns the x-distance from the bendpoint to
the attach point with the source view
|
int
|
getSourceY
()
Returns the y-distance from the bendpoint to
the attach point with the source view
|
int
|
getTargetX
()
Returns the x-distance from the bendpoint to
the attach point with the target view
|
int
|
getTargetY
()
Returns the y-distance from the bendpoint to
the attach point with the target view
|
int
|
hashCode
()
|
protected void
|
setSourceX
(int newSourceX)
Sets the x-distance from the bendpoint to
the attach point with the source view
|
protected void
|
setSourceY
(int newSourceY)
Sets the y-distance from the bendpoint to
the attach point with the source view
|
protected void
|
setTargetX
(int newTargetX)
Sets the x-distance from the bendpoint to
the attach point with the target view
|
protected void
|
setTargetY
(int newTargetY)
Sets the y-distance from the bendpoint to
the attach point with the target view
|
java.lang.String
|
toString
()
|
Methods inherited from class java.lang.Object
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
|
SOURCE_X_EDEFAULT
protected static final int SOURCE_X_EDEFAULT
- The default value of the '
Source X
' attribute.
-
See Also:
-
getSourceX()
,
Constant Field Values
-
** Generated **
-
-
Ordered:
-
sourceX
protected int sourceX
- The cached value of the '
Source X
' attribute.
-
See Also:
-
getSourceX()
-
** Generated **
-
-
Ordered:
-
SOURCE_Y_EDEFAULT
protected static final int SOURCE_Y_EDEFAULT
- The default value of the '
Source Y
' attribute.
-
See Also:
-
getSourceY()
,
Constant Field Values
-
** Generated **
-
-
Ordered:
-
sourceY
protected int sourceY
- The cached value of the '
Source Y
' attribute.
-
See Also:
-
getSourceY()
-
** Generated **
-
-
Ordered:
-
TARGET_X_EDEFAULT
protected static final int TARGET_X_EDEFAULT
- The default value of the '
Target X
' attribute.
-
See Also:
-
getTargetX()
,
Constant Field Values
-
** Generated **
-
-
Ordered:
-
targetX
protected int targetX
- The cached value of the '
Target X
' attribute.
-
See Also:
-
getTargetX()
-
** Generated **
-
-
Ordered:
-
TARGET_Y_EDEFAULT
protected static final int TARGET_Y_EDEFAULT
- The default value of the '
Target Y
' attribute.
-
See Also:
-
getTargetY()
,
Constant Field Values
-
** Generated **
-
-
Ordered:
-
targetY
protected int targetY
- The cached value of the '
Target Y
' attribute.
-
See Also:
-
getTargetY()
-
** Generated **
-
-
Ordered:
-
RelativeBendpoint
public RelativeBendpoint(java.lang.String string)
-
-
** Generated **
-
RelativeBendpoint
public RelativeBendpoint()
-
-
** Generated **
-
RelativeBendpoint
public RelativeBendpoint(int sourceX,
int sourceY,
int targetX,
int targetY)
-
-
** Generated **
-
getSourceX
public int getSourceX()
-
Returns the x-distance from the bendpoint to
the attach point with the source view
-
-
** Generated **
-
setSourceX
protected void setSourceX(int newSourceX)
-
Sets the x-distance from the bendpoint to
the attach point with the source view
-
-
** Generated **
-
getSourceY
public int getSourceY()
-
Returns the y-distance from the bendpoint to
the attach point with the source view
-
-
** Generated **
-
setSourceY
protected void setSourceY(int newSourceY)
-
Sets the y-distance from the bendpoint to
the attach point with the source view
-
-
** Generated **
-
getTargetX
public int getTargetX()
-
Returns the x-distance from the bendpoint to
the attach point with the target view
-
-
** Generated **
-
setTargetX
protected void setTargetX(int newTargetX)
-
Sets the x-distance from the bendpoint to
the attach point with the target view
-
-
** Generated **
-
getTargetY
public int getTargetY()
-
Returns the y-distance from the bendpoint to
the attach point with the target view
-
-
** Generated **
-
setTargetY
protected void setTargetY(int newTargetY)
-
Sets the y-distance from the bendpoint to
the attach point with the target view
-
-
** Generated **
-
toString
public java.lang.String toString()
-
-
-
Overrides:
-
toString
in class java.lang.Object
-
-
** Generated **
-
convertToString
public java.lang.String convertToString()
-
-
-
** Generated **
-
hashCode
public int hashCode()
-
-
Overrides:
-
hashCode
in class java.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
-
-
Overrides:
-
equals
in class java.lang.Object
-
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.