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:
ClientObject,Component
public class ComponentField extends AbstractField<java.lang.Void>
-
Field Summary
Fields inherited from class org.teamapps.ux.component.field.AbstractField
onValueChanged, onVisibilityChanged -
Constructor Summary
Constructors Constructor Description ComponentField(Component component) -
Method Summary
Modifier and Type Method Description org.teamapps.dto.UiFieldcreateUiComponent()org.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, isValueChangedByClient, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setValue, setVisible, validateMethods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setDebuggingId, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, toString, unrender
-
Constructor Details
-
Method Details
-
createUiComponent
public org.teamapps.dto.UiField createUiComponent()- Specified by:
createUiComponentin classAbstractComponent
-
getComponent
-
setComponent
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getBorder
-
setBorder
-
getBackgroundColor
public org.teamapps.common.format.Color getBackgroundColor() -
setBackgroundColor
public void setBackgroundColor(org.teamapps.common.format.Color backgroundColor)
-