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 _

S

scale(float, float) - Method in class twaver.PathSegment
缩放路径
scaleDetector - Variable in class twaver.network.interaction.NetworkEventHandler
缩放处理
scaleX - Variable in class twaver.shader.Gradient
x缩放比例
scaleY - Variable in class twaver.shader.Gradient
y缩放比例
seElementBox(ElementBox) - Method in class twaver.alarm.AlarmStateStatistics
Sets a new data box for this alarm state statistic.
SEGMENT_LINETO - Static variable in class twaver.Consts
画线
SEGMENT_MOVETO - Static variable in class twaver.Consts
移动画笔
SEGMENT_QUADTO - Static variable in class twaver.Consts
曲线
select(T) - Method in interface twaver.core.model.ISelectionModel
选中元素
select(T) - Method in class twaver.model.SelectionModel
 
SELECT_BETWEEN - Static variable in class twaver.network.interaction.InteractionEvent
正在框选
SELECT_END - Static variable in class twaver.network.interaction.InteractionEvent
结束框选
SELECT_START - Static variable in class twaver.network.interaction.InteractionEvent
开始框选
SELECTION_BORDER_COLOR - Static variable in class twaver.Styles
选中边框颜色
SELECTION_BORDER_WIDTH - Static variable in class twaver.Styles
选中边框宽度
SELECTION_RECTANGLE_FILL_COLOR - Static variable in class twaver.Defaults
框选框填充色
SELECTION_RECTANGLE_STROKE - Static variable in class twaver.Defaults
框选框宽度
SELECTION_RECTANGLE_STROKE_COLOR - Static variable in class twaver.Defaults
框选框颜色
SELECTION_TOLERANCE - Static variable in class twaver.Defaults
图形点选容差,适用于连线以及多边形
SelectionInteraction - Class in twaver.network.interaction
点选交互
SelectionInteraction(Network) - Constructor for class twaver.network.interaction.SelectionInteraction
构造函数,点选操作
SelectionModel<T extends Data> - Class in twaver.model
选中模型,用于元素的选中状态管理,可以选中或者取消元素的选中状态
SelectionModel(HashCollection<T>) - Constructor for class twaver.model.SelectionModel
 
sendToBottom - Variable in class twaver.model.attachment.Attachment
是否绘制在网元的下层
sendToBottom(Layer) - Method in class twaver.model.LayerBox
置底图层,该图层将绘制在底层
sendToTop(Layer) - Method in class twaver.model.LayerBox
置顶图层,该图层将绘制在顶层
sendToTop(Element) - Method in class twaver.network.Network
网元置顶,默认点选时会调用此方法
serialize(AlarmSeverity, StringBuffer) - Method in class twaver.alarm.AlarmSeveritySerializer
 
serialize() - Method in class twaver.alarm.AlarmState
 
serialize() - Method in class twaver.Insets
 
serialize(String, Object, String, StringBuffer) - Method in class twaver.model.attachment.Attachment
序列化属性
serialize() - Method in class twaver.model.attachment.Attachment
 
serialize(StringBuffer) - Method in class twaver.model.attachment.Attachment
序列化附件
serialize(StringBuffer) - Method in class twaver.model.attachment.ImageAttachment
 
serialize(StringBuffer) - Method in class twaver.model.attachment.LabelAttachment
 
serialize(StringBuffer) - Method in class twaver.model.attachment.ShapeAttachment
 
serialize() - Method in interface twaver.model.io.ISerializable
序列化该对象
serialize(T, StringBuffer) - Method in interface twaver.model.io.ISerializer
序列化数据
serialize(List, StringBuffer) - Method in class twaver.model.io.ListSerializer
 
serialize(DataBox) - Method in class twaver.model.io.XMLSerializer
序列化指定数据容器中的数据
serialize(DataBox, StringBuffer) - Method in class twaver.model.io.XMLSerializer
 
serialize() - Method in class twaver.PathSegment
 
serialize() - Method in class twaver.Point
 
serialize() - Method in class twaver.Rect
 
serialize() - Method in class twaver.RoundRect
 
serialize() - Method in class twaver.shader.Gradient
 
serialize() - Method in class twaver.Size
 
set(String, Object) - Method in interface twaver.core.model.IData
 
set(T) - Method in interface twaver.core.model.IHashList
 
set(Collection<? extends T>) - Method in interface twaver.core.model.IHashList
 
