Package io.jmix.flowui.impl
Class UiComponentsImpl.ComponentInfo
java.lang.Object
io.jmix.flowui.impl.UiComponentsImpl.ComponentInfo
- Enclosing class:
- UiComponentsImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<? extends com.vaadin.flow.component.Component>protected UiComponentsImpl.ComponentInfoprotected UiComponentsImpl.ComponentInfo -
Constructor Summary
ConstructorsConstructorDescriptionComponentInfo(Class<? extends com.vaadin.flow.component.Component> original, UiComponentsImpl.ComponentInfo replacedComponent) -
Method Summary
Modifier and TypeMethodDescriptionbooleanClass<? extends com.vaadin.flow.component.Component>inthashCode()voidsetReplacement(UiComponentsImpl.ComponentInfo replacement) Sets the component that should be created for theoriginal.toString()
-
Field Details
-
original
-
replacedComponent
-
replacement
-
-
Constructor Details
-
ComponentInfo
public ComponentInfo(Class<? extends com.vaadin.flow.component.Component> original, @Nullable UiComponentsImpl.ComponentInfo replacedComponent)
-
-
Method Details
-
getOriginal
- Returns:
- the original component
-
getReplacedComponent
- Returns:
- the component that should be replaced by
originalornullif not set
-
getReplacement
- Returns:
- the component that should be created for the
originalornullif not set
-
setReplacement
Sets the component that should be created for theoriginal.- Parameters:
replacement- replacement
-
equals
-
hashCode
public int hashCode() -
toString
-