Class ComponentButton
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement<ElementButton,com.vaadin.flow.component.button.Button>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.reference.vaadin.components.ComponentButton
-
- All Implemented Interfaces:
ElementEventListener
public class ComponentButton extends AbstractUiElement<ElementButton,com.vaadin.flow.component.button.Button>
UI element to render thebutton
element- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description ComponentButton(ElementButton elementButton)
-
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 heigth)
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
-
ComponentButton
public ComponentButton(ElementButton elementButton)
-
-
Method Detail
-
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
-
setId
public void setId(String id)
Description copied from class:AbstractUiElement
Sets the UI element id.- Specified by:
setId
in classAbstractUiElement<ElementButton,com.vaadin.flow.component.button.Button>
- 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<ElementButton,com.vaadin.flow.component.button.Button>
- Parameters:
width
- UI element width.
-
setHeight
public void setHeight(String heigth)
Description copied from class:AbstractUiElement
Sets the UI element height.- Specified by:
setHeight
in classAbstractUiElement<ElementButton,com.vaadin.flow.component.button.Button>
- Parameters:
heigth
- UI element height.
-
postConstruct
protected void postConstruct()
Description copied from class:AbstractUiElement
Init theUI element
with the properties in theelement
.- Specified by:
postConstruct
in classAbstractUiElement<ElementButton,com.vaadin.flow.component.button.Button>
-
-