public class DragTopApp
extends com.bitplan.javafx.WaitableApp
| Constructor and Description |
|---|
DragTopApp(String graphPath,
String plugins)
construct me with the given plugins
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
javafx.scene.control.MenuBar |
createMenu()
create a Menu
|
File |
getAppRoot()
get the application root directory
|
DropTarget |
getDropTarget() |
javafx.scene.Scene |
getScene() |
File |
load(String pGraphPath,
boolean withClear)
load my graph from the given graph path
|
static void |
main(String[] args)
direct start of DragTop (only for test / debugging - use DragTop.main
instead)
|
protected void |
openFile(boolean withClear)
open a new file
|
protected void |
optSaveIfModified() |
void |
setScene(javafx.scene.Scene scene) |
void |
start(javafx.stage.Stage stage) |
void |
updateTitle(String filePath) |
abortWait, browse, close, fromFXImage, getSceneBounds, getScreenHeight, getScreenWidth, getStage, limitShowTime, saveAsPng, saveAsPng, setStage, show, toolkitInit, waitClose, waitOpen, waitStatuspublic javafx.scene.Scene getScene()
public void setScene(javafx.scene.Scene scene)
public DropTarget getDropTarget()
public File load(String pGraphPath, boolean withClear) throws IOException
pGraphPath - withClear - IOExceptionpublic void updateTitle(String filePath)
public File getAppRoot()
public javafx.scene.control.MenuBar createMenu()
protected void optSaveIfModified()
protected void clear()
protected void openFile(boolean withClear)
withClear - - if true overwrite if false importpublic void start(javafx.stage.Stage stage)
start in class com.bitplan.javafx.WaitableApppublic static void main(String[] args)
args - Copyright © 2019 BITPlan GmbH. All rights reserved.