abbot.finder.matchers
Class JMenuMatcher

java.lang.Object
  extended by abbot.finder.matchers.JMenuItemMatcher
      extended by 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

Constructor Summary
JMenuMatcher(String label)
           
 
Method Summary
 boolean matches(Component c)
          Return whether the given Component matches some lookup criteria.
 
Methods inherited from class abbot.finder.matchers.JMenuItemMatcher
getPath, splitMenuPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMenuMatcher

public JMenuMatcher(String label)
Method Detail

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

SourceForge