From d0e77a9d3fee687011d0ff0d610f49262cc2834f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 18 Dec 2023 03:05:53 +0100 Subject: GraphUI Shape: Rename is{Container -> Group}(), denoting a group only --- src/graphui/classes/com/jogamp/graph/ui/Group.java | 2 +- src/graphui/classes/com/jogamp/graph/ui/Shape.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/graphui/classes/com') diff --git a/src/graphui/classes/com/jogamp/graph/ui/Group.java b/src/graphui/classes/com/jogamp/graph/ui/Group.java index e5f98d164..6d3ff6e8c 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Group.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Group.java @@ -102,7 +102,7 @@ public class Group extends Shape implements Container { } @Override - public final boolean isContainer() { return true; } + public final boolean isGroup() { return true; } /** Return current {@link Group.Layout}. */ public Layout getLayout() { return layouter; } diff --git a/src/graphui/classes/com/jogamp/graph/ui/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/Shape.java index 7f218fcbe..f5b5fd131 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/Shape.java +++ b/src/graphui/classes/com/jogamp/graph/ui/Shape.java @@ -216,8 +216,8 @@ public abstract class Shape { /** Return the optional symbolic name for this shape. */ public final String getName() { return this.name; } - /** Returns true if this shape denotes a container, e.g. {@link Group}, otherwise false. */ - public boolean isContainer() { return false; } + /** Returns true if this shape denotes a {@link Group}, otherwise false. */ + public boolean isGroup() { return false; } /** Returns true if this shape is visible, otherwise false. */ public final boolean isVisible() { return isIO(IO_VISIBLE); } -- cgit v1.2.3