set(float) - Method in class twaver.Insets
设置间隙
set(float, float, float, float) - Method in class twaver.Insets
设置上左下右四个方向的间隙
set(String, Object) - Method in class twaver.model.Data
 
set(T) - Method in class twaver.model.HashList
 
set(Collection<? extends T>) - Method in class twaver.model.HashList
 
set(PathSegment) - Method in class twaver.PathSegment
从指定路径片段拷贝路径参数
set(Point) - Method in class twaver.Point
设置坐标点位置
set(float, float) - Method in class twaver.Point
设置坐标点位置
set(double, double) - Method in class twaver.Point
设置坐标点位置
set(Rect) - Method in class twaver.Rect
从指定矩形中获取参数数值
set(double, double, double, double) - Method in class twaver.Rect
设置矩形参数
set(Point, Size) - Method in class twaver.Rect
设置矩形参数
set(String, Object) - Method in class twaver.Styles
设置样式
setAcked(boolean) - Method in class twaver.alarm.Alarm
确认告警
setAcknowledgedAlarmCount(AlarmSeverity, int) - Method in class twaver.alarm.AlarmState
Sets a new total acknowledged alarm number for the given severity.
setAlarmElementMapping(IAlarmElementMapping) - Method in class twaver.alarm.AlarmBox
Set the alarm-element mapping object for this alarm box.
setAlarmSeverity(AlarmSeverity) - Method in class twaver.alarm.Alarm
设置告警级别
setAlarmState(AlarmState) - Method in class twaver.model.Element
设置告警状态,twaver内部使用
setAnchorPosition(Position) - Method in class twaver.model.attachment.Attachment
设置附件挂载位置
setAnchorPosition(Position) - Method in class twaver.model.Node
设置挂载点位置
setAngle(float) - Method in class twaver.shader.Gradient
设置旋转角度
setAntiAlias(boolean) - Method in class twaver.network.Network
设置抗锯齿效果绘制拓扑图
setAntiAlias(boolean) - Method in class twaver.network.NetworkCanvas
设置图形去锯齿效果
setBackgroundColor(int) - Method in class twaver.model.attachment.Attachment
设置背景色
setBackgroundShader(IShader) - Method in class twaver.model.attachment.Attachment
设置背景着色器
setBody(UI<?>) - Method in class twaver.network.ElementUI
设置网元的主体UI元素
setCallback(Runnable) - Method in class twaver.layout.AutoLayouter
设置回调函数,布局完成后回调此函数
setChildIndex(Data, int) - Method in interface twaver.core.model.IChildList
 
setChildIndex(Data, int) - Method in class twaver.model.Data
 
setChildIndex(UI<?>, int) - Method in class twaver.network.ElementUI
设置孩子元素的绘制次序
setCleared(boolean) - Method in class twaver.alarm.Alarm
设置告警是否已清除
setClearedAlarmSeverity(AlarmSeverity) - Static method in class twaver.alarm.AlarmSeverity
Sets the appointed alarm severity as cleared alarm severity.
setClosePath(boolean) - Method in class twaver.model.attachment.ShapeAttachment
设置图形是否闭合
setClosePath(boolean) - Method in class twaver.network.ShapeUI
是否闭合
setColor(int) - Method in class twaver.alarm.AlarmSeverity
Change the color of this alarm severity.
setColor(int) - Method in class twaver.model.attachment.LabelAttachment
设置文本颜色
setColor(int) - Method in class twaver.network.LabelUI
文本颜色
setColors(int[]) - Method in class twaver.shader.Gradient
设置渐变颜色
setContentType(int) - Method in class twaver.model.Node
设置内容类型,默认为图片,表示网元呈现主体,可设置为图片或者图形类型 Consts.CONTENT_TYPE_IMAGE, Consts.CONTENT_TYPE_SHAPE Node.contentType Node.getContentType()
setContext(Context) - Static method in class twaver.Utils
设置应用上下文,可用于图片资源获取,以及设备长度单位的转换Utils.dpToPixels(float), Utils.pixelsToDp(float) 默认在拓扑图初始化时,自动设置,当然你也可以提前设置
setCornerRadius(float) - Method in class twaver.model.attachment.Attachment
设置圆角半径
setCurrentInteractionMode(String) - Method in class twaver.network.Network
设置当前交互模式
setCurrentSubnetwork(ISubnetwork) - Method in class twaver.network.Network
设置当前子网
setDashPattern(float[]) - Method in class twaver.network.ShapeUI
 
