-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DownloadFileDTO.java to gdbiddate-ldcia-server-v2
- Loading branch information
Showing
3 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
desktop/src/main/java/edu/jnu/gdbddesktop/scene/core/Access.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package edu.jnu.gdbddesktop.scene.core; | ||
|
||
/** | ||
* 隐私访问模块场景切换 | ||
* @作者: 郭梓繁 | ||
* @邮箱: [email protected] | ||
* @版本: 1.0 | ||
* @创建日期: 2023年05月02日 20时33分 | ||
* @功能描述: 隐私访问模块场景切换 | ||
*/ | ||
public class Access { | ||
|
||
|
||
|
||
} |
34 changes: 34 additions & 0 deletions
34
desktop/src/main/resources/edu.jnu.gdbddesktop/fxml/file_upload_client.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import java.lang.*?> | ||
<?import java.util.*?> | ||
<?import javafx.scene.*?> | ||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.*?> | ||
|
||
<?import com.leewyatt.rxcontrols.controls.RXTranslationButton?> | ||
<?import javafx.scene.image.ImageView?> | ||
<?import javafx.scene.image.Image?> | ||
<?import org.controlsfx.control.MaskerPane?> | ||
<AnchorPane xmlns="http://javafx.com/javafx" | ||
xmlns:fx="http://javafx.com/fxml" | ||
fx:controller="edu.jnu.gdbddesktop.controller.core.FileUploadClientController" | ||
maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="511.0" | ||
prefWidth="761.0" style="-fx-background-color: white;" stylesheets="@../css/pane_media.css"> | ||
<children> | ||
<RXTranslationButton fx:id="openBtn" layoutX="23.0" layoutY="17.0" onAction="#openFileAction" | ||
prefHeight="36.0" | ||
prefWidth="186.0" text="选择文件进行上传"> | ||
<graphic> | ||
<ImageView fitHeight="25.0" fitWidth="45.0" pickOnBounds="true" preserveRatio="true"> | ||
<image> | ||
<Image url="@../image/openfile.png"/> | ||
</image> | ||
</ImageView> | ||
</graphic> | ||
</RXTranslationButton> | ||
<!--<MaskerPane fx:id="maskerPane" text="上传文件中" visible="true"/>--> | ||
<ProgressBar fx:id="progressBar" layoutX="300" layoutY="35"/> | ||
</children> | ||
|
||
</AnchorPane> |
58 changes: 58 additions & 0 deletions
58
desktop/src/main/resources/edu.jnu.gdbddesktop/fxml/pane_avatar.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import com.leewyatt.rxcontrols.controls.RXAvatar?> | ||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.effect.DropShadow?> | ||
<?import javafx.scene.image.Image?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.layout.HBox?> | ||
|
||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="511.0" prefWidth="761.0" style="-fx-background-color: white;" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1"> | ||
<children> | ||
<HBox alignment="CENTER" layoutX="41.0" layoutY="172.0" prefHeight="124.0" prefWidth="679.0" spacing="35.0" style="-fx-border-color: #F1F2F3;" AnchorPane.leftAnchor="41.0" AnchorPane.rightAnchor="41.0" AnchorPane.topAnchor="130.0"> | ||
<children> | ||
<RXAvatar> | ||
<image> | ||
<Image url="@../scenery/1.png" /> | ||
</image> | ||
<effect> | ||
<DropShadow /> | ||
</effect> | ||
</RXAvatar> | ||
<RXAvatar arcHeight="35.0" arcWidth="35.0" shapeType="SQUARE"> | ||
<image> | ||
<Image url="@../scenery/2.png" /> | ||
</image> | ||
<effect> | ||
<DropShadow /> | ||
</effect> | ||
</RXAvatar> | ||
<RXAvatar prefHeight="87.0" prefWidth="100.0" shapeType="HEXAGON_H"> | ||
<image> | ||
<Image url="@../scenery/3.png" /> | ||
</image> | ||
<effect> | ||
<DropShadow /> | ||
</effect> | ||
</RXAvatar> | ||
<RXAvatar prefHeight="100.0" prefWidth="100.0" shapeType="HEXAGON_V"> | ||
<image> | ||
<Image url="@../scenery/4.png" /> | ||
</image> | ||
<effect> | ||
<DropShadow /> | ||
</effect> | ||
</RXAvatar> | ||
<RXAvatar shapeType="SQUARE"> | ||
<image> | ||
<Image url="@../scenery/3.png" /> | ||
</image> | ||
<effect> | ||
<DropShadow /> | ||
</effect> | ||
</RXAvatar> | ||
</children> | ||
</HBox> | ||
<Label layoutX="214.0" layoutY="334.0" text="RXAvatar: 头像组件; 会根据组件的大小, 自动缩放图片至合适的大小; 并且根据Shape Type来显示出不同的形状; * Arc Width和Arc Height 属性只针对正方形有效; " textAlignment="CENTER" AnchorPane.leftAnchor="214.0" AnchorPane.rightAnchor="214.0" AnchorPane.topAnchor="300.0" /> | ||
</children> | ||
</AnchorPane> |