changeset 6179:5c1f215aee01

RT-25770: Doc:inconsistent description of MenuButton.items
author jgiles
date Fri, 24 Jan 2014 10:57:55 +1300
parents 641f78393ffc
children 64641c3bb65b
files modules/controls/src/main/java/javafx/scene/control/MenuButton.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/javafx/scene/control/MenuButton.java	Fri Jan 24 10:36:05 2014 +1300
+++ b/modules/controls/src/main/java/javafx/scene/control/MenuButton.java	Fri Jan 24 10:57:55 2014 +1300
@@ -45,10 +45,10 @@
  * label shown within the MenuButton.
  * <p>
  * As mentioned, like the Menu API itself, you'll find an {@link #items} ObservableList
- * within which you can provide any type of Node, although it is recommended to
- * only insert controls that extend from {@link MenuItem}. There are several useful subclasses
- * of {@link MenuItem} including {@link RadioMenuItem}, {@link CheckMenuItem}, 
- * {@link Menu}, {@link Separator} and {@link CustomMenuItem}.
+ * within which you can provide anything that extends from {@link MenuItem}.
+ * There are several useful subclasses of {@link MenuItem} including
+ * {@link RadioMenuItem}, {@link CheckMenuItem}, {@link Menu},
+ * {@link SeparatorMenuItem} and {@link CustomMenuItem}.
  * <p>
  * A MenuButton can be set to show its menu on any side of the button. This is
  * specified using the {@link #popupSideProperty() popupSide} property. By default