setData(T) - Method in class twaver.model.attachment.Attachment
设置附件图形数据
setData(IImage) - Method in class twaver.network.ImageUI
 
setDefaultInteractionMode(String) - Method in class twaver.network.Network
设置默认交互模式
setDefaultInteractionMode(String, boolean) - Method in class twaver.network.Network
设置默认交互模式
setDisplayName(String) - Method in class twaver.alarm.AlarmSeverity
Change the new display name of this alarm severity.
setEditable(boolean) - Method in class twaver.model.Layer
设置图层上的网元能否编辑
setEditting(boolean) - Method in class twaver.network.Network
设置网元正在被编辑,用于交互模式
setElasticity(float) - Method in class twaver.layout.SpringLayouter
设置弹性系数
setElasticity(Link, float) - Method in class twaver.layout.SpringLayouter
设置连线弹性系数,默认为1
setElement(Element) - Method in class twaver.alarm.AlarmState
Change element object for this alarm state.
setElementBox(ElementBox) - Method in class twaver.network.Network
设置网元容器
setElementId(int) - Method in class twaver.alarm.Alarm
设置网元编号
setElementSizeGenerator(Generator<Node, Size>) - Method in class twaver.layout.AutoLayouter
设置网元大小生成器,默认取网元UI大小,网元UI不存在时,取网元的计算大小 Node.getCalculateSize()
setElementStyleGenerator(Generator2<Element, String, Object>) - Method in class twaver.network.Network
设置网元样式生成器,默认为StyleGenerator
setEnable(boolean) - Method in class twaver.alarm.PropertyPropagator
Enable or disable this propagator.
setEnablePropagation(boolean) - Method in class twaver.alarm.AlarmState
Determines whether or not the children's alarm state can propagate to the related element of this alarm state.
setExpanded(boolean) - Method in interface twaver.core.model.ILinkBundle
展开或者合并连线绑定
setExpanded(boolean) - Method in class twaver.model.Group
设置展开状态
setFillColor(int) - Method in class twaver.model.attachment.ShapeAttachment
设置填充颜色
setFillColor(int) - Method in class twaver.network.ShapeUI
设置填充颜色
setFillShader(IShader) - Method in class twaver.model.attachment.ShapeAttachment
设置填充着色器
setFillShader(IShader) - Method in class twaver.network.ShapeUI
设置填充着色器,比如渐变
setFitNodeHeight(boolean) - Method in class twaver.model.attachment.LabelAttachment
设置是否适应网元高度
setFitNodeHeight(boolean) - Method in class twaver.network.LabelUI
是否适应网元的高度,该属性为true时,将使用网元高度与文本原始高度的最大值,作为文本UI的高度
setFitNodeWidth(boolean) - Method in class twaver.model.attachment.LabelAttachment
设置文本标签是否适应网元宽度
setFitNodeWidth(boolean) - Method in class twaver.network.LabelUI
是否适应网元的宽度,该属性为true时,将使用网元宽度与文本原始宽度中的最大值,作为文本UI的宽度
setFollowerIndex(Node, int) - Method in class twaver.model.Node
设置跟随者索引位置
setFont(Typeface) - Method in class twaver.model.attachment.LabelAttachment
设置文本字体
setFont(Typeface) - Method in class twaver.network.LabelUI
设置文字字体,默认字体为Defaults.FONT
setFontSize(float) - Method in class twaver.model.attachment.LabelAttachment
设置文本字体大小
setFontSize(float) - Method in class twaver.network.LabelUI
设置文字字体大小,默认大小为Defaults.FONT_SIZE
setFormat(boolean) - Method in class twaver.model.io.XMLSerializer
设置xml是否格式化(首行缩进)
setFrom(Node) - Method in interface twaver.core.model.ILink
 
setFrom(Node) - Method in class twaver.model.Link
设置起始端,会派发Consts.PROPERTYNAME_LINK_FROM属性变化事件
setGap(float) - Method in class twaver.layout.SpringLayouter
设置间隔
setGroupMinSize(Size) - Method in class twaver.model.Group
设置分组展开时的最小大小
setGroupSize(double, double) - Method in class twaver.model.Group
设置分组展开时的最小宽高, Group.setGroupMinSize(Size)
setHeight(float) - Method in class twaver.Size
设置高度
setHost(Node) - Method in interface twaver.core.model.IFollower
 
setHost(Node) - Method in class twaver.model.Node
设置宿主节点,与Node.addFollower(Node)可以实现相同的功能,以下两行代码作用相同:
setImage(Object) - Method in class twaver.model.attachment.ImageAttachment
设置图片
setImage(Object) - Method in class twaver.model.Node
设置网元图片,支持多种类型,栅格图片,gif动画,Drawable实现类,IImage实现类 通常图片先进行全局注册Utils.registerImage(String, IImage),然后通过注册名称使用,比如:
setIndex(int, T) - Method in interface twaver.core.model.IHashList
 
setIndex(int, T) - Method in class twaver.model.HashCollection
 
setIndex(int, T) - Method in class twaver.model.HashList
 
setInertiaEffect(boolean) - Method in class twaver.network.Network
是否使用惯性动画效果,默认为true,在拓扑图平移放手时,会随惯性滑动一段距离
setInterval(int) - Method in class twaver.layout.SpringLayouter
设置定时器间隔时间
setInterval(int) - Method in class twaver.Timer
设置间隔时间,默认间隔时间为:Defaults.TIMER_INTERVAL,最小间隔时间为:Defaults.TIMER_INTERVAL_MIN
setLabelGenerator(Generator<Element, String>) - Method in class twaver.network.Network
设置网元文本生成器,默认取网元的name属性
setLayerId(int) - Method in interface twaver.core.model.IElement
 
setLayerId(int) - Method in class twaver.model.Element
设置图层编号
setLayoutByAnchorPoint(boolean) - Method in class twaver.network.ElementUI
是否按挂载布局,不同节点是按挂载点布局,ShapeNode类型则不是
setLayoutByPath(boolean) - Method in class twaver.network.ShapeNodeUI
设置孩子是否沿路径布局,设置true时,网元上挂载的元素将沿线分布
setLayoutType(int) - Method in class twaver.layout.AutoLayouter
设置布局类型 Consts#LAYOUT_***
setListener(IListener<E>) - Method in class twaver.event.HandlerSupport
 
setListener(IListener<E>) - Method in interface twaver.event.IHandler
设置监听器
setListener(IListener<PropertyChangeEvent>) - Method in class twaver.model.Data
 
setListener(IListener<ListEvent<T>>) - Method in class twaver.model.HashCollection
 
setLocation(Point) - Method in class twaver.model.Node
设置节点坐标
setLocation(double, double) - Method in class twaver.model.Node
设置节点坐标
setMass(Node, float) - Method in class twaver.layout.SpringLayouter
设置节点质量,默认为1
setMaxZoom(float) - Method in class twaver.network.Network
设置最大缩放比例
setMinZoom(float) - Method in class twaver.network.Network
设置最小缩放比例
setMovable(boolean) - Method in class twaver.model.Layer
设置图层上的网元能否移动
setMovableFilter(IFilter<Element>) - Method in class twaver.network.Network
设置网元能否拖动过滤器,在移动交互器中会用到此逻辑MoveInteraction
setName(String) - Method in class twaver.model.attachment.Attachment
设置附件名称
setName(String) - Method in class twaver.model.Element
设置网元名称
setName(String) - Method in class twaver.model.Layer
设置图层名称
setNetwork(Network) - Method in class twaver.layout.AutoLayouter
设置拓扑图对象
setNewAlarmCount(AlarmSeverity, int) - Method in class twaver.alarm.AlarmState
Sets the new alarm total count for given severity.
setNickName(String) - Method in class twaver.alarm.AlarmSeverity
Change the new nickname of this severity.
setNoAgentLinkVisible(boolean) - Method in class twaver.network.Network
设置无效连线是否可见
setOffset(Point) - Method in class twaver.model.attachment.Attachment
设置附件偏移量
setOutline(float) - Method in class twaver.model.attachment.Attachment
设置边框宽度
setOutline(float) - Method in class twaver.network.UIBounds
边框宽度
setOutlineColor(int) - Method in class twaver.model.attachment.Attachment
设置边框颜色
setPadding(Insets) - Method in class twaver.model.attachment.Attachment
设置填充间距
setPadding(Insets) - Method in class twaver.network.UIBounds
填充间隙
setParent(Data) - Method in interface twaver.core.model.IChildList
 
setParent(Data, int) - Method in interface twaver.core.model.IChildList
 
setParent(Data) - Method in class twaver.model.Data
 
setParent(Data, int) - Method in class twaver.model.Data
 
