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
onValueChanged, onVisibilityChangedFields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Constructor Summary
-
Method Summary
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, validateMethods 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, unrenderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
Constructor Details
-
Method Details
-
createUiComponent
public org.teamapps.dto.UiField createUiComponent()- Specified by:
createUiComponentin classAbstractComponent
-
getCaption
public java.lang.String getCaption() -
setCaption
-
getBackgroundColor
public org.teamapps.common.format.Color getBackgroundColor() -
setBackgroundColor
-
getCheckColor
public org.teamapps.common.format.Color getCheckColor() -
setCheckColor
-
getBorderColor
public org.teamapps.common.format.Color getBorderColor() -
setBorderColor
-
isHtmlEnabled
public boolean isHtmlEnabled() -
setHtmlEnabled
-