资源简介
JavaFX的一个demo,带checkbox的tableview,选中一行获取所选中行的数据。
代码片段和文件信息
package ch.makery.address;
/**
* Created by libin on 2017/6/8.
*/
import java.io.IOException;
import ch.makery.address.model.Person;
import ch.makery.address.view.PersonEditDialogController;
import ch.makery.address.view.PersonOverviewController;
import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FxmlLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;
import javafx.stage.Modality;
import javafx.stage.Stage;
public class MainApp extends Application {
private Stage primaryStage;
private BorderPane rootLayout;
/**
* The data as an observable list of Persons.
*/
private ObservableList<
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 734 2017-06-07 23:01 AddressApp\.idea\compiler.xm
文件 189 2017-06-07 23:01 AddressApp\.idea\desc
文件 171 2017-06-07 23:01 AddressApp\.idea\encodings.xm
文件 218 2017-06-07 23:01 AddressApp\.idea\gradle.xm
文件 156 2017-06-08 23:01 AddressApp\.idea\inspectionProfiles\profiles_settings.xm
文件 489 2017-06-07 23:01 AddressApp\.idea\misc.xm
文件 267 2017-06-07 23:01 AddressApp\.idea\modules.xm
文件 8919 2017-06-07 23:01 AddressApp\.idea\uiDesigner.xm
文件 173 2017-06-07 23:01 AddressApp\.idea\vcs.xm
文件 69180 2017-06-08 23:01 AddressApp\.idea\workspace.xm
文件 437 2017-06-07 23:01 AddressApp\AddressApp.iml
文件 4307 2017-06-08 22:55 AddressApp\out\production\AddressApp\ch\makery\address\MainApp.class
文件 1670 2017-06-08 22:51 AddressApp\out\production\AddressApp\ch\makery\address\model\Person.class
文件 1614 2017-06-08 22:42 AddressApp\out\production\AddressApp\ch\makery\address\view\PersonEditDialog.fxm
文件 1312 2017-06-08 22:51 AddressApp\out\production\AddressApp\ch\makery\address\view\PersonEditDialogController.class
文件 1157 2017-06-08 22:57 AddressApp\out\production\AddressApp\ch\makery\address\view\PersonOverview.fxm
文件 4775 2017-06-08 22:42 AddressApp\out\production\AddressApp\ch\makery\address\view\PersonOverviewController.class
文件 1104 2017-06-08 21:24 AddressApp\out\production\AddressApp\ch\makery\address\view\RootLayout.fxm
文件 4859 2017-06-08 22:55 AddressApp\src\ch\makery\address\MainApp.java
文件 1405 2017-06-08 22:51 AddressApp\src\ch\makery\address\model\Person.java
文件 1614 2017-06-08 22:28 AddressApp\src\ch\makery\address\view\PersonEditDialog.fxm
文件 1380 2017-06-08 22:51 AddressApp\src\ch\makery\address\view\PersonEditDialogController.java
文件 1157 2017-06-08 22:57 AddressApp\src\ch\makery\address\view\PersonOverview.fxm
文件 2971 2017-06-08 22:42 AddressApp\src\ch\makery\address\view\PersonOverviewController.java
文件 1104 2017-06-08 21:18 AddressApp\src\ch\makery\address\view\RootLayout.fxm
目录 0 2017-06-08 22:51 AddressApp\out\production\AddressApp\ch\makery\address\model
目录 0 2017-06-08 22:57 AddressApp\out\production\AddressApp\ch\makery\address\view
目录 0 2017-06-08 22:55 AddressApp\out\production\AddressApp\ch\makery\address
目录 0 2017-06-08 20:52 AddressApp\out\production\AddressApp\ch\makery
目录 0 2017-06-08 22:51 AddressApp\src\ch\makery\address\model
............此处省略16个文件信息
评论
共有 条评论