changeset 354:b3daae3b5265

[Doc only] RT-18252 Link to SelectionModel from ChoiceBox
author Paru Somashekar <paru.somashekar@oracle.com>
date Tue, 31 Jan 2012 22:46:13 -0800
parents 0640e91565cc
children 5fd0bc71c9d6
files javafx-ui-controls/src/javafx/scene/control/ChoiceBox.java
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/javafx/scene/control/ChoiceBox.java	Wed Feb 01 13:11:50 2012 +1300
+++ b/javafx-ui-controls/src/javafx/scene/control/ChoiceBox.java	Tue Jan 31 22:46:13 2012 -0800
@@ -65,6 +65,12 @@
  * specify the selected item and then the items. Either way will function
  * correctly.
  * <p>
+ * ChoiceBox item selection is handled by 
+ * {@link javafx.scene.control.SelectionModel SelectionModel}
+ * As with ListView and ComboBox, it is possible to modify the 
+ * {@link javafx.scene.control.SelectionModel SelectionModel} that is used, 
+ * although this is likely to be rarely changed. ChoiceBox supports only a 
+ * single selection model, hence the default used is a {@link SingleSelectionModel}.
  *
  * <pre>
  * import javafx.scene.control.ChoiceBox;