From c8ec6fa7cc16a0777db16af8b4d0d0b898f8b546 Mon Sep 17 00:00:00 2001 From: Sven Gothel <sgothel@jausoft.com> Date: Tue, 3 Oct 2023 02:37:32 +0200 Subject: GraphUI Shape: 'int name' -> 'int id' and add 'String name', change get/set methods accordingly --- src/graphui/classes/com/jogamp/graph/ui/Container.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/graphui/classes/com/jogamp/graph/ui/Container.java') diff --git a/src/graphui/classes/com/jogamp/graph/ui/Container.java b/src/graphui/classes/com/jogamp/graph/ui/Container.java index d4bd6c9f8..32da78791 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Container.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Container.java @@ -75,6 +75,10 @@ public interface Container { boolean contains(Shape s); + Shape getShapeByIdx(final int id); + Shape getShapeByID(final int id); + Shape getShapeByName(final String name); + AABBox getBounds(final PMVMatrix4f pmv, Shape shape); /** Enable or disable {@link PMVMatrix4f#getFrustum()} culling per {@link Shape}. Default is disabled. */ -- cgit v1.2.3