com.liferay.faces.alloy.component.inputdate
Class InputDateBase

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by javax.faces.component.html.HtmlInputText
                      extended by com.liferay.faces.alloy.component.inputtext.InputTextBase
                          extended by com.liferay.faces.alloy.component.inputdatetime.InputDateTimeBase
                              extended by com.liferay.faces.alloy.component.inputdatetime.InputDateTime
                                  extended by com.liferay.faces.alloy.component.inputdate.InputDateBase
All Implemented Interfaces:
com.liferay.faces.util.component.ClientComponent, com.liferay.faces.util.component.Styleable, 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
Direct Known Subclasses:
InputDate

@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder")
public abstract class InputDateBase
extends InputDateTime
implements com.liferay.faces.util.component.Styleable

Author:
Bruno Basto, Kyle Stiemann

Nested Class Summary
protected static class InputDateBase.InputDatePropertyKeys
           
 
Nested classes/interfaces inherited from class com.liferay.faces.alloy.component.inputdatetime.InputDateTimeBase
InputDateTimeBase.InputDateTimePropertyKeys
 
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlInputText
javax.faces.component.html.HtmlInputText.PropertyKeys
 
Field Summary
static String COMPONENT_TYPE
           
static String RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
 
Fields 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_KEY
 
Fields inherited from interface com.liferay.faces.util.component.Styleable
STYLE, STYLE_CLASS
 
Fields inherited from interface com.liferay.faces.util.component.ClientComponent
CLIENT_KEY
 
Constructor Summary
InputDateBase()
           
 
Method Summary
 Object getMaxDate()
          maxDate attribute description:
 Object getMinDate()
          minDate attribute description:
 Integer getPanes()
          panes attribute description:
 String getPattern()
          pattern attribute description:
 String getStyleClass()
          styleClass attribute description:
 boolean isNativeWhenMobile()
          nativeWhenMobile attribute description:
 void setMaxDate(Object maxDate)
          maxDate attribute description:
 void setMinDate(Object minDate)
          minDate attribute description:
 void setNativeWhenMobile(boolean nativeWhenMobile)
          nativeWhenMobile attribute description:
 void setPanes(Integer panes)
          panes attribute description:
 void setPattern(String pattern)
          pattern attribute description:
 
Methods inherited from class com.liferay.faces.alloy.component.inputdatetime.InputDateTime
getConverter, getLocale, getLocale, getObjectAsDate, getObjectAsLocale, validateValue
 
Methods inherited from class com.liferay.faces.alloy.component.inputdatetime.InputDateTimeBase
getAutoHide, getClientKey, getShowOn, getTimeZone, getzIndex, setAutoHide, setClientKey, setLocale, setShowOn, setTimeZone, setzIndex
 
Methods inherited from class com.liferay.faces.alloy.component.inputtext.InputTextBase
getLabel
 
Methods inherited from class javax.faces.component.html.HtmlInputText
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getEventNames, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSize, getStyle, 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, setTitle
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, 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, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getLocalValue, setConverter
 
Methods 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, unsubscribeFromEvent
 
Methods 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, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.faces.util.component.Styleable
getStyle, setStyle, setStyleClass
 
Methods inherited from interface com.liferay.faces.util.component.ClientComponent
getClientId
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
 
Methods inherited from interface javax.faces.component.ValueHolder
getLocalValue, setConverter
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

RENDERER_TYPE

public static final String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

InputDateBase

public InputDateBase()
Method Detail

getMaxDate

public Object getMaxDate()

maxDate attribute description:

The maximum date that can be selected by the user. This attribute can be of type java.lang.String or java.util.Date.


setMaxDate

public void setMaxDate(Object maxDate)

maxDate attribute description:

The maximum date that can be selected by the user. This attribute can be of type java.lang.String or java.util.Date.


getMinDate

public Object getMinDate()

minDate attribute description:

The minimum date that can be selected by the user. This attribute can be of type java.lang.String or java.util.Date.


setMinDate

public void setMinDate(Object minDate)

minDate attribute description:

The minimum date that can be selected by the user. This attribute can be of type java.lang.String or java.util.Date.


isNativeWhenMobile

public boolean isNativeWhenMobile()

nativeWhenMobile attribute description:

When true, the component will render an HTML5 <input type="date" /> element on small/mobile displays in order to enable selection of a date with the mobile device's native UI.

Overrides:
isNativeWhenMobile in class InputDateTimeBase

setNativeWhenMobile

public void setNativeWhenMobile(boolean nativeWhenMobile)

nativeWhenMobile attribute description:

When true, the component will render an HTML5 <input type="date" /> element on small/mobile displays in order to enable selection of a date with the mobile device's native UI.

Overrides:
setNativeWhenMobile in class InputDateTimeBase

getPanes

public Integer getPanes()

panes attribute description:

The number of month panes shown in the popup calendar. Valid values are 1 (the default), 2, and 3.


setPanes

public void setPanes(Integer panes)

panes attribute description:

The number of month panes shown in the popup calendar. Valid values are 1 (the default), 2, and 3.


getPattern

public String getPattern()

pattern attribute description:

The format of the date that corresponds to patterns described in the javadoc for java.text.SimpleDateFormat.

Specified by:
getPattern in class InputDateTime

setPattern

public void setPattern(String pattern)

pattern attribute description:

The format of the date that corresponds to patterns described in the javadoc for java.text.SimpleDateFormat.


getStyleClass

public String getStyleClass()

styleClass attribute description:

List of CSS class names (separated by spaces) that are to be rendered within the class attribute.

Specified by:
getStyleClass in interface com.liferay.faces.util.component.Styleable
Overrides:
getStyleClass in class InputDateTimeBase


Copyright © 2017 Liferay, Inc.. All rights reserved.