Class ColorPickerBase
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.html.HtmlInputText
org.primefaces.component.api.AbstractPrimeHtmlInputText
org.primefaces.component.colorpicker.ColorPickerBase
- All Implemented Interfaces:
EventListener,javax.faces.component.behavior.ClientBehaviorHolder,javax.faces.component.EditableValueHolder,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.component.ValueHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,PrimeClientBehaviorHolder,RTLAware,Widget
- Direct Known Subclasses:
ColorPicker
public abstract class ColorPickerBase
extends AbstractPrimeHtmlInputText
implements Widget, PrimeClientBehaviorHolder, RTLAware
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.primefaces.component.api.AbstractPrimeHtmlInputText
EVENT_NAMESFields inherited from class javax.faces.component.html.HtmlInputText
COMPONENT_TYPEFields inherited from class javax.faces.component.UIInput
ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAMEFields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEYFields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMode()getTheme()booleanisAlpha()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAlpha(boolean alpha) voidsetClearButton(boolean clearButton) voidsetCloseButton(boolean closeButton) voidsetFocusInput(boolean focusInput) voidsetForceAlpha(boolean forceAlpha) voidvoidsetFormatToggle(boolean formatToggle) voidvoidvoidsetSelectInput(boolean selectInput) voidsetSwatches(String swatches) voidsetSwatchesOnly(boolean swatchesOnly) voidvoidsetThemeMode(String themeMode) voidsetWidgetVar(String widgetVar) Methods inherited from class org.primefaces.component.api.AbstractPrimeHtmlInputText
getEventNames, getInputmode, getOncontextmenu, getOncopy, getOncut, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOninput, getOninvalid, getOnpaste, getOnreset, getOnscroll, getOnsearch, getOnwheel, setInputmode, setOncontextmenu, setOncopy, setOncut, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOninput, setOninvalid, setOnpaste, setOnreset, setOnscroll, setOnsearch, setOnwheelMethods inherited from class javax.faces.component.html.HtmlInputText
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setSize, setStyle, setStyleClass, setTabindex, setTitleMethods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValueMethods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverterMethods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventMethods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviorsMethods inherited from interface org.primefaces.component.api.PrimeClientBehaviorHolder
getBehaviorEventMappingMethods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverterMethods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_FAMILY
- See Also:
-
DEFAULT_RENDERER
- See Also:
-
CLEAR_LABEL
- See Also:
-
CLOSE_LABEL
- See Also:
-
-
Constructor Details
-
ColorPickerBase
public ColorPickerBase()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjavax.faces.component.UIInput
-
getWidgetVar
-
setWidgetVar
-
getMode
-
setMode
-
getTheme
-
setTheme
-
getThemeMode
-
setThemeMode
-
getFormat
-
setFormat
-
isFormatToggle
public boolean isFormatToggle() -
setFormatToggle
public void setFormatToggle(boolean formatToggle) -
isAlpha
public boolean isAlpha() -
setAlpha
public void setAlpha(boolean alpha) -
isForceAlpha
public boolean isForceAlpha() -
setForceAlpha
public void setForceAlpha(boolean forceAlpha) -
isSwatchesOnly
public boolean isSwatchesOnly() -
setSwatchesOnly
public void setSwatchesOnly(boolean swatchesOnly) -
isFocusInput
public boolean isFocusInput() -
setFocusInput
public void setFocusInput(boolean focusInput) -
isSelectInput
public boolean isSelectInput() -
setSelectInput
public void setSelectInput(boolean selectInput) -
isClearButton
public boolean isClearButton() -
setClearButton
public void setClearButton(boolean clearButton) -
isCloseButton
public boolean isCloseButton() -
setCloseButton
public void setCloseButton(boolean closeButton) -
getSwatches
-
setSwatches
-
getLocale
-
setLocale
-