public class JFXWindowServiceImpl extends Object implements JFXWindowService
JFXWindowService
for use in JavaFX application.
Provides methods to interact with main JavaFX stage (application window).Constructor and Description |
---|
JFXWindowServiceImpl(javafx.stage.Stage stage)
Creates new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
getTitle()
Returns current title of the window.
|
void |
setTitle(String title)
Set title for application window.
|
void |
setWindowIcons(URL... urls)
Set icons to be displayed on main window.
|
public JFXWindowServiceImpl(javafx.stage.Stage stage)
stage
- main windowpublic void setTitle(String title)
JFXWindowService
setTitle
in interface JFXWindowService
title
- title to setpublic String getTitle()
JFXWindowService
getTitle
in interface JFXWindowService
public void setWindowIcons(URL... urls)
JFXWindowService
setWindowIcons
in interface JFXWindowService
urls
- URLs of icon imagesCopyright © 2012-2014 Vektor Software. All Rights Reserved.