com.liferay.faces.alloy.component.inputdatetime
Class InputDateTimeBase

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
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:
InputDateTime

@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder")
public abstract class InputDateTimeBase
extends InputTextBase
implements com.liferay.faces.util.component.Styleable, com.liferay.faces.util.component.ClientComponent

Author:
Bruno Basto, Kyle Stiemann

Nested Class Summary
protected static class 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
InputDateTimeBase()
           
 
Method Summary
 Boolean getAutoHide()
          autoHide attribute description:
 String getClientKey()
          clientKey attribute description:
 Object getLocale()
          locale attribute description:
 String getShowOn()
          showOn attribute description:
 String getStyleClass()
          styleClass attribute description:
 String getTimeZone()
          timeZone attribute description:
 Integer getzIndex()
          zIndex attribute description:
 boolean isNativeWhenMobile()
          nativeWhenMobile attribute description:
 void setAutoHide(Boolean autoHide)
          autoHide attribute description:
 void setClientKey(String clientKey)
          clientKey attribute description:
 void setLocale(Object locale)
          locale attribute description:
 void setNativeWhenMobile(boolean nativeWhenMobile)
          nativeWhenMobile attribute description:
 void setShowOn(String showOn)
          showOn attribute description:
 void setTimeZone(String timeZone)
          timeZone attribute description:
 void setzIndex(Integer zIndex)
          zIndex attribute description:
 
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
getConverter, 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
getConverter, 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

InputDateTimeBase

public InputDateTimeBase()
Method Detail

getAutoHide

public Boolean getAutoHide()

autoHide attribute description:

When this flag is true, the component will hide when an item is selected. The default value is true.


setAutoHide

public void setAutoHide(Boolean autoHide)

autoHide attribute description:

When this flag is true, the component will hide when an item is selected. The default value is true.


getClientKey

public String getClientKey()

clientKey attribute description:

The key name that can be used to reference the component on the client.

Specified by:
getClientKey in interface com.liferay.faces.util.component.ClientComponent

setClientKey

public void setClientKey(String clientKey)

clientKey attribute description:

The key name that can be used to reference the component on the client.

Specified by:
setClientKey in interface com.liferay.faces.util.component.ClientComponent

getLocale

public Object getLocale()

locale attribute description:

The locale of the component which can be of type java.lang.String or java.util.Locale.


setLocale

public void setLocale(Object locale)

locale attribute description:

The locale of the component which can be of type java.lang.String or java.util.Locale.


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.


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.


getShowOn

public String getShowOn()

showOn attribute description:

Specifies which event will pop up the picker. Valid values are "focus" (the default), "button", and "both".


setShowOn

public void setShowOn(String showOn)

showOn attribute description:

Specifies which event will pop up the picker. Valid values are "focus" (the default), "button", and "both".


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 InputTextBase

getTimeZone

public String getTimeZone()

timeZone attribute description:

The time zone of the component.


setTimeZone

public void setTimeZone(String timeZone)

timeZone attribute description:

The time zone of the component.


getzIndex

public Integer getzIndex()

zIndex attribute description:

Specifies the stack order of the component. The default value is a constant from the Liferay.zIndex JavaScript object.


setzIndex

public void setzIndex(Integer zIndex)

zIndex attribute description:

Specifies the stack order of the component. The default value is a constant from the Liferay.zIndex JavaScript object.



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