< prev index next >

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

Print this page

        

@@ -138,10 +138,11 @@
     /**
      * Returns the number of items in the data model that underpins the control.
      * An example would be that a ListView selection model would likely return
      * <code>listView.getItems().size()</code>. The valid range of selectable
      * indices is between 0 and whatever is returned by this method.
+     * @return the number of items in the data model that underpins the control
      */
     protected abstract int getItemCount();
 
     /**
      * Returns the item at the given index. An example using ListView would be
< prev index next >