Class ComponentMetaData
java.lang.Object
com.vaadin.flow.component.internal.ComponentMetaData
Immutable meta data related to a component class.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionComponentMetaData
(Class<? extends Component> componentClass) Scans the given component class and creates a new instance based on found annotations. -
Method Summary
Modifier and TypeMethodDescriptiongetDependencyInfo
(VaadinService service) Gets the properties that are marked to be synchronized and corresponding events.
-
Constructor Details
-
ComponentMetaData
Scans the given component class and creates a new instance based on found annotations.- Parameters:
componentClass
- the component class to scan
-
-
Method Details
-
getSynchronizedProperties
Gets the properties that are marked to be synchronized and corresponding events.Framework internal data, thus package-private.
- Returns:
- a collection of information objects about properties to be synchronized
-
getDependencyInfo
Gets the dependencies, defined using annotations (JsModule
,JavaScript
,StyleSheet
andUses
).Framework internal data, thus package-private.
- Parameters:
service
- the service to use for resolving dependencies- Returns:
- the dependencies for the given class
-