public class RemoveBendpointContext extends DefaultContext implements IRemoveBendpointContext
Constructor and Description |
---|
RemoveBendpointContext(FreeFormConnection freeFormConnection,
Point bendpoint)
Creates a new
RemoveBendpointContext . |
Modifier and Type | Method and Description |
---|---|
Point |
getBendpoint()
Gets the bendpoint.
|
int |
getBendpointIndex()
Gets the bendpoint index.
|
FreeFormConnection |
getConnection()
Gets the connection.
|
void |
setBendpoint(Point bendpoint)
Sets the bendpoint.
|
void |
setBendpointIndex(int index)
Sets the bendpoint index.
|
void |
setConnection(FreeFormConnection freeFormConnection)
Sets the connection.
|
java.lang.String |
toString() |
getProperty, getPropertyKeys, putProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyKeys, putProperty
public RemoveBendpointContext(FreeFormConnection freeFormConnection, Point bendpoint)
RemoveBendpointContext
.freeFormConnection
- the free form connectionbendpoint
- the bendpointpublic Point getBendpoint()
IBendpointContext
getBendpoint
in interface IBendpointContext
public void setBendpoint(Point bendpoint)
bendpoint
- the new bendpointpublic void setConnection(FreeFormConnection freeFormConnection)
freeFormConnection
- the new connectionpublic int getBendpointIndex()
IBendpointContext
getBendpointIndex
in interface IBendpointContext
public FreeFormConnection getConnection()
IBendpointContext
getConnection
in interface IBendpointContext
public void setBendpointIndex(int index)
index
- the new bendpoint indexpublic java.lang.String toString()
toString
in class DefaultContext