Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.jface.viewers
Class TreeExpansionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.eclipse.jface.viewers.TreeExpansionEvent

All Implemented Interfaces:
Serializable


public class TreeExpansionEvent
extends EventObject

Event object describing a tree node being expanded or collapsed. The source of these events is the tree viewer.

See Also:
ITreeViewerListener, Serialized Form


Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TreeExpansionEvent(AbstractTreeViewer source, Object element)
          Creates a new event for the given source and element.
 
Method Summary
 Object getElement()
          Returns the element that got expanded or collapsed.
 AbstractTreeViewer getTreeViewer()
          Returns the originator of the event.
 
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

 

 

TreeExpansionEvent

public TreeExpansionEvent(AbstractTreeViewer source,
                          Object element)

Creates a new event for the given source and element.

Parameters:
source - the tree viewer
element - the element
Method Detail

 

 

getElement

public Object getElement()

Returns the element that got expanded or collapsed.

Returns:
the element


 

 

getTreeViewer

public AbstractTreeViewer getTreeViewer()

Returns the originator of the event.

Returns:
the originating tree viewer


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.