edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction
Class TGAbstractClickUI

java.lang.Object
  extended by edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGUserInterface
      extended by edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
          extended by edu.ucla.stat.SOCR.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.

Version:
1.22-jre1.1 $Id: TGAbstractClickUI.java,v 1.1 2010/01/20 20:38:32 jiecui Exp $
Author:
Alexander Shapiro

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 edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGSelfDeactivatingUI
setSelfDeactivate
 
Methods inherited from class edu.ucla.stat.SOCR.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)