net.sf.doolin.gui.swing
Class SwingUtils.ClassComponentPredicate
java.lang.Object
net.sf.doolin.gui.swing.SwingUtils.ClassComponentPredicate
- All Implemented Interfaces:
- com.google.common.base.Predicate<Component>
- Enclosing class:
- SwingUtils
public static class SwingUtils.ClassComponentPredicate
- extends Object
- implements com.google.common.base.Predicate<Component>
Checks the class of a component
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Predicate |
equals |
SwingUtils.ClassComponentPredicate
public SwingUtils.ClassComponentPredicate(Class<? extends Component> componentClass)
- Constructor
- Parameters:
componentClass - Class of the component
apply
public boolean apply(Component e)
- Specified by:
apply in interface com.google.common.base.Predicate<Component>
Copyright © 2011. All Rights Reserved.