-
@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) @Service(FxController.class) @Analyze("org.tentackle.buildsupport.FxControllerBundleHandler") public @interface FxControllerService
Annotation for Tentackle FX-controllers.
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringRESOURCES_NONEsetresources=FxControllerService.RESOURCES_NONEto disable resources.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description FxControllerService.BINDINGbindingReturns whether controller should be bound to the model.FxControllerService.CACHINGcachingReturns whether controller should be cached.java.lang.StringcssThe stylesheet.
By default, a file<controller-classname>.cssis searched for.java.lang.StringresourcesGets the resources bundle for annotated controller.booleantestReturns whether controller should be unit tested.java.lang.StringurlGets the URL for annotated controller.
-
-
-
-
resources
java.lang.String resources
Gets the resources bundle for annotated controller.- Returns:
- the bundle url, empty string if
<controller-classname>.properties, no resources ifRESOURCES_NONE
- Default:
- ""
-
-
-
caching
FxControllerService.CACHING caching
Returns whether controller should be cached.- Returns:
- the caching mode, CACHING.NO is default.
- Default:
- org.tentackle.fx.FxControllerService.CACHING.NO
-
-
-
binding
FxControllerService.BINDING binding
Returns whether controller should be bound to the model.- Returns:
- the binding mode, BINDING.YES is the default
- Default:
- org.tentackle.fx.FxControllerService.BINDING.YES
-
-