Uses of Class
twaver.model.Link

Packages that use Link
twaver.core.model   
twaver.layout   
twaver.model   
twaver.network   
 

Uses of Link in twaver.core.model
 

Methods in twaver.core.model that return Link
 Link ILinkBundle.getAgent()
          获取连线代理
 

Methods in twaver.core.model that return types with arguments of type Link
 HashList<Link> INode.getFromLinks()
           
 HashList<Link> INode.getLinks()
           
 java.util.List<Link> ILinkBundle.getLinks()
          获取所有连线集合
 HashList<Link> INode.getLoopedLinks()
           
 HashList<Link> INode.getToLinks()
           
 

Methods in twaver.core.model with parameters of type Link
 boolean ILinkBundle.contains(Link link)
          是否包含连线
 boolean ILinkBundle.isAgentLink(Link link)
          是否是代理连线
 boolean ILinkBundle.isExpanded(Link link, Network network)
          连线是否为展开状态
 

Uses of Link in twaver.layout
 

Methods in twaver.layout with parameters of type Link
 void SpringLayouter.setElasticity(Link link, float k)
          设置连线弹性系数,默认为1
 

Uses of Link in twaver.model
 

Subclasses of Link in twaver.model
 class LinkSubnetwork
          连线子网,外观与连线一致,具备子网功能
 

Methods in twaver.model that return types with arguments of type Link
 HashList<Link> Node.getAgentLinks()
          所有的代理连线
 HashList<Link> Node.getFromAgentLinks()
          获取起始端所有的代理连线
 HashList<Link> Node.getFromLinks()
          获取所有起始端连线
 HashList<Link> Node.getLinks()
          获取该节点上所有的连线
 HashList<Link> Node.getLoopedLinks()
          获取节点左右的自环
 HashList<Link> Node.getToAgentLinks()
          获取结束端所有代理连线
 HashList<Link> Node.getToLinks()
          获取所有结束端连线
 

Methods in twaver.model with parameters of type Link
 ILinkBundle ElementBox.getLinkBundle(Link link)
          获取连线捆绑器
protected  void ElementBox.onLinkAdd(Link link)
          连线添加时回调此函数
protected  void ElementBox.onLinkAgentChange(Link link, Node oldAgent, Node newAgent, Node anotherNode)
          连线代理节点变化时回调此函数
protected  void ElementBox.onLinkFromAgentChange(Link link, Node oldAgent, Node newAgent)
          连线起始端代理变化时回调此函数
protected  void ElementBox.onLinkRemove(Link link)
          连线被删除时回调此函数
protected  void ElementBox.onLinkToAgentChange(Link link, Node oldAgent, Node newAgent)
          连线结束端代理变化时回调此函数
 

Uses of Link in twaver.network
 

Methods in twaver.network that return Link
 Link Network.createLinkByInteraction(Node from, Node to, java.util.List<Point> points)
          创建连线,创建连线交互时会调用此方法,同时会派发创建网元交互事件InteractionEvent.ELEMENT_CREATE
 

Methods in twaver.network with parameters of type Link
 ILinkBundle Network.getLinkBundle(Link link)
          获取连线捆绑对象,通过该对象可以得到两节点之间所有的连线
 java.lang.String Network.getLinkBundleLabel(Link link)
          获取连线捆绑时显示的文本,默认为:+连线数量 Styles#LINK_BUNDLE_LABEL_***
 boolean Network.isLinkBundleEnabled(Link link)
          连线是否参与捆绑,默认通过连线的Styles.LINK_BUNDLE_ENABLE样式属性来决定
 boolean Network.moveLink(Link link, float dx, float dy)
          移动连线,默认有拐点hasPathSegments()的连线都可以被拖动
 void Network.reverseLinkBundleExpanded(Link link)
          展开获取合并连线绑定
 

Constructors in twaver.network with parameters of type Link
LinkUI(Link link, Network network)
          连线UI元素,用于绘制连线,主体使用图形元素(ShapeUI)