Package org.linkki.core.ui.wrapper
Class VaadinComponentWrapper
- java.lang.Object
-
- org.linkki.core.ui.wrapper.VaadinComponentWrapper
-
- All Implemented Interfaces:
Serializable,ComponentWrapper
- Direct Known Subclasses:
AbstractGridComponentWrapper,FormItemComponentWrapper,GridColumnWrapper,LabelComponentWrapper,NoLabelComponentWrapper
public abstract class VaadinComponentWrapper extends Object implements ComponentWrapper
Base class to wrap vaadin components.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VaadinComponentWrapper(com.vaadin.flow.component.Component component, WrapperType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.component.ComponentgetComponent()WrapperTypegetType()voidregisterBinding(Binding binding)voidsetEnabled(boolean enabled)voidsetId(String id)voidsetTooltip(String text)voidsetValidationMessages(MessageList messagesForProperty)voidsetVisible(boolean visible)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linkki.core.binding.wrapper.ComponentWrapper
postUpdate, setLabel
-
-
-
-
Constructor Detail
-
VaadinComponentWrapper
public VaadinComponentWrapper(com.vaadin.flow.component.Component component, WrapperType type)
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceComponentWrapper
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfaceComponentWrapper
-
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisiblein interfaceComponentWrapper
-
setTooltip
public void setTooltip(String text)
- Specified by:
setTooltipin interfaceComponentWrapper
-
getComponent
public com.vaadin.flow.component.Component getComponent()
- Specified by:
getComponentin interfaceComponentWrapper
-
setValidationMessages
public void setValidationMessages(MessageList messagesForProperty)
- Specified by:
setValidationMessagesin interfaceComponentWrapper
-
registerBinding
public void registerBinding(Binding binding)
- Specified by:
registerBindingin interfaceComponentWrapper
-
getType
public WrapperType getType()
- Specified by:
getTypein interfaceComponentWrapper
-
-