retrofit
[fanfix.git] / src / jexer / TWidget.java
index 012ed756c3a60adf4f40bf72e9c54954a3c28e98..0d7d5bb8f99396be6a3c238d4175b10b5482440e 100644 (file)
@@ -2163,6 +2163,21 @@ public abstract class TWidget implements Comparable<TWidget> {
         return new TRadioGroup(this, x, y, label);
     }
 
+    /**
+     * Convenience function to add a radio button group to this
+     * container/window.
+     *
+     * @param x column relative to parent
+     * @param y row relative to parent
+     * @param width width of group
+     * @param label label to display on the group box
+     */
+    public final TRadioGroup addRadioGroup(final int x, final int y,
+        final int width, final String label) {
+
+        return new TRadioGroup(this, x, y, width, label);
+    }
+
     /**
      * Convenience function to add a text field to this container/window.
      *