Package io.jmix.flowui.impl
Class UiComponentsImpl.ComponentInfo
java.lang.Object
io.jmix.flowui.impl.UiComponentsImpl.ComponentInfo
- Enclosing class:
- UiComponentsImpl
-
Field Summary
Modifier and TypeFieldDescriptionprotected Class<? extends com.vaadin.flow.component.Component>
protected UiComponentsImpl.ComponentInfo
protected UiComponentsImpl.ComponentInfo
-
Constructor Summary
ConstructorDescriptionComponentInfo
(Class<? extends com.vaadin.flow.component.Component> original, UiComponentsImpl.ComponentInfo replacedComponent) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Class<? extends com.vaadin.flow.component.Component>
int
hashCode()
void
setReplacement
(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
original
ornull
if not set
-
getReplacement
- Returns:
- the component that should be created for the
original
ornull
if not set
-
setReplacement
Sets the component that should be created for theoriginal
.- Parameters:
replacement
- replacement
-
equals
-
hashCode
public int hashCode() -
toString
-