Package org.teamapps.dto
Class UiButton
- java.lang.Object
-
- org.teamapps.dto.UiComponent
-
- org.teamapps.dto.UiField
-
- org.teamapps.dto.UiButton
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUiButton.DropDownOpenedEventstatic classUiButton.SetDropDownComponentCommandstatic classUiButton.SetDropDownSizeCommandstatic classUiButton.SetOpenDropDownIfNotSetCommandstatic classUiButton.SetTemplateCommandstatic classUiButton.SetTemplateRecordCommand-
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 UiComponentReferencedropDownComponentprotected intminDropDownHeightprotected intminDropDownWidthprotected booleanopenDropDownIfNotSetprotected UiTemplatetemplateprotected java.lang.ObjecttemplateRecord-
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 UiButton()Deprecated.Only for Jackson deserialization.UiButton(UiTemplate template, java.lang.Object templateRecord)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UiComponentReferencegetDropDownComponent()intgetMinDropDownHeight()intgetMinDropDownWidth()booleangetOpenDropDownIfNotSet()UiTemplategetTemplate()java.lang.ObjectgetTemplateRecord()UiObjectTypegetUiObjectType()UiButtonsetDropDownComponent(UiComponentReference dropDownComponent)UiButtonsetEditingMode(UiFieldEditingMode editingMode)UiButtonsetFieldMessages(java.util.List<UiFieldMessage> fieldMessages)UiButtonsetId(java.lang.String id)UiButtonsetMinDropDownHeight(int minDropDownHeight)UiButtonsetMinDropDownWidth(int minDropDownWidth)UiButtonsetOpenDropDownIfNotSet(boolean openDropDownIfNotSet)UiButtonsetStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)UiButtonsetValue(java.lang.Object value)UiButtonsetVisible(boolean visible)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
-
template
protected UiTemplate template
-
templateRecord
protected java.lang.Object templateRecord
-
minDropDownWidth
protected int minDropDownWidth
-
minDropDownHeight
protected int minDropDownHeight
-
openDropDownIfNotSet
protected boolean openDropDownIfNotSet
-
dropDownComponent
protected UiComponentReference dropDownComponent
-
-
Constructor Detail
-
UiButton
@Deprecated public UiButton()
Deprecated.Only for Jackson deserialization. Use the other constructor instead.
-
UiButton
public UiButton(UiTemplate template, java.lang.Object templateRecord)
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject- Overrides:
getUiObjectTypein classUiComponent
-
getTemplate
public UiTemplate getTemplate()
-
getTemplateRecord
public java.lang.Object getTemplateRecord()
-
getMinDropDownWidth
public int getMinDropDownWidth()
-
getMinDropDownHeight
public int getMinDropDownHeight()
-
getOpenDropDownIfNotSet
public boolean getOpenDropDownIfNotSet()
-
getDropDownComponent
public UiComponentReference getDropDownComponent()
-
setVisible
public UiButton setVisible(boolean visible)
- Overrides:
setVisiblein classUiField
-
setStylesBySelector
public UiButton setStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)
- Overrides:
setStylesBySelectorin classUiField
-
setEditingMode
public UiButton setEditingMode(UiFieldEditingMode editingMode)
- Overrides:
setEditingModein classUiField
-
setFieldMessages
public UiButton setFieldMessages(java.util.List<UiFieldMessage> fieldMessages)
- Overrides:
setFieldMessagesin classUiField
-
setMinDropDownWidth
public UiButton setMinDropDownWidth(int minDropDownWidth)
-
setMinDropDownHeight
public UiButton setMinDropDownHeight(int minDropDownHeight)
-
setOpenDropDownIfNotSet
public UiButton setOpenDropDownIfNotSet(boolean openDropDownIfNotSet)
-
setDropDownComponent
public UiButton setDropDownComponent(UiComponentReference dropDownComponent)
-
-