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:
Component
public class CheckBox extends AbstractField<java.lang.Boolean>
-
-
Field Summary
-
Fields inherited from class org.teamapps.ux.component.field.AbstractField
onValueChanged, onVisibilityChanged
-
Fields inherited from class org.teamapps.ux.component.AbstractComponent
onDestroyed, onRendered
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.teamapps.dto.UiFieldcreateUiComponent()protected voiddoDestroy()Override this method to release resources whenever this component gets destroyedorg.teamapps.common.format.ColorgetBackgroundColor()org.teamapps.common.format.ColorgetBorderColor()java.lang.StringgetCaption()org.teamapps.common.format.ColorgetCheckColor()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)-
Methods inherited from class org.teamapps.ux.component.field.AbstractField
addFieldMessage, applyValueFromUi, convertUiValueToUxValue, convertUxValueToUiValue, focus, getEditingMode, getFieldMessages, getValue, handleUiEvent, isVisible, mapAbstractFieldAttributesToUiField, removeFieldMessage, removeFieldMessages, removeValidationMessages, setAndLockValue, setEditingMode, setFieldMessages, setValidationMessage, setValue, setVisible
-
Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiComponentReference, destroy, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, 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.Component
setCssStyle
-
-
-
-
Method Detail
-
createUiComponent
public org.teamapps.dto.UiField createUiComponent()
- Specified by:
createUiComponentin classAbstractComponent
-
doDestroy
protected void doDestroy()
Description copied from class:AbstractComponentOverride this method to release resources whenever this component gets destroyed- Specified by:
doDestroyin classAbstractField<java.lang.Boolean>
-
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)
-
-