org.objectweb.jac.aspects.gui
Class Views

java.lang.Object
  |
  +--org.objectweb.jac.aspects.gui.Views

public class Views
extends Object

Useful methods that operate on views.


Constructor Summary
Views()
           
 
Method Summary
static View findParent(View start, Class parentClass)
          Finds a parent view with a given type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Views

public Views()
Method Detail

findParent

public static View findParent(View start,
                              Class parentClass)
Finds a parent view with a given type

Parameters:
start - the view whose parents to search for
parentClass - the type of the requested parent class
Returns:
a parent view of start whose type is parentClass, or null if no such view can be found