Constrain rendering for lightweight objects. REMIND: This method will back off to the "workaround" of using translate and clipRect if the Graphics to be constrained has a complex transform. The drawback of the workaround is that the resulting clip and device origin cannot be "enforced".
@exception IllegalStateException If the Graphicsto be constrained has a complex transform.
If the constraint contains attributes that are not yet present in the query graph, the query graph is extended accordingly.
Special behaviour for:
class {@link Class}: confine the result to objects of one class or to objects implementing an interface.
interface {@link Evaluation}: run evaluation callbacks against all candidates.
@param constraint the constraint to be added to this Query.
@return {@link Constraint} a new {@link Constraint} for thisquery node or null for objects implementing the {@link Evaluation} interface.
If the constraint contains attributes that are not yet present in the query graph, the query graph is extended accordingly.
Special behaviour for:
class {@link Class}: confine the result to objects of one class (if the {@link Class} object represents a class)or to objects implementing a specific interface (if the {@link Class} object represents an interface).
interface {@link Evaluation}: run evaluation callbacks against all candidates.
@param constraint the constraint to be added to this Query.
@return {@link Constraint} a new {@link Constraint} for thisquery node or null for objects implementing the {@link Evaluation} interface.
adds a constraint to this node. If the object parameter is deeper than the entire query graph, the query graph is extended accordingly.
@param example object for comparison
@return Constraint
Constrain rendering for lightweight objects. REMIND: This method will back off to the "workaround" of using translate and clipRect if the Graphics to be constrained has a complex transform. The drawback of the workaround is that the resulting clip and device origin cannot be "enforced".
@exception IllegalStateException If the Graphicsto be constrained has a complex transform.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.