Package org.fulib.fx.annotation.param
Annotation Interface Param
Fields, parameters and methods annotated with this annotation will be injected with a parameter provided when using the
FulibFxApp.show(String, Map) method.
If the annotation is used on a field, the field will be injected with the specified parameter's value before initializing the controller/component.
If the field is a writable property, the value will be set using the property's setter method (e.g. SimpleStringProperty).
If the annotation is used on a method, the method will be called with the specified parameter's value initializing the controller/component.
If the annotation is used on a method argument, the argument will be injected with the specified parameter's value (method has to be annotated with OnRender or OnInit).
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe name of the parameter.- Returns:
- The name of the parameter.
-