| 
JHotDraw 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.draw.AbstractHandle
org.jhotdraw.draw.AbstractConnectionHandle
org.jhotdraw.draw.ConnectionStartHandle
public class ConnectionStartHandle
Handle to reconnect the start of a connection to another figure.
| Field Summary | 
|---|
| Fields inherited from class org.jhotdraw.draw.AbstractConnectionHandle | 
|---|
connectors | 
| Fields inherited from class org.jhotdraw.draw.AbstractHandle | 
|---|
listenerList, view | 
| Constructor Summary | |
|---|---|
ConnectionStartHandle(ConnectionFigure owner)
Constructs the connection handle for the given start figure.  | 
|
| Method Summary | |
|---|---|
protected  boolean | 
canConnect(Connector existingEnd,
           Connector targetEnd)
 | 
protected  void | 
connect(Connector c)
Sets the start of the connection.  | 
protected  void | 
disconnect()
Disconnects the start figure.  | 
protected  int | 
getBezierNodeIndex()
 | 
protected  java.awt.geom.Point2D.Double | 
getLocation()
Returns the start point of the connection.  | 
protected  Connector | 
getTarget()
Returns the connector of the change.  | 
protected  void | 
setLocation(java.awt.geom.Point2D.Double p)
Sets the start point of the connection.  | 
| Methods inherited from class org.jhotdraw.draw.AbstractConnectionHandle | 
|---|
basicGetBounds, createSecondaryHandles, draw, findConnector, getBezierFigure, getBezierNode, getOwner, getSource, getToolTipText, isCombinableWith, repaintConnectors, setPotentialTarget, trackEnd, trackStart, trackStep | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ConnectionStartHandle(ConnectionFigure owner)
| Method Detail | 
|---|
protected void connect(Connector c)
connect in class AbstractConnectionHandleprotected void disconnect()
disconnect in class AbstractConnectionHandleprotected Connector getTarget()
AbstractConnectionHandle
getTarget in class AbstractConnectionHandleprotected void setLocation(java.awt.geom.Point2D.Double p)
setLocation in class AbstractConnectionHandleprotected java.awt.geom.Point2D.Double getLocation()
getLocation in class AbstractConnectionHandle
protected boolean canConnect(Connector existingEnd,
                             Connector targetEnd)
canConnect in class AbstractConnectionHandleprotected int getBezierNodeIndex()
getBezierNodeIndex in class AbstractConnectionHandle
  | 
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved.  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||