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, setY
getProperty, getPropertyKeys, putProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getX, getY
getProperty, getPropertyKeys, putProperty
public AddBendpointContext(FreeFormConnection connection, int x, int y, int index)
AddBendpointContext
.connection
- the connectionx
- the xy
- the yindex
- the indexpublic FreeFormConnection getConnection()
IBendpointContext
getConnection
in interface IBendpointContext
public void setConnection(FreeFormConnection freeFormConnection)
freeFormConnection
- the new connectionpublic int getBendpointIndex()
IBendpointContext
getBendpointIndex
in interface IBendpointContext
public void setBendpointIndex(int index)
index
- the new bendpoint indexpublic Point getBendpoint()
IBendpointContext
getBendpoint
in interface IBendpointContext
public java.lang.String toString()
toString
in class LocationContext