de.javagl.swogl
Interface Condition<T>

Type Parameters:
T - The type of the objects to check

public interface Condition<T>

This interface describes a general condition that may be checked for specific objects. Predefined instances of conditions may be created using the factory methods from the Conditions and MouseEventConditions classes.


Method Summary
 boolean is(T t)
          Returns whether this condition is fulfilled for the given object
 

Method Detail

is

boolean is(T t)
Returns whether this condition is fulfilled for the given object

Parameters:
t - The object to test
Returns:
Whether this condition is fulfilled for the given object