setPathSegment(List<PathSegment>) - Method in class twaver.network.ShapeUI
设置图形数据
setPathSegment(List<PathSegment>, boolean) - Method in class twaver.network.ShapeUI
设置图形数据
setPointerVisible(boolean) - Method in class twaver.model.attachment.Attachment
设置是否显示冒泡指针
setPointerWidth(float) - Method in class twaver.model.attachment.Attachment
设置冒泡指针宽度
setPosition(Position) - Method in class twaver.model.attachment.Attachment
设置附件位置
setPosition(Position) - Method in class twaver.network.UI
设置UI在网元上的位置
setPositions(float[]) - Method in class twaver.shader.Gradient
设置渐变颜色位置,数量应该与渐变颜色数量一致
setPropagateSeverity(AlarmSeverity) - Method in class twaver.alarm.AlarmState
Set the propagate alarm severity.
setProperty(String, Object, PropertyChangeEvent, Map<String, Object>) - Method in class twaver.model.Data
设置属性
setRectangleSelectable(boolean) - Method in class twaver.network.Network
 
setRemoveAlarmWhenAlarmIsCleared(boolean) - Method in class twaver.alarm.AlarmBox
Set the flag value whether the alarm object will be removed from the alarm box when this alarm severity/status is changed to "cleared".
setRemoveAlarmWhenElementIsRemoved(boolean) - Method in class twaver.alarm.AlarmBox
Set the flag value which is used to indicate that whether all alarms occured on an element need to be removed as well when the element is removed from the element box.
setRenderColor(int) - Method in class twaver.network.ElementUI
设置渲染色
setResizableFilter(IFilter<Node>) - Method in class twaver.network.Network
设置能否调整节点大小过滤器
setRotatable(boolean) - Method in class twaver.model.attachment.Attachment
是否随连线旋转
setScaleX(float) - Method in class twaver.shader.Gradient
设置x缩放比例
setScaleY(float) - Method in class twaver.shader.Gradient
设置y方向缩放比例
setSelectableFilter(IFilter<Element>) - Method in class twaver.network.Network
设置网元能否选中过滤器,适用于界面交互,SelectionInteraction, RectangleSelectionInteraction
setSelected(boolean) - Method in class twaver.network.ElementUI
设置网元呈现选中效果
setSelectionBorder(float) - Method in class twaver.network.ElementUI
设置选中边框宽度,也就是选中阴影的半径
setSelectionBorder(float) - Method in class twaver.network.UIBounds
选中边框宽度
setSelectionBorderColor(int) - Method in class twaver.network.ElementUI
设置选中边框颜色
setSendToBottom(boolean) - Method in class twaver.model.attachment.Attachment
设置附件显示在网元的底层
setSendToBottom(boolean) - Method in class twaver.network.UI
是否显示在网元主体之下
setSeverityComparator(Comparator<AlarmSeverity>) - Static method in class twaver.alarm.AlarmSeverity
Set the alarm severity comparator object.
setShapeType(String) - Method in class twaver.model.attachment.ShapeAttachment
设置图形类型
setShapeType(String) - Method in class twaver.network.ShapeUI
设置图形类型,可以注册自己的图形
setShowOnTop(boolean) - Method in class twaver.model.attachment.Attachment
设置附件置顶显示
setSize(Size) - Method in class twaver.model.attachment.Attachment
设置附件大小
setSize(Size) - Method in class twaver.model.Node
设置网元大小
setSize(double, double) - Method in class twaver.model.Node
设置网元大小,@see Node.setSize(Size)
setSize(Size) - Method in class twaver.network.ImageUI
设置图片尺寸 当size的width或者height为-1时,twaver会保持等比例缩放 如果图片原始宽高为32*16,比如下面的代码,可设置网元宽度为40,高度保持等比例为20 node.setSize(new Size(40, -1));
setSize(Size) - Method in class twaver.network.ShapeUI
设置图形的尺寸,准确地说是缩放比例,因为twaver默认图形都是限定在1X1的范围内,所以等同于图形的尺寸
setStroke(float) - Method in class twaver.model.attachment.ShapeAttachment
设置边线宽度
setStroke(float) - Method in class twaver.network.ShapeUI
设置边线宽度
setStrokeCap(Cap) - Method in class twaver.network.ShapeUI
设置端点样式
setStrokeColor(int) - Method in class twaver.model.attachment.ShapeAttachment
设置边线颜色
setStrokeColor(int) - Method in class twaver.network.ShapeUI
设置边线颜色
setStrokeJoin(Join) - Method in class twaver.network.ShapeUI
设置拐点样式
setStrokeOutline(float) - Method in class twaver.network.ShapeUI
设置边线外框宽度
setStrokeOutlineColor(int) - Method in class twaver.network.ShapeUI
设置边线外框颜色
setStrokeShader(IShader) - Method in class twaver.network.ShapeUI
设置边线着色器,比如渐变
setStyle(String, Object) - Method in interface twaver.core.model.IStyle
设置样式
setStyle(String, Object) - Method in class twaver.model.Element
设置样式属性
setStyles(Styles) - Method in class twaver.network.Network
设置默认样式列表,默认取Styles.getInstance()
setTo(Node) - Method in interface twaver.core.model.ILink
 
