public class AddBendpointContext extends LocationContext implements IAddBendpointContext
| Constructor and Description |
|---|
AddBendpointContext(FreeFormConnection connection,
int x,
int y,
int index)
Creates a new
AddBendpointContext. |
| Modifier and Type | Method and Description |
|---|---|
Point |
getBendpoint()
Gets the bendpoint.
|
int |
getBendpointIndex()
Gets the bendpoint index.
|
FreeFormConnection |
getConnection()
Gets the connection.
|
void |
setBendpointIndex(int index)
Sets the bendpoint index.
|
void |
setConnection(FreeFormConnection freeFormConnection)
Sets the connection.
|
java.lang.String |
toString() |
getX, getY, setLocation, setX, setYgetProperty, getPropertyKeys, putPropertyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetX, getYgetProperty, getPropertyKeys, putPropertypublic AddBendpointContext(FreeFormConnection connection, int x, int y, int index)
AddBendpointContext.connection - the connectionx - the xy - the yindex - the indexpublic FreeFormConnection getConnection()
IBendpointContextgetConnection in interface IBendpointContextpublic void setConnection(FreeFormConnection freeFormConnection)
freeFormConnection - the new connectionpublic int getBendpointIndex()
IBendpointContextgetBendpointIndex in interface IBendpointContextpublic void setBendpointIndex(int index)
index - the new bendpoint indexpublic Point getBendpoint()
IBendpointContextgetBendpoint in interface IBendpointContextpublic java.lang.String toString()
toString in class LocationContext