A B C D E F G H I K L M N O P Q R S T U V W X Y Z _

C

calculateBounds() - Method in class twaver.model.Node
计算网元范围,网元计算范围与实际显示范围不一定相同,网元实际显示范围与呈现样式有关 Node.calculateSize
calculateDistance(double, double) - Static method in class twaver.Point
计算坐标点距离原点距离
calculatePath(List<PathSegment>) - Method in class twaver.network.LinkUI
生成线段图形数据,该函数会计算连线的路径,包括节点边缘对齐,连线展开分布,自环等多种样式,具体的计算操作交由#drawLink(Rect, Rect, List)和#drawLoopedLink(Rect, List)处理 生成的结果将存放在传入的pathSegments参数中
calculateSize - Variable in class twaver.model.Node
网元计算大小,网元计算大小不一定等于Node.size,默认网元大小为空,网元计算大小则为网元图片的宽高 此外网元计算大小也不一定等于网元的显示大小,网元的显示大小由一系列样式决定
call() - Method in interface twaver.Callback
回调函数
Callback - Interface in twaver
回调函数接口
callLater(Runnable) - Method in class twaver.network.Network
分配任务到UI线程中调用
callLater(Runnable, long) - Method in class twaver.network.Network
分配任务到UI线程中延迟调用
canBind(Network) - Method in interface twaver.core.model.ILinkBundle
是否需要绑定
centerElement(Element) - Method in class twaver.network.Network
平移拓扑图,让网元居中显示
centerElement(Element, float) - Method in class twaver.network.Network
平移拓扑图,让网元居中显示
checkArgument(Object, String) - Static method in class twaver.Utils
check whether the argument is null, if the argument is empty, twaver will throw a IllegalArgumentException instance
checkAttachments(String, PropertyChangeEvent) - Method in class twaver.network.ElementUI
检查附件元素,网元增加,删除或者更新附件时,会回调此方法,用于同步相应的UI元素
checkBody() - Method in class twaver.network.NodeUI
检查主体类型,以确定使用imageUI还是shapeUI作为网元主体
checkLinkAgent() - Method in interface twaver.core.model.INode
 
checkLinkAgent() - Method in class twaver.model.Group
 
checkLinkAgent() - Method in class twaver.model.Node
重新检查所有连线的代理节点
checkNodeStyle(String, PropertyChangeEvent) - Method in class twaver.network.GroupUI
 
checkNodeStyle(String, PropertyChangeEvent) - Method in class twaver.network.NodeUI
 
checkPoints() - Method in class twaver.network.LinkUI
检查连线,是否需要重新生成路径和图形
checkVisibility(Element) - Method in class twaver.network.Network
检测网元是否可见,并将结果缓存在网元的visible属性中,Element.isVisible() 网元是否可见由twaver内部规则(Network.isInternalVisible(Element)),和可见过滤器(Network.getVisibleFilter())决定
ChildAddEvent - Class in twaver.event
添加子节点事件
ChildAddEvent(Data, Object) - Constructor for class twaver.event.ChildAddEvent
构造函数
ChildIndexChangeEvent - Class in twaver.event
子节点序号变化事件
ChildIndexChangeEvent(Data, Data, int, int) - Constructor for class twaver.event.ChildIndexChangeEvent
构造函数,子节点序号变化事件
ChildRemoveEvent - Class in twaver.event
子节点删除事件,在元素孩子删除时派发,节点更改父节点时,也会派发此类事件,因为需要将此节点先从原来的父节点下删除,然后添加到新的父节点
ChildRemoveEvent(Data, Object) - Constructor for class twaver.event.ChildRemoveEvent
构造函数,
clear() - Method in class twaver.alarm.AlarmState
Removes all alarms, include all new, acknowledged or propagated alarms, all alarm severities.
clear() - Method in class twaver.event.Dispatcher
 
clear() - Method in interface twaver.event.IDispatcher
清空监听器集合
clear() - Method in class twaver.filter.FilterDispatcher
清空过滤器
clear() - Method in class twaver.model.HashList
 
clear() - Method in class twaver.network.interaction.PanInteraction
清除导航箭头
clearAlarmSeverity() - Static method in class twaver.alarm.AlarmSeverity
clear all registered alarm severity, may be used when the user want to define their a new suit of alarm severity
clearAll() - Method in interface twaver.core.model.IHashList
 
clearAll() - Method in class twaver.model.HashCollection
 
clearAll() - Method in class twaver.model.HashList
 
clearAttachments() - Method in class twaver.model.Element
清除附件集合
clearChildren() - Method in interface twaver.core.model.IChildList
 
clearChildren() - Method in class twaver.model.Data
 
