Uses of Class
twaver.network.ElementUI

Packages that use ElementUI
twaver.core.model   
twaver.model   
twaver.model.attachment   
twaver.network   
 

Uses of ElementUI in twaver.core.model
 

Methods in twaver.core.model that return types with arguments of type ElementUI
 java.lang.Class<? extends ElementUI<?>> IElement.getUIClass()
           
 

Uses of ElementUI in twaver.model
 

Fields in twaver.model with type parameters of type ElementUI
protected  java.lang.Class<? extends ElementUI<?>> Element.uiClass
          网元UI类型
 

Methods in twaver.model that return types with arguments of type ElementUI
 java.lang.Class<? extends ElementUI<?>> Element.getUIClass()
          获取网元UI类
 

Method parameters in twaver.model with type arguments of type ElementUI
 void Element.setUIClass(java.lang.Class<? extends ElementUI<?>> uiClass)
          设置网元UI类
 

Uses of ElementUI in twaver.model.attachment
 

Methods in twaver.model.attachment with parameters of type ElementUI
 UI<T> Attachment.createUI(ElementUI<?> elementUI)
          创建附件UI类
 T Attachment.getData(UI<T> ui, ElementUI<?> elementUI)
          获取附件数据
 boolean ShapeAttachment.update(ElementUI<?> elementUI, UI ui)
           
 boolean Attachment.update(ElementUI<?> elementUI, UI _ui)
           
 void ImageAttachment.validateData(UI<IImage> ui, ElementUI<?> parentUI)
           
 void ShapeAttachment.validateData(UI<Path> ui, ElementUI<?> elementUI)
           
 void LabelAttachment.validateData(UI<java.lang.String> ui, ElementUI<?> elementUI)
           
 void Attachment.validateData(UI<T> ui, ElementUI<?> elementUI)
          生效附件数据,将附件中的属性更新到对应的UI对象中
 

Uses of ElementUI in twaver.network
 

Subclasses of ElementUI in twaver.network
 class GroupUI
           
 class LinkUI
          连线UI元素,用于绘制连线,主体使用图形元素(ShapeUI)
 class NodeUI
          节点图形元素,用于绘制网元节点
 class ShapeNodeUI
          用于呈现ShapeNode网元类型,可以填充呈现多边形,或者不填充呈现线条样式
 

Fields in twaver.network declared as ElementUI
protected  ElementUI<?> UI.elementUI
          网元UI对象
 

Methods in twaver.network that return ElementUI
 ElementUI<?> UI.getElementUI()
           
 ElementUI<? extends Element> Network.getElementUI(Element element)
          获取网元对应的UI元素
 

Constructors in twaver.network with parameters of type ElementUI
ImageUI(ElementUI<?> elementUI)
          图片UI元素,用于图片的呈现,当然并不限与静态栅格图片,也支持其他格式,比如gif动画,以及任意Drawable实现类,如NinePatchDrawable 使用IImage作为数据源,可以定制自己的IImage图形数据,更多可参考IImage
LabelUI(ElementUI<?> elementUI)
          文本标签元素,用于显示文字,默认用于网元文本标签和告警冒泡的显示,也可以用于LabelAttachment的呈现 支持文字换行,旋转时能保持文字正立
ShapeUI(ElementUI<?> elementUI)
          构造函数,图形UI元素,用于绘制图形,比如多边形,线条,用于LinkUI, ShapeNodeUI, Shape样式的节点twaver.model.Node#setContentType(twaver.Consts.CONTENT_TYPE_SHAPE)以及ShapeAttachment
UI(ElementUI<?> elementUI)
          UI对象代表网元上的图形挂件,比如文字,图片或者图形,可以在网元上添加多个UI对象,组合成复杂的网元外观