setTo(Node) - Method in class twaver.model.Link
设置结束端节点,如果设置成功,会派发Consts.PROPERTYNAME_LINK_TO属性变化事件
setTransform(float, float, float) - Method in class twaver.network.Network
设置缩放比例和偏移量
setTranslate(float, float) - Method in class twaver.network.Network
设置拓扑图偏移量,与Network.translate(float, float)方法作用不同,此方法不考虑原来的偏移量
setTranslateX(float) - Method in class twaver.shader.Gradient
设置x偏移量
setTranslateY(float) - Method in class twaver.shader.Gradient
设置y偏移量
setType(String) - Method in class twaver.shader.Gradient
设置渐变类型
setUIClass(Class<? extends UI<T>>) - Method in class twaver.model.attachment.Attachment
设置附件对应的UI类型
setUIClass(Class<? extends ElementUI<?>>) - Method in class twaver.model.Element
设置网元UI类
setVisible(boolean) - Method in class twaver.model.attachment.Attachment
 
setVisible(boolean) - Method in class twaver.model.Layer
设置图层上的网元能否可见
setVisibleFilter(IFilter<Element>) - Method in class twaver.alarm.AlarmStateStatistics
Sets a new visible filter for this alarm statistic.
setVisibleFilter(IFilter<Element>) - Method in class twaver.network.Network
设置网元可见过滤器,调用此方法后,网元的可见状态缓存被清除,并在绘制时重新确定可见状态Network.checkVisibility(Element)
setWidth(float) - Method in class twaver.Size
设置宽度
setXOffset(int) - Method in class twaver.layout.AutoLayouter
设置x偏移量
setYOffset(int) - Method in class twaver.layout.AutoLayouter
设置y方向偏移量
setZoom(float, float, float) - Method in class twaver.network.Network
设置缩放比例,按指定点为中心缩放
setZoom(float) - Method in class twaver.network.Network
设置缩放比例,按(0,0)为参照点进行缩放
ShaderFactory - Class in twaver.shader
着色器工厂,可在此注册定制的着色器
ShaderFactory() - Constructor for class twaver.shader.ShaderFactory
 