cleared - Variable in class twaver.alarm.Alarm
告警是否已清除
CLEARED - Static variable in class twaver.alarm.AlarmSeverity
清除级别
clearFollowers() - Method in class twaver.model.Node
清除跟随者
clearPopupbar() - Method in class twaver.network.Network
清空弹出菜单
clone() - Method in class twaver.alarm.AlarmState
clone() - Method in class twaver.Insets
 
clone() - Method in interface twaver.IStruct
拷贝一份新的数据,避免对原始数据的更改
clone() - Method in class twaver.network.UIBounds
 
clone() - Method in class twaver.PathSegment
 
clone() - Method in class twaver.Point
 
clone() - Method in class twaver.Rect
 
clone() - Method in class twaver.RoundRect
 
clone() - Method in class twaver.Size
 
color - Variable in class twaver.alarm.AlarmSeverity
告警级别颜色
COLOR_CLEARED - Static variable in class twaver.alarm.AlarmSeverity
 
COLOR_CRITICAL - Static variable in class twaver.alarm.AlarmSeverity
 
COLOR_INDETERMINATE - Static variable in class twaver.alarm.AlarmSeverity
 
COLOR_MAJOR - Static variable in class twaver.alarm.AlarmSeverity
 
COLOR_MINOR - Static variable in class twaver.alarm.AlarmSeverity
 
COLOR_WARNING - Static variable in class twaver.alarm.AlarmSeverity
 
colors - Variable in class twaver.shader.Gradient
渐变颜色数组
compare(AlarmSeverity, AlarmSeverity) - Method in class twaver.alarm.AlarmSeverityComparator
 
compareTo(AlarmSeverity) - Method in class twaver.alarm.AlarmSeverity
 
compareTo(Object) - Method in class twaver.alarm.AlarmState
 
Consts - Class in twaver
twaver常量
Consts() - Constructor for class twaver.Consts
 
contains(T) - Method in interface twaver.core.model.IHashList
 
contains(Link) - Method in interface twaver.core.model.ILinkBundle
是否包含连线
contains(T) - Method in class twaver.model.HashList
 
contains(Object) - Method in class twaver.model.HashList
 
contains(double, double) - Method in class twaver.Rect
是否包含坐标点
containsAll(Collection<?>) - Method in class twaver.model.HashList
 
containsById(int) - Method in interface twaver.core.model.IHashList
 
containsById(int) - Method in class twaver.model.HashList
 
CONTENT_TYPE - Static variable in class twaver.Defaults
节点内容类型
CONTENT_TYPE_IMAGE - Static variable in class twaver.Consts
图片类型
CONTENT_TYPE_SHAPE - Static variable in class twaver.Consts
图形类型
contentType - Variable in class twaver.model.Node
内容类型,默认为图片,表示网元呈现主体,可设置为图片或者图形类型 Consts.CONTENT_TYPE_IMAGE, Consts.CONTENT_TYPE_SHAPE
copyFrom(AlarmState) - Method in class twaver.alarm.AlarmState
 
cornerRadius - Variable in class twaver.model.attachment.Attachment
圆角半径
createAlphaColor(int, int) - Static method in class twaver.Utils
create a color with the setting alpha value, the following code can get a translucent red color
createAttachmentUI(Attachment<?>) - Method in class twaver.network.ElementUI
创建附件UI元素,加入为孩子
createChildren() - Method in class twaver.network.ElementUI
创建孩子元素,比如文本标签,告警标签等等
createChildren() - Method in class twaver.network.LinkUI
 
createChildren() - Method in class twaver.network.NodeUI
 
createLinkByInteraction(Node, Node, List<Point>) - Method in class twaver.network.Network
创建连线,创建连线交互时会调用此方法,同时会派发创建网元交互事件InteractionEvent.ELEMENT_CREATE
CreateLinkInteraction - Class in twaver.network.interaction
创建连线交互
CreateLinkInteraction(Network) - Constructor for class twaver.network.interaction.CreateLinkInteraction
构造函数,创建连线交互
createShapeByInteraction(List<Point>) - Method in class twaver.network.Network
创建多边形,创建多边形交互时会调用此方法,同时会派发创建网元交互事件InteractionEvent.ELEMENT_CREATE
CreateShapeInteraction - Class in twaver.network.interaction
创建多边形交互,用于创建 ShapeNode网元类型
CreateShapeInteraction(Network) - Constructor for class twaver.network.interaction.CreateShapeInteraction
构造函数,创建多边形交互,用于创建 ShapeNode网元类型
createUI(ElementUI<?>) - Method in class twaver.model.attachment.Attachment
创建附件UI类
CRITICAL - Static variable in class twaver.alarm.AlarmSeverity
严重
currentDraggingElement - Variable in class twaver.network.interaction.MoveInteraction
触摸点当前位置拖拽的网元

A B C D E F G H I K L M N O P Q R S T U V W X Y Z _