com.vaadin.flow.component.internal.
Class ComponentMetaData
- java.lang.Object
-
- com.vaadin.flow.component.internal.ComponentMetaData
-
public class ComponentMetaData extends Object
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 Modifier and Type Class Description static class
ComponentMetaData.DependencyInfo
Dependencies defined for a
Component
class.static class
ComponentMetaData.SynchronizedPropertyInfo
Synchronized properties defined for a
Component
class.
-
Constructor Summary
Constructors Constructor Description ComponentMetaData(Class<? extends Component> componentClass)
Scans the given component class and creates a new instance based on found annotations.
-
Method Summary
All Methods Modifier and Type Method Description ComponentMetaData.DependencyInfo
getDependencyInfo(VaadinService service)
Gets the dependencies, defined using annotations (
JsModule
,JavaScript
,StyleSheet
andUses
).Collection<ComponentMetaData.SynchronizedPropertyInfo>
getSynchronizedProperties()
Gets the properties that are marked to be synchronized and corresponding events.
-
-
-
Method Detail
-
getSynchronizedProperties
public Collection<ComponentMetaData.SynchronizedPropertyInfo> 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
public ComponentMetaData.DependencyInfo getDependencyInfo(VaadinService service)
Gets the dependencies, defined using annotations (
JsModule
,JavaScript
,StyleSheet
andUses
).Framework internal data, thus package-private.
Parameters:
service
- the service to use for resolving dependenciesReturns:
the dependencies for the given class
-
-