java.lang.Object
javafx.application.Application
com.dlsc.gmapsfx.ClusteredMainApp
- All Implemented Interfaces:
MapComponentInitializedListener
public class ClusteredMainApp extends javafx.application.Application implements MapComponentInitializedListener
Example Application for creating and loading a GoogleMap into a JavaFX
application
- Author:
- Rob Terpilowski
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected DirectionsPanedirectionsprotected ClusteredGoogleMapmapprotected ClusteredGoogleMapViewmapComponent -
Constructor Summary
Constructors Constructor Description ClusteredMainApp() -
Method Summary
Modifier and Type Method Description static voidmain(String[] args)The main() method is ignored in correctly deployed JavaFX application.voidmapInitialized()voidstart(javafx.stage.Stage stage)
-
Field Details
-
Constructor Details
-
ClusteredMainApp
public ClusteredMainApp()
-
-
Method Details
-
start
- Specified by:
startin classjavafx.application.Application- Throws:
Exception
-
mapInitialized
public void mapInitialized()- Specified by:
mapInitializedin interfaceMapComponentInitializedListener
-
main
The main() method is ignored in correctly deployed JavaFX application. main() serves only as fallback in case the application can not be launched through deployment artifacts, e.g., in IDEs with limited FX support. NetBeans ignores main().- Parameters:
args- the command line arguments
-