com.touchgraph.graphlayout.interaction
Class TGUserInterface
java.lang.Object
com.touchgraph.graphlayout.interaction.TGUserInterface
- Direct Known Subclasses:
- GLEditUI, GLNavigateUI, TGAbstractMouseMotionUI, TGAbstractMousePausedUI, TGSelfDeactivatingUI
public abstract class TGUserInterface
- extends 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TGUserInterface
public TGUserInterface()
activate
public abstract void activate()
isActive
public boolean isActive()
activate
public void activate(TGUserInterface parent)
deactivate
public void deactivate()