twaver.network.interaction
Class DoubleTabInteraction

java.lang.Object
  extended by twaver.network.interaction.Interaction
      extended by twaver.network.interaction.DoubleTabInteraction
All Implemented Interfaces:
IInteraction

public class DoubleTabInteraction
extends Interaction

双击交互处理,包括双击进入子网,展开合并分组,以及连线捆绑的交互


Field Summary
 
Fields inherited from class twaver.network.interaction.Interaction
network
 
Constructor Summary
DoubleTabInteraction(Network network)
          构造函数
 
Method Summary
 boolean onDoubleTap(TouchEvent e)
          双击
 
Methods inherited from class twaver.network.interaction.Interaction
destroy, onDown, onFling, onLongPress, onMove, onScale, onScaleBegin, onScaleEnd, onScroll, onSingleTapConfirmed, onSingleTapUp, onUp, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleTabInteraction

public DoubleTabInteraction(Network network)
构造函数

Parameters:
network - 拓扑图
Method Detail

onDoubleTap

public boolean onDoubleTap(TouchEvent e)
Description copied from interface: IInteraction
双击

Specified by:
onDoubleTap in interface IInteraction
Overrides:
onDoubleTap in class Interaction
Parameters:
e - 触摸事件
Returns:
是否处理