aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-04-10 06:06:13 +0200
committerSven Gothel <[email protected]>2023-04-10 06:06:13 +0200
commit8b7a44c486662a4f3088fcac4babdec0c553d7b7 (patch)
tree5e6f4a4f59c062c0556d1ad867339a32344e269e /src/graphui/classes/com
parent05de3b0797ea2e41462a3a419bccc998c77a30dd (diff)
GraphUI: Group is non-interactive per default -> setInteractive(..)
Diffstat (limited to 'src/graphui/classes/com')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/Group.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/Group.java b/src/graphui/classes/com/jogamp/graph/ui/Group.java
index ea4a15e67..9dd49bdf4 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/Group.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/Group.java
@@ -59,17 +59,24 @@ public class Group extends Shape implements Container {
/**
* Create a Graph based {@link GLRegion} UI {@link Shape}.
+ * <p>
+ * Default is non-interactive, see {@link #setInteractive(boolean)}.
+ * </p>
*/
public Group() {
- super();
+ this(null);
}
/**
* Create a Graph based {@link GLRegion} UI {@link Shape} w/ given {@link Group.Layour}.
+ * <p>
+ * Default is non-interactive, see {@link #setInteractive(boolean)}.
+ * </p>
*/
public Group(final Layout l) {
super();
this.layouter = l;
+ this.setInteractive(false);
}
/** Return current {@link Group.Layout}. */