Package org.apache.sis.gui
Class DataViewer
Object
Application
DataViewer
public class DataViewer
extends Application
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
Defined in the sis-javafx module
- 
Nested Class SummaryNested classes/interfaces inherited from class ApplicationApplication.Parameters
- 
Field SummaryFields inherited from class ApplicationSTYLESHEET_CASPIAN, STYLESHEET_MODENA
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StageReturns the window in which the application is running, ornullif the application is not running.static voidStarts the Apache SIS application.voidstart(Stage window) Invoked by JavaFX for starting the application.voidstop()Invoked when the application should stop.Methods inherited from class ApplicationgetHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet
- 
Constructor Details- 
DataViewerpublic DataViewer()Creates a new Apache SIS application.
 
- 
- 
Method Details- 
mainStarts the Apache SIS application.- Parameters:
- args- ignored.
 
- 
startpublic void start(Stage window) Invoked by JavaFX for starting the application. This method is called on the JavaFX Application Thread.- Specified by:
- startin class- Application
- Parameters:
- window- the primary stage onto which the application scene will be be set.
 
- 
stopInvoked 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:
- stopin class- Application
- Throws:
- Exception- if an error occurred, for example while closing a data store.
 
- 
getCurrentStagepublic static Stage getCurrentStage()Returns the window in which the application is running, ornullif the application is not running.- Returns:
- the window in which the application is running, or null.
 
 
-