快速配置可拖动窗口,无标题窗口

This commit is contained in:
billkiller
2019-06-30 13:44:35 +08:00
parent 953c6b16ad
commit 059c5c8193
18 changed files with 517 additions and 706 deletions

View File

@@ -5,6 +5,7 @@ import cn.edu.scau.biubiusuisui.config.FXMLLoaderPlus;
import javafx.fxml.Initializable;
import javafx.scene.layout.Pane;
import cn.edu.scau.biubiusuisui.utils.StringUtils;
import javafx.stage.Stage;
import java.io.IOException;
import java.lang.annotation.Annotation;
@@ -29,6 +30,9 @@ public class FXBaseController extends Pane {
protected String name = "";
private Stage stage;
private boolean isController = false;
private boolean isWindows = false;
@@ -94,4 +98,12 @@ public class FXBaseController extends Pane {
public void setWindows(boolean windows) {
isWindows = windows;
}
public Stage getStage() {
return stage;
}
public void setStage(Stage stage) {
this.stage = stage;
}
}

View File

@@ -1,33 +0,0 @@
package cn.edu.scau.biubiusuisui.entity;
import javafx.beans.property.Property;
import javafx.beans.value.ObservableValue;
import java.lang.reflect.Method;
/**
* @Author jack
* @Date:2019/6/28 10:03
*/
public class FXFieldViewFieldMapping {
private boolean readOnly;
private Class type;
public boolean isReadOnly() {
return readOnly;
}
public void setReadOnly(boolean readOnly) {
this.readOnly = readOnly;
}
public Class getType() {
return type;
}
public void setType(Class type) {
this.type = type;
}
}