com.tensegrity.composite
Interface CompositeInteractionHandler


public interface CompositeInteractionHandler

This interfaces defines the method needed for interactions on Composites.

Version:
$Id: CompositeInteractionHandler.java,v 1.5 2004/10/25 15:47:53 MichaelKegel Exp $
Author:
MichaelKegel

Method Summary
 void actAt(CompositeView compositeView, CompositeGroup compositeGroup, InteractionInfo interactionInfo, int actionID)
          Called during the acting part (drag) of a user interaction on the involved CompositeGroup.
 void postAction(CompositeView compositeview, CompositeGroup compositegroup, InteractionInfo interactionInfo)
          TODO : comment
 void preActAt()
          Called before changes to the involved CompositeGroup are realized.
 void preAction(CompositeView compositeview, CompositeGroup compositegroup, InteractionInfo interactionInfo)
          TODO : comment
 void startActionAt(CompositeView compositeview, CompositeGroup compositegroup, InteractionInfo interactionInfo)
          Called when a user interaction starts.
 void stopActionAt(CompositeView compositeview, CompositeGroup compositegroup, InteractionInfo interactionInfo, int actionID)
          Called when a user interaction stops.
 

Method Detail

preAction

public void preAction(CompositeView compositeview,
                      CompositeGroup compositegroup,
                      InteractionInfo interactionInfo)
TODO : comment

Parameters:
compositeview -
compositegroup -
interactionInfo -

startActionAt

public void startActionAt(CompositeView compositeview,
                          CompositeGroup compositegroup,
                          InteractionInfo interactionInfo)
Called when a user interaction starts.

Parameters:
compositeview - the CompositeView the given CompositeGroup lies in.
compositegroup - the CompositeGroup an interaction starts on.
interactionInfo - the InteractionInfo containing details for the interaction.

preActAt

public void preActAt()
Called before changes to the involved CompositeGroup are realized.


actAt

public void actAt(CompositeView compositeView,
                  CompositeGroup compositeGroup,
                  InteractionInfo interactionInfo,
                  int actionID)
Called during the acting part (drag) of a user interaction on the involved CompositeGroup.

Parameters:
compositeView - the CompositeView the given CompositeGroup lies in.
compositeGroup - the CompositeGroup an interaction occurs on.
interactionInfo - the InteractionInfo containing the details for this interaction.
actionID - defining what kind of action occurs. Valid values are ACT_NOTHING, ACT_SELECTED, ACT_MOVED_SINGLE, ACT_MOVED_MULTI and ACT_MANIPULATED.
See Also:
InteractionConstants

stopActionAt

public void stopActionAt(CompositeView compositeview,
                         CompositeGroup compositegroup,
                         InteractionInfo interactionInfo,
                         int actionID)
Called when a user interaction stops.

Parameters:
compositeview - the CompositeView the given CompositeGroup lies in.
compositegroup - the CompositeGroup an interaction stops on.
interactionInfo - the InteractionInfo containing the details for this interaction.

postAction

public void postAction(CompositeView compositeview,
                       CompositeGroup compositegroup,
                       InteractionInfo interactionInfo)
TODO : comment

Parameters:
compositeview -
compositegroup -
interactionInfo -


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