Class UICalendar

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.api.UICalendar
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, InputHolder, TouchAware
Direct Known Subclasses:
CalendarBase, DatePickerBase

public abstract class UICalendar extends AbstractPrimeHtmlInputText implements InputHolder, TouchAware
  • Field Details

  • Constructor Details

    • UICalendar

      public UICalendar()
  • Method Details

    • getLocale

      public Object getLocale()
    • setLocale

      public void setLocale(Object locale)
    • getTimeZone

      public Object getTimeZone()
    • setTimeZone

      public void setTimeZone(Object timeZone)
    • getPattern

      public String getPattern()
    • setPattern

      public void setPattern(String pattern)
    • getMindate

      public Object getMindate()
    • setMindate

      public void setMindate(Object mindate)
    • getMaxdate

      public Object getMaxdate()
    • setMaxdate

      public void setMaxdate(Object maxdate)
    • isTimeOnly

      public boolean isTimeOnly()
    • isTimeOnlyWithoutDefault

      public Boolean isTimeOnlyWithoutDefault()
    • setTimeOnly

      public void setTimeOnly(boolean timeOnly)
    • isReadonlyInput

      public boolean isReadonlyInput()
    • setReadonlyInput

      public void setReadonlyInput(boolean readonlyInput)
    • getInputStyle

      public String getInputStyle()
    • setInputStyle

      public void setInputStyle(String inputStyle)
    • getInputStyleClass

      public String getInputStyleClass()
    • setInputStyleClass

      public void setInputStyleClass(String inputStyleClass)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getSelectionMode

      public String getSelectionMode()
    • calculateLocale

      public Locale calculateLocale(javax.faces.context.FacesContext facesContext)
    • hasTime

      public boolean hasTime()
    • calculatePattern

      public String calculatePattern()
    • calculateTimeOnlyPattern

      public String calculateTimeOnlyPattern()
    • calculateLocalizedPattern

      public String calculateLocalizedPattern()
    • calculateWidgetPattern

      public abstract String calculateWidgetPattern()
    • convertPattern

      public String convertPattern(String patternTemplate)
      Parameters:
      patternTemplate - the date pattern
      Returns:
      the value converted for InputMask plugin
      See Also:
    • isConversionFailed

      public boolean isConversionFailed()
    • setConversionFailed

      public void setConversionFailed(boolean value)
    • getInputClientId

      public String getInputClientId()
      Specified by:
      getInputClientId in interface InputHolder
      Returns:
      Client id of the input element
    • getValidatableInputClientId

      public String getValidatableInputClientId()
      Specified by:
      getValidatableInputClientId in interface InputHolder
      Returns:
      Client id of the validatable input element
    • getLabelledBy

      public String getLabelledBy()
      Specified by:
      getLabelledBy in interface InputHolder
      Returns:
      Client id of the label for aria
    • setLabelledBy

      public void setLabelledBy(String labelledBy)
      Description copied from interface: InputHolder
      Sets the id of the label for aria.
      Specified by:
      setLabelledBy in interface InputHolder
      Parameters:
      labelledBy - the id
    • getRangeSeparator

      public String getRangeSeparator()
    • setRangeSeparator

      public void setRangeSeparator(String _rangeSeparator)
    • getResolverStyle

      public String getResolverStyle()
    • setResolverStyle

      public void setResolverStyle(String resolverStyle)
    • isTouchable

      public Boolean isTouchable()
      Description copied from interface: TouchAware
      Is this component touch enabled?
      Specified by:
      isTouchable in interface TouchAware
      Returns:
      false to disable
    • setTouchable

      public void setTouchable(Boolean touchable)
      Description copied from interface: TouchAware
      Enable/disable touch support for this component.
      Specified by:
      setTouchable in interface TouchAware
      Parameters:
      touchable - true for touch support
    • getMask

      public String getMask()
    • setMask

      public void setMask(String mask)
    • getMaskSlotChar

      public String getMaskSlotChar()
    • setMaskSlotChar

      public void setMaskSlotChar(String maskSlotChar)
    • isMaskAutoClear

      public boolean isMaskAutoClear()
    • setMaskAutoClear

      public void setMaskAutoClear(boolean maskAutoClear)
    • createFacesMessageFromValidationResult

      protected void createFacesMessageFromValidationResult(javax.faces.context.FacesContext context, UICalendar.ValidationResult validationResult)
    • getValueType

      public Class<?> getValueType()
    • validateMinMax

      public void validateMinMax(javax.faces.context.FacesContext context)