com.touchgraph.graphlayout.interaction
Class TGAbstractClickUI

java.lang.Object
  extended by com.touchgraph.graphlayout.interaction.TGUserInterface
      extended by com.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
          extended by com.touchgraph.graphlayout.interaction.TGAbstractClickUI
Direct Known Subclasses:
TGPanel.SwitchSelectUI

public abstract class TGAbstractClickUI
extends TGSelfDeactivatingUI

TGAbstractClickUI allows one to write interfaces that deal with mouse clicks.


Constructor Summary
TGAbstractClickUI()
           
TGAbstractClickUI(TGPanel tgp)
           
 
Method Summary
 void activate()
           
 void activate(java.awt.event.MouseEvent e)
           
 void deactivate()
           
abstract  void mouseClicked(java.awt.event.MouseEvent e)
           
 
Methods inherited from class com.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
setSelfDeactivate
 
Methods inherited from class com.touchgraph.graphlayout.interaction.TGUserInterface
activate, isActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGAbstractClickUI

public TGAbstractClickUI()

TGAbstractClickUI

public TGAbstractClickUI(TGPanel tgp)
Method Detail

activate

public final void activate()
Specified by:
activate in class TGUserInterface

activate

public final void activate(java.awt.event.MouseEvent e)

deactivate

public final void deactivate()
Overrides:
deactivate in class TGUserInterface

mouseClicked

public abstract void mouseClicked(java.awt.event.MouseEvent e)