Class ComponentCheckBox
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement<ElementCheckBox,com.vaadin.flow.component.checkbox.Checkbox>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.reference.vaadin.components.ComponentCheckBox
-
- All Implemented Interfaces:
ElementEventListener
public class ComponentCheckBox extends AbstractUiElement<ElementCheckBox,com.vaadin.flow.component.checkbox.Checkbox>
UI element to render thecheckBox
element- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description ComponentCheckBox(ElementCheckBox element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onElementEvent(EventDescriptor event)
Executes a set of actions to update aUI element
when a element changeprotected void
postConstruct()
Init theUI element
with the properties in theelement
.void
setHeight(String height)
Sets the UI element height.void
setId(String id)
Sets the UI element id.void
setWidth(String width)
Sets the UI element width.-
Methods inherited from class com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement
build, fireUiElementEvent, getElement, getUiElement, getUiElementEventListener, setUiElementEventListener
-
-
-
-
Constructor Detail
-
ComponentCheckBox
public ComponentCheckBox(ElementCheckBox element)
-
-
Method Detail
-
postConstruct
protected void postConstruct()
Description copied from class:AbstractUiElement
Init theUI element
with the properties in theelement
.- Specified by:
postConstruct
in classAbstractUiElement<ElementCheckBox,com.vaadin.flow.component.checkbox.Checkbox>
-
setId
public void setId(String id)
Description copied from class:AbstractUiElement
Sets the UI element id.- Specified by:
setId
in classAbstractUiElement<ElementCheckBox,com.vaadin.flow.component.checkbox.Checkbox>
- Parameters:
id
- UI element id.
-
setWidth
public void setWidth(String width)
Description copied from class:AbstractUiElement
Sets the UI element width.- Specified by:
setWidth
in classAbstractUiElement<ElementCheckBox,com.vaadin.flow.component.checkbox.Checkbox>
- Parameters:
width
- UI element width.
-
setHeight
public void setHeight(String height)
Description copied from class:AbstractUiElement
Sets the UI element height.- Specified by:
setHeight
in classAbstractUiElement<ElementCheckBox,com.vaadin.flow.component.checkbox.Checkbox>
- Parameters:
height
- UI element height.
-
onElementEvent
public void onElementEvent(EventDescriptor event)
Description copied from interface:ElementEventListener
Executes a set of actions to update aUI element
when a element change- Parameters:
event
- Gets the event details
-
-