com.tensegrity.gui.graphdocument
Class GraphPanelAdapter

java.lang.Object
  extended bycom.tensegrity.gui.graphdocument.GraphPanelAdapter
All Implemented Interfaces:
GraphPanelListener

public abstract class GraphPanelAdapter
extends java.lang.Object
implements GraphPanelListener

Adapter for the GraphPanelListener interface.

Version:
$Id: GraphPanelAdapter.java,v 1.2 2004/02/20 13:08:16 GillesIachelini Exp $
Author:
GillesIachelini

Constructor Summary
GraphPanelAdapter()
          Does nothing.
 
Method Summary
 void acted(int actID)
          Invoked after each interaction cycle.
 void postAction()
          Invoked when a user interaction has completed on a GraphPanel this instance of GraphPanelListener is registered with.
 void postDropBaseComposite(BaseComposite basecomposite)
          Invoked when a BaseComposite was dragged and dropped onto the GraphPanel this GraphPanelListener.
 void postMouseClick()
          Invoked when a mouse click has completed on a GraphPanel this instance of GraphPanelListener is registered with.
 void preAction()
          Invoked when a user interaction is about to begin on a GraphPanel this instance of GraphPanelListener is registered with.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphPanelAdapter

public GraphPanelAdapter()
Does nothing.

Method Detail

postDropBaseComposite

public void postDropBaseComposite(BaseComposite basecomposite)
Description copied from interface: GraphPanelListener
Invoked when a BaseComposite was dragged and dropped onto the GraphPanel this GraphPanelListener.

Specified by:
postDropBaseComposite in interface GraphPanelListener
Parameters:
basecomposite - the

preAction

public void preAction()
Description copied from interface: GraphPanelListener
Invoked when a user interaction is about to begin on a GraphPanel this instance of GraphPanelListener is registered with. the GraphPanel this GraphPanelListener.

Specified by:
preAction in interface GraphPanelListener

acted

public void acted(int actID)
Description copied from interface: GraphPanelListener
Invoked after each interaction cycle. This method should be used with care, as the operations that are potentially done in this method affect the perceived and actual performance of interaction.

Specified by:
acted in interface GraphPanelListener
Parameters:
actID - integer id that holds one of the values defined in InteractionConstants that are prefixed with ACT*; The id gives additional info about the type of interaction that actually occured (e.g. whether a composite was manipulated or whether one or many composites were moved.

postAction

public void postAction()
Description copied from interface: GraphPanelListener
Invoked when a user interaction has completed on a GraphPanel this instance of GraphPanelListener is registered with. the GraphPanel this GraphPanelListener.

Specified by:
postAction in interface GraphPanelListener

postMouseClick

public void postMouseClick()
Description copied from interface: GraphPanelListener
Invoked when a mouse click has completed on a GraphPanel this instance of GraphPanelListener is registered with.

Specified by:
postMouseClick in interface GraphPanelListener


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.