< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/RadioMenuItem.java

Print this page

        

@@ -85,11 +85,10 @@
  * In this example, with both RadioMenuItem's assigned to the same
  * {@link javafx.scene.control.ToggleGroup ToggleGroup}, only one item may be
  * selected at any one time, and should
  * the selection change, the ToggleGroup will take care of deselecting the
  * previous item.
-</code></pre>
  *
  * @see MenuItem
  * @see Menu
  * @since JavaFX 2.0
  */

@@ -108,18 +107,21 @@
         this(null,null);
     }
 
     /**
      * Constructs a RadioMenuItem and sets the display text with the specified text.
+     * @param text the display text
      */
     public RadioMenuItem(String text) {
         this(text,null);
     }
 
     /**
      * Constructs a RadioMenuItem and sets the display text with the specified text
      * and sets the graphic {@link Node} to the given node.
+     * @param text the display text
+     * @param graphic the graphic node
      */
     public RadioMenuItem(String text, Node graphic) {
         super(text,graphic);
         getStyleClass().add(DEFAULT_STYLE_CLASS);
     }
< prev index next >