diff options
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/Container.java')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/Container.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/Container.java b/src/graphui/classes/com/jogamp/graph/ui/Container.java index 82f2fda4f..106ffcfe9 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Container.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Container.java @@ -147,55 +147,4 @@ public interface Container { * @see Shape#isOutside() */ public boolean isOutside2(final Matrix4f mvCont, final Shape shape, final PMVMatrix4f pmvShape); - - /** - * Traverses through the graph up until {@code shape} of {@link Container#getShapes()} and apply {@code action} on it. - * @param pmv - * @param shape - * @param action - * @return true to signal operation complete, i.e. {@code shape} found, otherwise false - */ - boolean forOne(final PMVMatrix4f pmv, final Shape shape, final Runnable action); - - /** - * Traverses through the graph and apply {@link Visitor1#visit(Shape)} for each {@link Shape} of {@link Container#getShapes()}, - * stops if it returns true. - * @param v - * @return true to signal operation complete and to stop traversal, i.e. {@link Visitor1#visit(Shape)} returned true, otherwise false - */ - boolean forAll(Visitor1 v); - - /** - * Traverses through the graph and apply {@link Visitor2#visit(Shape, PMVMatrix4f)} for each {@link Shape} of {@link Container#getShapes()}, - * stops if it returns true. - * @param pmv - * @param v - * @return true to signal operation complete and to stop traversal, i.e. {@link Visitor2#visit(Shape, PMVMatrix4f)} returned true, otherwise false - */ - boolean forAll(final PMVMatrix4f pmv, Visitor2 v); - - /** - * Traverses through the graph and apply {@link Visitor2#visit(Shape, PMVMatrix4f)} for each {@link Shape} of {@link Container#getShapes()}, - * stops if it returns true. - * - * Each {@link Container} level is sorted using {@code sortComp} - * @param sortComp - * @param pmv - * @param v - * @return true to signal operation complete and to stop traversal, i.e. {@link Visitor2#visit(Shape, PMVMatrix4f)} returned true, otherwise false - */ - boolean forSortedAll(final Comparator<Shape> sortComp, final PMVMatrix4f pmv, final Visitor2 v); - - /** - * Traverses through the graph and apply {@link Visitor2#visit(Shape, PMVMatrix4f)} for each {@link Shape} of {@link Container#getRenderedShapes()}, - * stops if it returns true. - * <p> - * Each {@link Container} level is sorted using {@code sortComp} - * </p> - * @param sortComp - * @param pmv - * @param v - * @return true to signal operation complete and to stop traversal, i.e. {@link Visitor2#visit(Shape, PMVMatrix4f)} returned true, otherwise false - */ - public boolean forAllRendered(final Comparator<Shape> sortComp, final PMVMatrix4f pmv, final Visitor2 v); } |