![JAR search and dependency download from the Maven repository](/logo.png)
com.objogate.wl.swing.matcher.ComponentEnabledMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of windowlicker-swing Show documentation
Show all versions of windowlicker-swing Show documentation
This is the Windowlicker Swing library.
The newest version!
package com.objogate.wl.swing.matcher;
import java.awt.Component;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;
public class ComponentEnabledMatcher extends TypeSafeMatcher {
@Override
public boolean matchesSafely(Component c) {
return c.isEnabled();
}
public void describeTo(Description description) {
description.appendText("enabled");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy