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

java.lang.Object
  extended by edu.ucla.stat.SOCR.touchgraph.graphlayout.interaction.TGUserInterface
Direct Known Subclasses:
GLEditUI, GLNavigateUI, TGAbstractMouseMotionUI, TGAbstractMousePausedUI, TGSelfDeactivatingUI

public abstract class TGUserInterface
extends java.lang.Object

TGUserInterface. A user interface that can be activated or deactivated, much like a listener can be added or removed. If a parent UI is specified as a parameter to activate() then the parent UI is temporarily disabled while the current UI is active. Classes that extend TGUserInterface must call super.deactivate() if they override this method.

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

Constructor Summary
TGUserInterface()
           
 
Method Summary
abstract  void activate()
           
 void activate(TGUserInterface parent)
           
 void deactivate()
           
 boolean isActive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGUserInterface

public TGUserInterface()
Method Detail

activate

public abstract void activate()

isActive

public boolean isActive()

activate

public void activate(TGUserInterface parent)

deactivate

public void deactivate()