diff options
author | Sven Gothel <[email protected]> | 2023-12-18 03:05:53 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-12-18 03:05:53 +0100 |
commit | d0e77a9d3fee687011d0ff0d610f49262cc2834f (patch) | |
tree | de4101b1058e0bb74a711cf4562d8d8f3db2b584 /src/graphui/classes/com | |
parent | d5701c831643b99a0eb76883b0fc392641b6404d (diff) |
GraphUI Shape: Rename is{Container -> Group}(), denoting a group only
Diffstat (limited to 'src/graphui/classes/com')
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/Group.java | 2 | ||||
-rw-r--r-- | src/graphui/classes/com/jogamp/graph/ui/Shape.java | 4 |
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); } |