aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/Group.java2
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/Shape.java4
2 files changed, 3 insertions, 3 deletions
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); }