CH.ifa.draw.standard
Class ChangeConnectionEndHandle

java.lang.Object
  extended by CH.ifa.draw.standard.AbstractHandle
      extended by CH.ifa.draw.standard.ChangeConnectionHandle
          extended by CH.ifa.draw.standard.ChangeConnectionEndHandle
All Implemented Interfaces:
Handle

public class ChangeConnectionEndHandle
extends ChangeConnectionHandle

A handle to reconnect the end point of a connection to another figure.


Field Summary
 
Fields inherited from class CH.ifa.draw.standard.ChangeConnectionHandle
fConnection, fOriginalTarget, fStart, fTarget
 
Fields inherited from class CH.ifa.draw.standard.AbstractHandle
HANDLESIZE
 
Constructor Summary
ChangeConnectionEndHandle(Figure owner)
          Constructs the connection handle.
 
Method Summary
protected  void connect(Connector c)
          Sets the end of the connection.
protected  void disconnect()
          Disconnects the end figure.
 java.awt.Point locate()
          Returns the end point of the connection.
protected  void setPoint(int x, int y)
          Sets the end point of the connection.
protected  Connector target()
          Gets the end figure of a connection.
 
Methods inherited from class CH.ifa.draw.standard.ChangeConnectionHandle
draw, findConnector, invokeEnd, invokeStart, invokeStep, source
 
Methods inherited from class CH.ifa.draw.standard.AbstractHandle
containsPoint, displayBox, invokeEnd, invokeStart, invokeStep, owner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeConnectionEndHandle

public ChangeConnectionEndHandle(Figure owner)
Constructs the connection handle.

Method Detail

target

protected Connector target()
Gets the end figure of a connection.

Specified by:
target in class ChangeConnectionHandle

disconnect

protected void disconnect()
Disconnects the end figure.

Specified by:
disconnect in class ChangeConnectionHandle

connect

protected void connect(Connector c)
Sets the end of the connection.

Specified by:
connect in class ChangeConnectionHandle

setPoint

protected void setPoint(int x,
                        int y)
Sets the end point of the connection.

Specified by:
setPoint in class ChangeConnectionHandle

locate

public java.awt.Point locate()
Returns the end point of the connection.

Specified by:
locate in interface Handle
Specified by:
locate in class AbstractHandle