Package org.teamapps.ux.component.field
Class ColorPicker
- All Implemented Interfaces:
ClientObject,Component
-
Field Summary
Fields inherited from class org.teamapps.ux.component.field.AbstractField
onBlur, onFocus, onValueChanged, onVisibilityChangedFields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertUiValueToUxValue(Object value) convertUxValueToUiValue(Color color) Converts a server-side value to a client-side field-specific value.voidsetClearButtonCaption(String clearButtonCaption) voidsetDefaultColor(Color defaultColor) voidsetSaveButtonCaption(String saveButtonCaption) Methods inherited from class org.teamapps.ux.component.field.AbstractField
addCustomFieldMessage, addCustomFieldMessage, addValidator, applyValueFromUi, clearCustomFieldMessages, clearValidatorMessages, focus, getCustomFieldMessages, getDefaultMessagePosition, getDefaultMessageVisibility, getEditingMode, getFieldMessages, getMaxFieldMessageSeverity, getValidators, getValue, handleUiEvent, isEmpty, isEmptyValue, isRequired, isValid, isValueChangedByClient, isValueLocked, 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.ClientObject
handleUiQueryMethods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
Constructor Details
-
ColorPicker
public ColorPicker()
-
-
Method Details
-
createUiComponent
- Specified by:
createUiComponentin classAbstractComponent
-
convertUiValueToUxValue
- Overrides:
convertUiValueToUxValuein classAbstractField<Color>
-
convertUxValueToUiValue
Description copied from class:AbstractFieldConverts a server-side value to a client-side field-specific value. Implementations must not have any side effects to the component!- Overrides:
convertUxValueToUiValuein classAbstractField<Color>- Parameters:
color- the server-side value- Returns:
- the object to be sent to the ui
-
getDefaultColor
-
setDefaultColor
-
getSaveButtonCaption
-
setSaveButtonCaption
-
getClearButtonCaption
-
setClearButtonCaption
-