Package org.teamapps.dto
Class UiComponentField
- java.lang.Object
-
- org.teamapps.dto.UiComponent
-
- org.teamapps.dto.UiField
-
- org.teamapps.dto.UiComponentField
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUiComponentField.SetBackgroundColorCommandstatic classUiComponentField.SetBorderCommandstatic classUiComponentField.SetComponentCommandstatic classUiComponentField.SetSizeCommand-
Nested classes/interfaces inherited from class org.teamapps.dto.UiField
UiField.FocusCommand, UiField.SetEditingModeCommand, UiField.SetFieldMessagesCommand, UiField.SetValueCommand, UiField.ValueChangedEvent
-
Nested classes/interfaces inherited from class org.teamapps.dto.UiComponent
UiComponent.SetStyleCommand, UiComponent.SetVisibleCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected UiColorbackgroundColorprotected UiBorderborderprotected UiComponentReferencecomponentprotected intheightprotected intwidth-
Fields inherited from class org.teamapps.dto.UiField
editingMode, fieldMessages, value
-
Fields inherited from class org.teamapps.dto.UiComponent
id, stylesBySelector, visible
-
-
Constructor Summary
Constructors Constructor Description UiComponentField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UiColorgetBackgroundColor()UiBordergetBorder()UiComponentReferencegetComponent()intgetHeight()UiObjectTypegetUiObjectType()intgetWidth()UiComponentFieldsetBackgroundColor(UiColor backgroundColor)UiComponentFieldsetBorder(UiBorder border)UiComponentFieldsetComponent(UiComponentReference component)UiComponentFieldsetEditingMode(UiFieldEditingMode editingMode)UiComponentFieldsetFieldMessages(java.util.List<UiFieldMessage> fieldMessages)UiComponentFieldsetHeight(int height)UiComponentFieldsetId(java.lang.String id)UiComponentFieldsetStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)UiComponentFieldsetValue(java.lang.Object value)UiComponentFieldsetVisible(boolean visible)UiComponentFieldsetWidth(int width)java.lang.StringtoString()-
Methods inherited from class org.teamapps.dto.UiField
getEditingMode, getFieldMessages, getValue
-
Methods inherited from class org.teamapps.dto.UiComponent
getId, getStylesBySelector, getVisible
-
-
-
-
Field Detail
-
component
protected UiComponentReference component
-
width
protected int width
-
height
protected int height
-
border
protected UiBorder border
-
backgroundColor
protected UiColor backgroundColor
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject- Overrides:
getUiObjectTypein classUiComponent
-
getComponent
public UiComponentReference getComponent()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getBorder
public UiBorder getBorder()
-
getBackgroundColor
public UiColor getBackgroundColor()
-
setId
public UiComponentField setId(java.lang.String id)
-
setVisible
public UiComponentField setVisible(boolean visible)
- Overrides:
setVisiblein classUiField
-
setStylesBySelector
public UiComponentField setStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)
- Overrides:
setStylesBySelectorin classUiField
-
setEditingMode
public UiComponentField setEditingMode(UiFieldEditingMode editingMode)
- Overrides:
setEditingModein classUiField
-
setValue
public UiComponentField setValue(java.lang.Object value)
-
setFieldMessages
public UiComponentField setFieldMessages(java.util.List<UiFieldMessage> fieldMessages)
- Overrides:
setFieldMessagesin classUiField
-
setComponent
public UiComponentField setComponent(UiComponentReference component)
-
setWidth
public UiComponentField setWidth(int width)
-
setHeight
public UiComponentField setHeight(int height)
-
setBorder
public UiComponentField setBorder(UiBorder border)
-
setBackgroundColor
public UiComponentField setBackgroundColor(UiColor backgroundColor)
-
-