Package io.jmix.flowui.sys.registration
Class ComponentRegistrationImpl
java.lang.Object
io.jmix.flowui.sys.registration.ComponentRegistrationImpl
- All Implemented Interfaces:
ComponentRegistration
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Class<? extends com.vaadin.flow.component.Component>
protected final Class<? extends ComponentLoader>
protected final Class<? extends com.vaadin.flow.component.Component>
protected final String
-
Constructor Summary
ConstructorDescriptionComponentRegistrationImpl
(Class<? extends com.vaadin.flow.component.Component> component, String tag, Class<? extends com.vaadin.flow.component.Component> replacedComponent, Class<? extends ComponentLoader> componentLoader) -
Method Summary
-
Field Details
-
component
-
tag
-
replacedComponent
-
componentLoader
-
-
Constructor Details
-
ComponentRegistrationImpl
public ComponentRegistrationImpl(Class<? extends com.vaadin.flow.component.Component> component, @Nullable String tag, @Nullable Class<? extends com.vaadin.flow.component.Component> replacedComponent, @Nullable Class<? extends ComponentLoader> componentLoader)
-
-
Method Details
-
getComponent
- Specified by:
getComponent
in interfaceComponentRegistration
- Returns:
- component class
-
getTag
- Specified by:
getTag
in interfaceComponentRegistration
- Returns:
- component name that should be used in the view descriptor or
null
if not set
-
getReplacedComponent
- Specified by:
getReplacedComponent
in interfaceComponentRegistration
- Returns:
- component class that should be replaced by
ComponentRegistration.getComponent()
ornull
if not set
-
getComponentLoader
- Specified by:
getComponentLoader
in interfaceComponentRegistration
- Returns:
- component loader class or
null
if not set
-
equals
-
hashCode
public int hashCode() -
toString
-