Protege 3.0

edu.stanford.smi.protege.test
Class TestUtilities

java.lang.Object
  extended byedu.stanford.smi.protege.test.TestUtilities

public class TestUtilities
extends Object

Author:
Ray Fergerson

Constructor Summary
TestUtilities()
           
 
Method Summary
static Component getBottomComponent(Component parent)
           
static AbstractButton getButton(Component parent, Icon icon)
           
static InstanceDisplay getInstanceDisplay(Component parent)
           
static InstanceDisplay getInstanceDisplayOnTab(Component parent, Icon icon)
           
static Component getLeftComponent(Component parent)
           
static Component getRightComponent(Component parent)
           
static Object[] getSelectionOnTree(Component parent, Icon icon)
           
static Component getTopComponent(Component parent)
           
static JTree getTree(Component parent)
           
static JTree getTreeOnTab(Component parent, Icon icon)
           
static void pressButton(Component parent, Icon icon)
           
static Component selectTab(Component parent, Icon icon)
           
static void setSelectionOnTree(Component parent, Icon icon, Object[] userObjects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtilities

public TestUtilities()
Method Detail

getButton

public static AbstractButton getButton(Component parent,
                                       Icon icon)

pressButton

public static void pressButton(Component parent,
                               Icon icon)

selectTab

public static Component selectTab(Component parent,
                                  Icon icon)

getLeftComponent

public static Component getLeftComponent(Component parent)

getRightComponent

public static Component getRightComponent(Component parent)

getTopComponent

public static Component getTopComponent(Component parent)

getBottomComponent

public static Component getBottomComponent(Component parent)

getTree

public static JTree getTree(Component parent)

getInstanceDisplay

public static InstanceDisplay getInstanceDisplay(Component parent)

getTreeOnTab

public static JTree getTreeOnTab(Component parent,
                                 Icon icon)

setSelectionOnTree

public static void setSelectionOnTree(Component parent,
                                      Icon icon,
                                      Object[] userObjects)

getSelectionOnTree

public static Object[] getSelectionOnTree(Component parent,
                                          Icon icon)

getInstanceDisplayOnTab

public static InstanceDisplay getInstanceDisplayOnTab(Component parent,
                                                      Icon icon)

Protege 3.0

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2005 Stanford University.