Uses of Class
twaver.network.UI

Packages that use UI
twaver.model.attachment   
twaver.network   
 

Uses of UI in twaver.model.attachment
 

Methods in twaver.model.attachment that return UI
 UI<T> Attachment.createUI(ElementUI<?> elementUI)
          创建附件UI类
 

Methods in twaver.model.attachment that return types with arguments of type UI
 java.lang.Class<? extends UI<T>> Attachment.getUiClass()
          附件对应的UI类型
 

Methods in twaver.model.attachment with parameters of type 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对象中
 

Method parameters in twaver.model.attachment with type arguments of type UI
 void Attachment.setUIClass(java.lang.Class<? extends UI<T>> uiClass)
          设置附件对应的UI类型
 

Uses of UI in twaver.network
 

Subclasses of UI in twaver.network
 class ImageUI
          图片UI元素,用于图片的呈现,当然并不限与静态栅格图片,也支持其他格式,比如gif动画,以及任意Drawable实现类,如NinePatchDrawable 使用IImage作为数据源,可以定制自己的IImage图形数据,更多可参考IImage
 class LabelUI
          文本标签元素,用于显示文字,默认用于网元文本标签和告警冒泡的显示,也可以用于LabelAttachment的呈现 支持文字换行,旋转时能保持文字正立
 class ShapeUI
          图形UI元素,用于绘制图形,比如多边形,线条 图形数据源为Path类型,也可以使用PathSegment作为数据
 

Fields in twaver.network declared as UI
protected  UI<?> ElementUI.body
          网元主体元素
 

Methods in twaver.network that return UI
 UI<?> ElementUI.getBody()
          网元主体元素
 UI<?> ElementUI.hitTest(Point point)
          获取该坐标点位置的UI元素,如果不与任何UI元素相交,则返回null
 

Methods in twaver.network that return types with arguments of type UI
 java.util.List<UI<?>> ElementUI.getChildren()
          孩子UI元素
 

Methods in twaver.network with parameters of type UI
 void ElementUI.addChild(UI<?> child)
          添加孩子元素
 void ElementUI.removeChild(UI<?> child)
          删除孩子元素
 boolean ElementUI.setBody(UI<?> body)
          设置网元的主体UI元素
 void ElementUI.setChildIndex(UI<?> child, int index)
          设置孩子元素的绘制次序