In line 38, a new listitem widget is created with its label value and id set for each stock item, and is appended to the listbox as its children widgets.
第38行,使用其标签值和ID集合为每个股票项创建一个新的listitem小部件,并附加到listbox上作为它的子部件。
Similar to the registerNewCustomer() method, the example defines the observer method editCustomer() that @Observes a ZK SelectEvent, which is sent whenever a listitem in listbox is selected.
和registerNewCustomer()方法一样,本例定义了observer 方法editCustomer(),它 @ObservesZKSelectEvent,该事件在列表框中的listitem 被选中时发送。
Similar to the registerNewCustomer() method, the example defines the observer method editCustomer() that @Observes a ZK SelectEvent, which is sent whenever a listitem in listbox is selected.
和registerNewCustomer()方法一样,本例定义了observer 方法editCustomer(),它 @ObservesZKSelectEvent,该事件在列表框中的listitem 被选中时发送。
应用推荐