com.tensegrity.composite.event.view
Class ViewModeChangeEvent

java.lang.Object
  extended bycom.tensegrity.composite.event.view.AbstractCompositeViewEvent
      extended bycom.tensegrity.composite.event.view.ViewModeChangeEvent
All Implemented Interfaces:
CompositeRootEvent, CompositeViewEvent

public class ViewModeChangeEvent
extends AbstractCompositeViewEvent

A ViewParameterChangeEvent occurs whenever view parameters like the viewport or other view defining properties have been changed.

Version:
$Id: ViewModeChangeEvent.java,v 1.1 2004/10/13 11:15:41 BurkhardWick Exp $
Author:
Stepan Rutz
See Also:
CompositeViewEvent, CompositeViewListener

Field Summary
 
Fields inherited from class com.tensegrity.composite.event.view.AbstractCompositeViewEvent
composite, composites, compositeView
 
Constructor Summary
ViewModeChangeEvent(CompositeView compositeView, int previousModeMask)
          Constructor for ViewParameterChangeEvent.
 
Method Summary
 int getCurrentModeMask()
          Returns the current mode mask of the view
 int getPreviousModeMask()
          Returns the mode mask the view had before this change occurred
 java.lang.String toString()
           
 
Methods inherited from class com.tensegrity.composite.event.view.AbstractCompositeViewEvent
getCompositeView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewModeChangeEvent

public ViewModeChangeEvent(CompositeView compositeView,
                           int previousModeMask)
Constructor for ViewParameterChangeEvent.

Parameters:
compositeView - the CompositeView in which the view has been configured.
previousModeMask - The modemask the view had before the change
Method Detail

toString

public java.lang.String toString()

getPreviousModeMask

public int getPreviousModeMask()
Returns the mode mask the view had before this change occurred

Returns:
the mode mask the view had before this change occurred

getCurrentModeMask

public int getCurrentModeMask()
Returns the current mode mask of the view

Returns:
the current mode mask of the view


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