public interface IPath
Modifier and Type | Method and Description |
---|---|
IPath |
attach(IPiece cp_start,
IPiece cp_end,
IConnector out,
IConnector in,
PathType type_out,
PathType type_in)
Create Path object from start Piece object and end Piece object.
|
IPath |
detach() |
ClassEnvelope |
getConnectionClass()
Return class parameter of this path instance.
|
boolean |
getOut(IPiece piece) |
IConnector |
getOutConnector() |
PathType |
getPathType() |
ClassEnvelope |
setConnectionClass(ClassEnvelope cls) |
IPath |
setStatusHandler(ActorManager.IStatusHandler<IPath> statusHandler) |
void |
start() |
IConnector getOutConnector()
IPath setStatusHandler(ActorManager.IStatusHandler<IPath> statusHandler)
IPath attach(IPiece cp_start, IPiece cp_end, IConnector out, IConnector in, PathType type_out, PathType type_in)
cp_start
- Start Piece objectcp_end
- End Piece objectout
- Out IConnector objectin
- In IConnector objecttype_out
- type_in
- @returnIPath detach()
ClassEnvelope getConnectionClass()
ClassEnvelope setConnectionClass(ClassEnvelope cls)
void start()
PathType getPathType()
boolean getOut(IPiece piece)