Package org.teamapps.ux.component.field
Class CheckBox
- java.lang.Object
-
- org.teamapps.ux.component.AbstractComponent
-
- org.teamapps.ux.component.field.AbstractField<java.lang.Boolean>
-
- org.teamapps.ux.component.field.CheckBox
-
- All Implemented Interfaces:
ClientObject,Component
public class CheckBox extends AbstractField<java.lang.Boolean>
-
-
Field Summary
-
Fields inherited from class org.teamapps.ux.component.field.AbstractField
onBlur, onFocus, onValueChanged, onVisibilityChanged
-
Fields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.teamapps.dto.UiFieldcreateUiComponent()org.teamapps.common.format.ColorgetBackgroundColor()org.teamapps.common.format.ColorgetBorderColor()java.lang.StringgetCaption()org.teamapps.common.format.ColorgetCheckColor()booleanisHtmlEnabled()CheckBoxsetBackgroundColor(org.teamapps.common.format.Color backgroundColor)CheckBoxsetBorderColor(org.teamapps.common.format.Color borderColor)CheckBoxsetCaption(java.lang.String caption)CheckBoxsetCheckColor(org.teamapps.common.format.Color checkColor)CheckBoxsetHtmlEnabled(boolean htmlEnabled)-
Methods inherited from class org.teamapps.ux.component.field.AbstractField
addCustomFieldMessage, addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, clearValidatorMessages, convertUiValueToUxValue, convertUxValueToUiValue, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, handleUiEvent, isEmpty, isEmptyValue, isRequired, isValid, isValueChangedByClient, mapAbstractFieldAttributesToUiField, removeCustomFieldMessage, removeValidator, setAndLockValue, setCustomFieldMessages, setDefaultMessagePosition, setDefaultMessageVisibility, setEditingMode, setRequired, setRequiredIfVisibleAndEditable, setValue, setValueChangedByClient, setVisible, validate
-
Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, toggleCssClass, 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.ClientObject
handleUiQuery
-
Methods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
-
-
-
Method Detail
-
createUiComponent
public org.teamapps.dto.UiField createUiComponent()
- Specified by:
createUiComponentin classAbstractComponent
-
getCaption
public java.lang.String getCaption()
-
setCaption
public CheckBox setCaption(java.lang.String caption)
-
getBackgroundColor
public org.teamapps.common.format.Color getBackgroundColor()
-
setBackgroundColor
public CheckBox setBackgroundColor(org.teamapps.common.format.Color backgroundColor)
-
getCheckColor
public org.teamapps.common.format.Color getCheckColor()
-
setCheckColor
public CheckBox setCheckColor(org.teamapps.common.format.Color checkColor)
-
getBorderColor
public org.teamapps.common.format.Color getBorderColor()
-
setBorderColor
public CheckBox setBorderColor(org.teamapps.common.format.Color borderColor)
-
isHtmlEnabled
public boolean isHtmlEnabled()
-
setHtmlEnabled
public CheckBox setHtmlEnabled(boolean htmlEnabled)
-
-