shape - Variable in class twaver.network.ArrowInfo
箭头类型 Consts#SHAPE_***
SHAPE_ARROW_DELTA - Static variable in class twaver.Consts
三角形
SHAPE_ARROW_DIAMOND - Static variable in class twaver.Consts
菱形
SHAPE_ARROW_OVAL - Static variable in class twaver.Consts
圆形
SHAPE_ARROW_SHORT - Static variable in class twaver.Consts
短箭头
SHAPE_ARROW_SLANT - Static variable in class twaver.Consts
倾斜箭头
SHAPE_ARROW_STANDARD - Static variable in class twaver.Consts
标准箭头
SHAPE_ARROW_STANDARD_OPEN - Static variable in class twaver.Consts
箭头不填充
SHAPE_ARROW_T - Static variable in class twaver.Consts
T形箭头
SHAPE_CIRCLE - Static variable in class twaver.Consts
圆形
SHAPE_CLOSE - Static variable in class twaver.Styles
图形是否闭合
SHAPE_DIAMOND - Static variable in class twaver.Consts
菱形
SHAPE_FILL_COLOR - Static variable in class twaver.Defaults
图形填充色
SHAPE_FILL_COLOR - Static variable in class twaver.Styles
图形填充颜色
SHAPE_FILL_SHADER - Static variable in class twaver.Styles
图形填充着色器
SHAPE_HEXAGON - Static variable in class twaver.Consts
六角形
SHAPE_PENTAGON - Static variable in class twaver.Consts
五角形
SHAPE_RECT - Static variable in class twaver.Consts
矩形
SHAPE_ROUNDRECT - Static variable in class twaver.Consts
圆角矩形
SHAPE_SIZE - Static variable in class twaver.Defaults
图形大小
SHAPE_STAR - Static variable in class twaver.Consts
星形
SHAPE_STROKE - Static variable in class twaver.Defaults
图形边框
SHAPE_STROKE - Static variable in class twaver.Styles
图形边框
SHAPE_STROKE_CAP - Static variable in class twaver.Styles
图形边框端点样式
SHAPE_STROKE_COLOR - Static variable in class twaver.Defaults
图形边框颜色
SHAPE_STROKE_COLOR - Static variable in class twaver.Styles
图形边框颜色
SHAPE_STROKE_JOIN - Static variable in class twaver.Styles
图形边框拐点样式
SHAPE_STROKE_PATTERN - Static variable in class twaver.Styles
虚线数组,比如
SHAPE_TRIANGLE - Static variable in class twaver.Consts
三角形
SHAPE_TYPE - Static variable in class twaver.Styles
图形类型
ShapeAttachment - Class in twaver.model.attachment
图形附件,用于网元上挂载图形元素,对应的UI类是: ShapeUI
ShapeAttachment() - Constructor for class twaver.model.attachment.ShapeAttachment
构造函数,图形附件,用于网元上挂载图形元素,对应的UI类是: ShapeUI
ShapeAttachment(String, String) - Constructor for class twaver.model.attachment.ShapeAttachment
构造函数,图形附件,用于网元上挂载图形元素,对应的UI类是: ShapeUI
ShapeNode - Class in twaver.model
多边形节点,继承于Node,实现了IShape接口,可以添加路径片段,通过添加路径片段,围成一个多边形, 可以填充颜色或者渐变,如果不填充,则表现为线条样式 默认UI类为ShapeNodeUI
ShapeNode() - Constructor for class twaver.model.ShapeNode
多边形节点,继承于Node,实现了IShape接口,可以添加路径片段,通过添加路径片段,围成一个多边形, 可以填充颜色或者渐变,如果不填充,则表现为线条样式 默认UI类为ShapeNodeUI
SHAPENODE_LAYOUT_BY_PATH - Static variable in class twaver.Styles
多边形上,挂载图元沿路径布局,设置此样式可以实现文本标签沿线旋转
ShapeNodeUI - Class in twaver.network
用于呈现ShapeNode网元类型,可以填充呈现多边形,或者不填充呈现线条样式
ShapeNodeUI(ShapeNode, Network) - Constructor for class twaver.network.ShapeNodeUI
 
ShapeSubnetwork - Class in twaver.model
子网多边形,继承于ShapeNode,实现了子网接口
ShapeSubnetwork() - Constructor for class twaver.model.ShapeSubnetwork
子网多边形,继承于ShapeNode,实现了子网接口
shapeUI - Variable in class twaver.network.NodeUI
图形元素 节点主体可以是图片,也可以是图形,可以使用Node.setContentType(int)进行切换 如果使用多边形或者线段作为主体,则用shapeUI作为body,此外ShapeNodeUI也使用shapeUI作为body
ShapeUI - Class in twaver.network
图形UI元素,用于绘制图形,比如多边形,线条 图形数据源为Path类型,也可以使用PathSegment作为数据
ShapeUI(ElementUI<?>) - Constructor for class twaver.network.ShapeUI
构造函数,图形UI元素,用于绘制图形,比如多边形,线条,用于LinkUI, ShapeNodeUI, Shape样式的节点twaver.model.Node#setContentType(twaver.Consts.CONTENT_TYPE_SHAPE)以及ShapeAttachment
showOnTop - Variable in class twaver.model.attachment.Attachment
是否置顶显示
showTooltip(String) - Method in class twaver.network.Network
显示文本提示,将出现在拓扑图的顶部中心位置
showTooltip(String) - Method in class twaver.network.TopCanvas
显示提示文本
SingleTouchDragInteraction - Class in twaver.network.interaction
单点触摸交互监听器,用于单点拖拽,平移,框选等交互的封装
SingleTouchDragInteraction(Network) - Constructor for class twaver.network.interaction.SingleTouchDragInteraction
单点触摸交互监听器,用于单点拖拽,平移,框选等交互的封装
size() - Static method in class twaver.alarm.AlarmSeverity
Gets the count of defined alarm severities.
size() - Method in interface twaver.core.model.IHashList
 
size() - Method in interface twaver.core.model.ILinkBundle
当前连线数量
size - Variable in class twaver.model.attachment.Attachment
附件大小
size() - Method in class twaver.model.HashList
 
