|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint
public class RelativeBendpoint
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 XSource YTarget XTarget Y
| Field Summary | |
|---|---|
protected static int |
SOURCE_X_EDEFAULT
The default value of the ' Source X' attribute |
protected static int |
SOURCE_Y_EDEFAULT
The default value of the ' Source Y' attribute |
protected int |
sourceX
The cached value of the ' Source X' attribute |
protected int |
sourceY
The cached value of the ' Source Y' attribute |
protected static int |
TARGET_X_EDEFAULT
The default value of the ' Target X' attribute |
protected static int |
TARGET_Y_EDEFAULT
The default value of the ' Target Y' attribute |
protected int |
targetX
The cached value of the ' Target X' attribute |
protected int |
targetY
The cached value of the ' Target Y' attribute |
| Constructor Summary | |
|---|---|
RelativeBendpoint()
|
|
RelativeBendpoint(int sourceX,
int sourceY,
int targetX,
int targetY)
|
|
RelativeBendpoint(java.lang.String string)
|
|
| 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 |
| Field Detail |
|---|
protected static final int SOURCE_X_EDEFAULT
Source X' attribute.
getSourceX(),
Constant Field Valuesprotected int sourceX
Source X' attribute.
getSourceX()protected static final int SOURCE_Y_EDEFAULT
Source Y' attribute.
getSourceY(),
Constant Field Valuesprotected int sourceY
Source Y' attribute.
getSourceY()protected static final int TARGET_X_EDEFAULT
Target X' attribute.
getTargetX(),
Constant Field Valuesprotected int targetX
Target X' attribute.
getTargetX()protected static final int TARGET_Y_EDEFAULT
Target Y' attribute.
getTargetY(),
Constant Field Valuesprotected int targetY
Target Y' attribute.
getTargetY()| Constructor Detail |
|---|
public RelativeBendpoint(java.lang.String string)
public RelativeBendpoint()
public RelativeBendpoint(int sourceX,
int sourceY,
int targetX,
int targetY)
| Method Detail |
|---|
public int getSourceX()
Returns the x-distance from the bendpoint to the attach point with the source view
protected void setSourceX(int newSourceX)
Sets the x-distance from the bendpoint to the attach point with the source view
public int getSourceY()
Returns the y-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
public int getTargetX()
Returns the x-distance from the bendpoint to the attach point with the target view
protected void setTargetX(int newTargetX)
Sets the x-distance from the bendpoint to the attach point with the target view
public int getTargetY()
Returns the y-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
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String convertToString()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.