< prev index next >

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

Print this page

        

*** 58,68 **** * Although the ChoiceBox will only allow a user to select from the predefined * list, it is possible for the developer to specify the selected item to be * something other than what is available in the predefined list. This is * required for several important use cases. * <p> ! * It means configuration of the ChoiceBox is order independent. You * may either specify the items and then the selected item, or you may * specify the selected item and then the items. Either way will function * correctly. * <p> * ChoiceBox item selection is handled by --- 58,68 ---- * Although the ChoiceBox will only allow a user to select from the predefined * list, it is possible for the developer to specify the selected item to be * something other than what is available in the predefined list. This is * required for several important use cases. * <p> ! * This means that configuration of the ChoiceBox is order independent. You * may either specify the items and then the selected item, or you may * specify the selected item and then the items. Either way will function * correctly. * <p> * ChoiceBox item selection is handled by
< prev index next >