com.tensegrity.gui.swt.control.panels.slidepanel
Class SlidePanelEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.tensegrity.gui.swt.control.panels.slidepanel.SlidePanelEvent
All Implemented Interfaces:
java.io.Serializable

public class SlidePanelEvent
extends java.util.EventObject

Event object which describes if a SlidePanel was expanded, collapsed or closed. Of course the event source must always be the corresponding SlidePanel.

Version:
$Id: SlidePanelEvent.java,v 1.1 2005/09/27 10:50:34 ArndHouben Exp $
Author:
ArndHouben
See Also:
SlidePanelListener, Serialized Form

Field Summary
static int CLOSED
          Constant type which signals that SlidePanel was closed
static int COLLAPSED
          Constant type which signals the collapsed state
static int EXPANDED
          Constant type which signals the expanded state
 int type
          Event type specifying what kind of event happened.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SlidePanelEvent(SlidePanel source, int type)
          Creates a new SlidePanelEvent instance.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COLLAPSED

public static final int COLLAPSED
Constant type which signals the collapsed state

See Also:
Constant Field Values

EXPANDED

public static final int EXPANDED
Constant type which signals the expanded state

See Also:
Constant Field Values

CLOSED

public static final int CLOSED
Constant type which signals that SlidePanel was closed

See Also:
Constant Field Values

type

public final int type
Event type specifying what kind of event happened. Valid values are the defined constants.

Constructor Detail

SlidePanelEvent

public SlidePanelEvent(SlidePanel source,
                       int type)
Creates a new SlidePanelEvent instance.

Parameters:
source - the SlidePanel which triggered this event
type - specifies the event type. Use the class defined constants as valid value


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