Package org.teamapps.ux.component.field
Class ComponentField
- java.lang.Object
-
- org.teamapps.ux.component.AbstractComponent
-
- org.teamapps.ux.component.field.AbstractField<java.lang.Void>
-
- org.teamapps.ux.component.field.ComponentField
-
- All Implemented Interfaces:
Component
public class ComponentField extends AbstractField<java.lang.Void>
-
-
Field Summary
-
Fields inherited from class org.teamapps.ux.component.field.AbstractField
onValueChanged, onVisibilityChanged
-
Fields inherited from class org.teamapps.ux.component.AbstractComponent
onDestroyed, onRendered
-
-
Constructor Summary
Constructors Constructor Description ComponentField(Component component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.teamapps.dto.UiFieldcreateUiComponent()protected voiddoDestroy()Override this method to release resources whenever this component gets destroyedorg.teamapps.common.format.ColorgetBackgroundColor()BordergetBorder()ComponentgetComponent()intgetHeight()intgetWidth()voidsetBackgroundColor(org.teamapps.common.format.Color backgroundColor)voidsetBorder(Border border)voidsetComponent(Component component)voidsetHeight(int height)voidsetWidth(int width)-
Methods inherited from class org.teamapps.ux.component.field.AbstractField
addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, convertUiValueToUxValue, convertUxValueToUiValue, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, handleUiEvent, isEmpty, isRequired, isValid, isVisible, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setValue, setVisible, validate
-
Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiComponentReference, destroy, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, toString, unrender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teamapps.ux.component.Component
setCssStyle
-
-
-
-
Constructor Detail
-
ComponentField
public ComponentField(Component component)
-
-
Method Detail
-
createUiComponent
public org.teamapps.dto.UiField createUiComponent()
- Specified by:
createUiComponentin classAbstractComponent
-
doDestroy
protected void doDestroy()
Description copied from class:AbstractComponentOverride this method to release resources whenever this component gets destroyed- Overrides:
doDestroyin classAbstractComponent
-
getComponent
public Component getComponent()
-
setComponent
public void setComponent(Component component)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
getBorder
public Border getBorder()
-
setBorder
public void setBorder(Border border)
-
getBackgroundColor
public org.teamapps.common.format.Color getBackgroundColor()
-
setBackgroundColor
public void setBackgroundColor(org.teamapps.common.format.Color backgroundColor)
-
-