abbot.finder.matchers
Class JMenuMatcher
java.lang.Object
abbot.finder.matchers.JMenuItemMatcher
abbot.finder.matchers.JMenuMatcher
- All Implemented Interfaces:
- Matcher
public class JMenuMatcher
- extends JMenuItemMatcher
Extension of JMenuItemMatcher that only matches JMenu rather than
all JMenuItem
- Version:
- $Id: JMenuMatcher.java 1419 2005-01-05 18:34:48 +0000 (Wed, 05 Jan 2005) twall $
- Author:
- gdavison
Method Summary |
boolean |
matches(Component c)
Return whether the given Component matches some lookup criteria. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMenuMatcher
public JMenuMatcher(String label)
matches
public boolean matches(Component c)
- Description copied from interface:
Matcher
- Return whether the given Component matches some lookup criteria.
- Specified by:
matches
in interface Matcher
- Overrides:
matches
in class JMenuItemMatcher
Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on