All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.objogate.wl.swing.matcher.ComponentOpaqueMatcher Maven / Gradle / Ivy

The newest version!
package com.objogate.wl.swing.matcher;

import java.awt.Component;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;

public class ComponentOpaqueMatcher extends TypeSafeMatcher {
    @Override
    public boolean matchesSafely(Component c) {
        return c.isOpaque();
    }

    public void describeTo(Description description) {
        description.appendText("opaque");

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy