-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kentros Alexandros
authored and
Kentros Alexandros
committed
Apr 30, 2019
1 parent
0a1eb83
commit 04cea9b
Showing
2 changed files
with
72 additions
and
18 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
src/main/java/com/goxr3plus/fxborderlessscene/borderless/BorderlessPane.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,58 @@ | ||
/* | ||
* | ||
*/ | ||
package com.goxr3plus.fxborderlessscene.borderless; | ||
|
||
import java.io.IOException; | ||
|
||
import javafx.beans.property.BooleanProperty; | ||
import javafx.fxml.FXML; | ||
import javafx.fxml.FXMLLoader; | ||
import javafx.scene.Node; | ||
import javafx.scene.Parent; | ||
import javafx.scene.Scene; | ||
import javafx.scene.layout.AnchorPane; | ||
import javafx.scene.layout.Pane; | ||
import javafx.stage.Stage; | ||
import javafx.stage.StageStyle; | ||
|
||
/** | ||
* Undecorated JavaFX Scene with implemented move, resize, minimize, maximize and Aero Snap. | ||
* <p> | ||
* Usage: | ||
* | ||
* <pre> | ||
* { | ||
* @code | ||
* //add the code here | ||
* } | ||
* </pre> | ||
* | ||
* @author Nicolas Senet-Larson | ||
* @author GOXR3PLUS STUDIO | ||
* @version 1.0 | ||
*/ | ||
public class BorderlessPane extends AnchorPane { | ||
|
||
|
||
|
||
public BorderlessPane () throws IOException { | ||
|
||
// ------------------------------------FXMLLOADER ---------------------------------------- | ||
|
||
FXMLLoader loader = new FXMLLoader(getClass().getResource("/fxml/Borderless.fxml")); | ||
loader.setController(this); | ||
loader.setRoot(this); | ||
loader.load(); | ||
|
||
} | ||
|
||
|
||
/** | ||
* Called as soon as .fxml is initialised | ||
*/ | ||
@FXML | ||
private void initialize() { | ||
|
||
} | ||
} |
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