public interface Terminal extends Figure
The terminal interface exposes access to two sites: The "attach" site is the site on some other figure that the terminal positions itself on, and the "connect" site is the site that connectors can connect to.
Modifier and Type | Method and Description |
---|---|
Site |
getAttachSite()
Get the site that the terminal is attached to.
|
Site |
getConnectSite()
Get the site that a connector can connect to.
|
void |
relocate()
Tell the terminal to relocate itself because the
attachment site (or the figure that owns it) has moved.
|
void |
setAttachSite(Site s)
Set the site that the terminal is attached to.
|
contains, getBounds, getInteractor, getLayer, getOrigin, getParent, getShape, getToolTipText, hit, intersects, setInteractor, setParent, setToolTipText, transform, translate
isVisible, paint, paint, setVisible
getTransformContext, repaint, repaint
getUserObject, setUserObject
Site getAttachSite()
Site getConnectSite()
void relocate()
void setAttachSite(Site s)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.