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

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

Deprecated. please use SlidePanel instead

public class SlidePanelEvent
extends java.util.EventObject

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

Version:
$Id: SlidePanelEvent.java,v 1.4 2005/09/27 10:51:00 ArndHouben Exp $
Author:
Arnd Houben
See Also:
SlidePanelListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SlidePanelEvent(SwtSlidePanel source, boolean expanded, boolean closed)
          Deprecated. Creates a new event with the given source and the given expanded and closed state
 
Method Summary
 boolean isClosed()
          Deprecated. Returns the closed state.
 boolean isPanelExpanded()
          Deprecated. Returns the expanded or collapsed state
 
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
 

Constructor Detail

SlidePanelEvent

public SlidePanelEvent(SwtSlidePanel source,
                       boolean expanded,
                       boolean closed)
Deprecated. 
Creates a new event with the given source and the given expanded and closed state

Parameters:
source - a SwtSlidePanel
expanded - the expand or collapsed state
closed - the closed state
Method Detail

isPanelExpanded

public final boolean isPanelExpanded()
Deprecated. 
Returns the expanded or collapsed state

Returns:
true if the SwtSlidePanel is expanded, i.e. its content is visible, false otherwise

isClosed

public final boolean isClosed()
Deprecated. 
Returns the closed state.

Returns:
true if the SwtSlidePanel was closed, false otherwise


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