public class AndConstraint extends Object implements RelationConstraint
Constructor and Description |
---|
AndConstraint() |
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(RelationConstraint r)
Add another child constraint to the test.
|
static void |
debug(String s)
Debugging output.
|
boolean |
test(SceneElement e1,
SceneElement e2)
Test the child constraints on the given rectangles; return true
if all of them are met or there are no child constraints, false
otherwise.
|
String |
toString()
Print out the contents of this constraint.
|
public static void debug(String s)
public boolean test(SceneElement e1, SceneElement e2)
test
in interface RelationConstraint
public void addConstraint(RelationConstraint r)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.