|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.html.HtmlInputText
org.apache.myfaces.custom.date.AbstractHtmlInputDate
public abstract class AbstractHtmlInputDate
Custom input control for dates and times. Unless otherwise specified, all attributes accept static values or EL expressions.
Nested Class Summary | |
---|---|
static class |
AbstractHtmlInputDate.UserData
|
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UIInput |
---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Constructor Summary | |
---|---|
AbstractHtmlInputDate()
|
Method Summary | |
---|---|
java.lang.String |
getClientId(javax.faces.context.FacesContext context)
Overriden to support the force id, since the parent is not an extended component |
javax.faces.convert.Converter |
getConverter()
This component converts submitted values to its inner class UserData, so this method does not allow custom converters to be defined. |
java.lang.String |
getConverterMessage()
This property comes from 1.2 UIInput, but since this component does not allow a custom converter, this should return null. |
abstract java.lang.String |
getEmptyAmpmSelection()
Label to be used when displaying an empty ampm selection |
abstract java.lang.String |
getEmptyMonthSelection()
Label to be used when displaying an empty month selection |
abstract java.lang.String |
getTimeZone()
|
abstract java.lang.String |
getType()
Specifies the type of value to be accepted. |
AbstractHtmlInputDate.UserData |
getUserData(java.util.Locale currentLocale)
|
abstract boolean |
isAmpm()
If true, use 12hr times with AM/PM selector; if false, use 24hr time. |
abstract boolean |
isDisabled()
HTML: When true, this element cannot receive focus. |
abstract boolean |
isPopupCalendar()
|
abstract boolean |
isReadonly()
HTML: When true, indicates that this component cannot be modified by the user. |
boolean |
isRendered()
|
void |
setConverter(javax.faces.convert.Converter converter)
|
void |
setConverterMessage(java.lang.String converterMessage)
|
Methods inherited from class javax.faces.component.html.HtmlInputText |
---|
getAccesskey, getAlt, getAutocomplete, getDir, getFamily, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getSize, getStyle, getStyleClass, getTabindex, getTitle, restoreState, saveState, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setSize, setStyle, setStyleClass, setTabindex, setTitle |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue |
Methods inherited from class javax.faces.component.UIOutput |
---|
getLocalValue, getValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
getEnabledOnUserRole, getVisibleOnUserRole, setEnabledOnUserRole, setVisibleOnUserRole |
Methods inherited from interface org.apache.myfaces.component.ForceIdAware |
---|
isForceId, isForceIdIndex, setForceId, setForceIdIndex |
Methods inherited from interface org.apache.myfaces.component.AlignProperty |
---|
getAlign |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getLocalValue, getValue |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
Constructor Detail |
---|
public AbstractHtmlInputDate()
Method Detail |
---|
public java.lang.String getClientId(javax.faces.context.FacesContext context)
getClientId
in class javax.faces.component.UIComponentBase
public boolean isRendered()
isRendered
in class javax.faces.component.UIComponentBase
public AbstractHtmlInputDate.UserData getUserData(java.util.Locale currentLocale)
public abstract java.lang.String getTimeZone()
public abstract java.lang.String getType()
public abstract boolean isAmpm()
public abstract boolean isPopupCalendar()
public abstract java.lang.String getEmptyMonthSelection()
public abstract java.lang.String getEmptyAmpmSelection()
public abstract boolean isReadonly()
isReadonly
in class javax.faces.component.html.HtmlInputText
public abstract boolean isDisabled()
isDisabled
in class javax.faces.component.html.HtmlInputText
public javax.faces.convert.Converter getConverter()
getConverter
in interface javax.faces.component.ValueHolder
getConverter
in class javax.faces.component.UIOutput
public void setConverter(javax.faces.convert.Converter converter)
setConverter
in interface javax.faces.component.ValueHolder
setConverter
in class javax.faces.component.UIOutput
public java.lang.String getConverterMessage()
getConverterMessage
in class javax.faces.component.UIInput
public void setConverterMessage(java.lang.String converterMessage)
setConverterMessage
in class javax.faces.component.UIInput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |