You also need to add a few simple accessor methods to SimpleNode.
您还需要将一些简单的存取器方法添加到SimpleNode。
The effective use of accessor methods will be covered in future tips.
以后的提示中会涉及访问器方法的有效使用。
My first step is to create accessor methods for each UI component, shown in Listing 2.
第一步是为每个UI组件创建访问器方法,如清单2所示。
应用推荐