Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Runtime

org.eclipse.gmf.runtime.notation.datatype
Class RelativeBendpoint

java.lang.Object
  extended by 
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 **

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

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:
Constructor Detail

RelativeBendpoint

public RelativeBendpoint(java.lang.String string)

** Generated **

RelativeBendpoint

public RelativeBendpoint()

** Generated **

RelativeBendpoint

public RelativeBendpoint(int sourceX,
                         int sourceY,
                         int targetX,
                         int targetY)

** Generated **
Method Detail

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

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire