com.togethersoft.testing.testserver.plugin.visualtest
Class ComponentInformer
|
+--com.togethersoft.testing.testserver.plugin.visualtest.ComponentInformer
- Direct Known Subclasses:
- TestBase
- public class ComponentInformer
- extends TestCase
- Stereotype tested
- testcase <{TestComponentInformer}>
| Field Summary |
private static Category | LOG |
private static Vector | myMenus |
| Method Summary |
static void | addMenu(Component c) |
static ArrayList | findByName(Container parent, String name) |
static void | focusTopWindow(Window w) |
static String | getCaption(Component c) |
static Object[] | getComponentBranch(Component c) |
static Component | getMenuPosition(Component c) |
static Vector | getMenus() |
private static String | getParentsIndex(Component cmp, boolean inverse) |
static Point | getRelativePosition(Component inFrame, Component menu) |
static Window[] | getTopLevelWindows() |
static boolean | isParent(Component c, String name) |
private static Component | looseCompare(Container parent, String name) |
private static ArrayList | looseNameCompare(Component[] cmps, String name) |
static String | quote(String s) |
static void | removeMenu(Component c) |
static void | restoreWindow(UIMap map, String UIID, int x, int y, int w, int h) |
static ArrayList | rootByName(String name) |
static void | startSession() |
private static ArrayList | strictCompare(Component[] cmps, String name) |
LOG
private static Category LOG
myMenus
private static Vector myMenus
ComponentInformer
public ComponentInformer(String aName)
addMenu
public static void addMenu(Component c)
findByName
public static ArrayList findByName(Container parent, String name)
focusTopWindow
public static void focusTopWindow(Window w)
getCaption
public static String getCaption(Component c)
getComponentBranch
public static Object[] getComponentBranch(Component c)
getMenuPosition
public static Component getMenuPosition(Component c)
getMenus
public static Vector getMenus()
getParentsIndex
private static String getParentsIndex(Component cmp, boolean inverse)
getRelativePosition
public static Point getRelativePosition(Component inFrame, Component menu)
getTopLevelWindows
public static Window[] getTopLevelWindows()
isParent
public static boolean isParent(Component c, String name)
looseCompare
private static Component looseCompare(Container parent, String name)
looseNameCompare
private static ArrayList looseNameCompare(Component[] cmps, String name)
quote
public static String quote(String s)
removeMenu
public static void removeMenu(Component c)
restoreWindow
public static void restoreWindow(UIMap map, String UIID, int x, int y, int w, int h)
rootByName
public static ArrayList rootByName(String name)
startSession
public static void startSession()
strictCompare
private static ArrayList strictCompare(Component[] cmps, String name)
to Class java.util.Vector