Object
Application
DataViewer
Entry point for Apache SIS application.
Current implementation shows a
ResourceExplorer
on which user can drop the files to open.
The content shown by this Main
class may change in any future Apache SIS version.- Since:
- 1.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Application
Application.Parameters
-
Field Summary
Fields inherited from class Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stage
Returns the window in which the application is running, ornull
if the application is not running.static void
Starts the Apache SIS application.void
Invoked by JavaFX for starting the application.void
stop()
Invoked when the application should stop.Methods inherited from class Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet
-
Constructor Details
-
DataViewer
public DataViewer()Creates a new Apache SIS application.
-
-
Method Details
-
main
Starts the Apache SIS application.- Parameters:
args
- ignored.
-
start
Invoked by JavaFX for starting the application. This method is called on the JavaFX Application Thread.- Specified by:
start
in classApplication
- Parameters:
window
- the primary stage onto which the application scene will be be set.
-
stop
Invoked when the application should stop. No SIS application can be used after this method has been invoked (i.e. the application cannot be restarted).- Overrides:
stop
in classApplication
- Throws:
Exception
- if an error occurred, for example while closing a data store.
-
getCurrentStage
Returns the window in which the application is running, ornull
if the application is not running.- Returns:
- the window in which the application is running, or
null
.
-