正在加载图片...
ListBox Methods CLASS: ListBox Method Argument Description <constructor> Mainwindow Creates a List Box object additem string Adds the argument String value to the list Items are added to the list from top to bottom. The top- most item has the index value of zero the next item's value is one. and so forth getselectedIndex<none> Returns the index value of the selected item in the list. See the explanation of class constants Class Constant Description NO SELECT工○N This value is returned by the get selectedIndex method when the user clicks the oK button without selecting a choice CANCEL This value is returned by the get SelectedIndex method when the user clicks the CANCeL button or the dialog's close box C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 6© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 6 - 22 ListBox Methods
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有