size - Variable in class twaver.model.Node
网元大小,网元大小不一定等于网元计算大小Node.calculateSize,默认网元大小为空,网元计算大小则为网元图片的宽高
Size - Class in twaver
用于描述对象的尺寸或者大小,包含宽度和高度两个参数,默认宽高为0
Size() - Constructor for class twaver.Size
用于描述对象的尺寸或者大小,包含宽度和高度两个参数,默认宽高为0
Size(double, double) - Constructor for class twaver.Size
指定宽高
Size(Size) - Constructor for class twaver.Size
 
sort(Comparator<T>) - Method in class twaver.model.HashList
 
sortName - Variable in enum twaver.HorizontalPosition
 
sortName() - Method in enum twaver.Position
 
sortName - Variable in enum twaver.VerticalPosition
 
source - Variable in class twaver.event.Event
事件发生源
SpringLayouter - Class in twaver.layout
弹簧动态布局
SpringLayouter(Network) - Constructor for class twaver.layout.SpringLayouter
构造函数,弹簧布局
start() - Method in class twaver.layout.SpringLayouter
动态布局
start() - Method in class twaver.Timer
启动定时器
start(int) - Method in class twaver.Timer
指定延迟时间后启动定时器
startDrag(TouchEvent, TouchEvent, float, float) - Method in class twaver.network.interaction.CreateLinkInteraction
 
startDrag(TouchEvent, TouchEvent, float, float) - Method in class twaver.network.interaction.MoveInteraction
 
startDrag(TouchEvent, TouchEvent, float, float) - Method in class twaver.network.interaction.PointsInteraction
 
startDrag(TouchEvent, TouchEvent, float, float) - Method in class twaver.network.interaction.RectangleSelectionInteraction
 
startDrag(TouchEvent, TouchEvent, float, float) - Method in class twaver.network.interaction.ResizeInteraction
 
startDrag(TouchEvent, TouchEvent, float, float) - Method in class twaver.network.interaction.SingleTouchDragInteraction
开始拖拽
STATE_OUTLINE - Static variable in class twaver.Defaults
状态边框宽度
STATE_OUTLINE_COLOR - Static variable in class twaver.Styles
状态边框颜色
STATE_OUTLINE_WIDTH - Static variable in class twaver.Styles
状态边框宽度
stop() - Method in class twaver.layout.SpringLayouter
停止布局
stop() - Method in class twaver.network.interaction.PointsInteraction
 
stop() - Method in class twaver.network.interaction.ResizeInteraction
 
stop() - Method in class twaver.network.interaction.SingleTouchDragInteraction
停止拖拽,默认与重置拖拽状态相同 SingleTouchDragInteraction.reset()
stop() - Method in class twaver.Timer
停止定时器
stopPan() - Method in class twaver.network.Network
停止平移
stopWhenMultiTouch - Variable in class twaver.network.interaction.SingleTouchDragInteraction
多点操作时,是否结束当前操作,默认为true
strokeCap - Variable in class twaver.network.ArrowInfo
端点样式
strokeColor - Variable in class twaver.network.ArrowInfo
边线颜色
strokeColor - Variable in class twaver.network.interaction.CreateShapeInteraction
 
strokeJoin - Variable in class twaver.network.ArrowInfo
拐点样式
strokeWidth - Variable in class twaver.network.ArrowInfo
边线宽度
StyleChangeEvent - Class in twaver.event
样式变化事件
StyleChangeEvent(Element, String, Object, Object) - Constructor for class twaver.event.StyleChangeEvent
网元样式变化事件
StyleGenerator - Class in twaver.network
默认网元样式生成器
StyleGenerator(Network) - Constructor for class twaver.network.StyleGenerator
默认网元样式生成器
Styles - Class in twaver
拓扑图样式列表
Styles() - Constructor for class twaver.Styles
构造函数
Subnetwork - Class in twaver.model
子网节点,继承于Node,实现了子网接口
Subnetwork() - Constructor for class twaver.model.Subnetwork
子网节点,继承于Node,实现了子网接口
SUBNETWORK_BACK - Static variable in class twaver.network.interaction.InteractionEvent
退出子网
SUBNETWORK_ENTER - Static variable in class twaver.network.interaction.InteractionEvent
进入子网
SUBNETWORK_IMAGE - Static variable in class twaver.Defaults
子网图片
SWEEP - Static variable in class twaver.shader.Gradient
sweep渐变类型

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 _