@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface FXMLComponent
| Modifier and Type | Optional Element and Description |
|---|---|
String |
charset
Character set that has to be used, when parsing the FXML input given.
|
String |
location
A string definition of the URL to be used for loading the FXML file.
|
String |
resources
Location of the
ResourceBundle to be used when loading the FXML
document that represents this component. |
public abstract String location
The location can either be a location absolute or relative within the classpath (e.g. "/com/example/MyComponent.fxml" or "MyComponent.fxml") or a complete URL (e.g. "http://www.example.com/MyComponent.fxml")
FXMLLoader.setLocation(java.net.URL)public abstract String resources
ResourceBundle to be used when loading the FXML
document that represents this component.
Default: none
FXMLLoader.setResources(java.util.ResourceBundle)public abstract String charset
Default: UTF-8
FXMLLoader.setCharset(java.nio.charset.Charset)Copyright © 2012-2014 The Cat Hive Developers. All Rights Reserved.