|
|||||||||
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
com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarComponent
public class PopupCalendarComponent
Date picker with a JavaScript popup calendar
Field Summary |
---|
Fields inherited from class javax.faces.component.html.HtmlInputText |
---|
COMPONENT_TYPE |
Fields inherited from class javax.faces.component.UIInput |
---|
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Constructor Summary | |
---|---|
PopupCalendarComponent()
|
Method Summary | |
---|---|
protected java.lang.Object |
getConvertedValue(javax.faces.context.FacesContext context,
java.lang.Object isoValue)
|
java.lang.String |
getDateFormatPattern()
Pattern to use for date format. |
java.lang.String |
getFamily()
|
java.lang.String |
getLocaleString()
Underscore or dash separated locale string used to determine calendar format such as year, month, date ordering, month names, and week names. |
java.lang.String |
getStyle()
CSS style attribute. |
java.lang.String |
getStyleClass()
CSS "class" attribute. |
java.lang.String |
getValueAsString()
This is a String-typed alias for the "value" property and is the model value that will be the initially displayed date in the control and will reflect changes made by the webapp user during post-back. |
void |
restoreState(javax.faces.context.FacesContext _context,
java.lang.Object _state)
Restore the state of this component. |
java.lang.Object |
saveState(javax.faces.context.FacesContext _context)
Save the state of this component. |
void |
setDateFormatPattern(java.lang.String dateFormatPattern)
Pattern to use for date format. |
void |
setLocaleString(java.lang.String localeString)
Underscore or dash separated locale string used to determine calendar format such as year, month, date ordering, month names, and week names. |
void |
setStyle(java.lang.String style)
CSS style attribute. |
void |
setStyleClass(java.lang.String styleClass)
CSS "class" attribute. |
void |
setValueAsString(java.lang.String stringValue)
This is a String-typed alias for the "value" property and is the model value that will be the initially displayed date in the control and will reflect changes made by the webapp user during post-back. |
void |
setValueBinding(java.lang.String name,
javax.faces.el.ValueBinding binding)
|
void |
validate(javax.faces.context.FacesContext context)
|
Methods inherited from class javax.faces.component.html.HtmlInputText |
---|
getAccesskey, getAlt, getDir, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getSize, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setDir, setDisabled, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setSize, setTabindex, setTitle |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, compareValues, decode, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validateValue |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, getValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, getValue, setConverter |
Constructor Detail |
---|
public PopupCalendarComponent()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIInput
public void validate(javax.faces.context.FacesContext context)
validate
in class javax.faces.component.UIInput
protected java.lang.Object getConvertedValue(javax.faces.context.FacesContext context, java.lang.Object isoValue) throws javax.faces.convert.ConverterException
getConvertedValue
in class javax.faces.component.UIInput
javax.faces.convert.ConverterException
public java.lang.String getLocaleString()
Underscore or dash separated locale string used to determine calendar format such as year, month, date ordering, month names, and week names. If null, then the default locale from the view root will be used. For example, "de_DE", "fr_CA", "es".
public void setLocaleString(java.lang.String localeString)
Underscore or dash separated locale string used to determine calendar format such as year, month, date ordering, month names, and week names. If null, then the default locale from the view root will be used. For example, "de_DE", "fr_CA", "es".
getLocaleString()
public java.lang.String getDateFormatPattern()
Pattern to use for date format. A combination of the strings "yyyy", "MM", "dd", plus a separator character, with "yyyy" either first or last. If null, then derive a default one from the locale. See "locale" property for details. If pattern is not valid, then ISO 8601 "yyyy-MM-dd" will be used. For example, "yyyy-MM-dd", "dd.MM.yyyy", "MM/dd/yyyy".
public void setDateFormatPattern(java.lang.String dateFormatPattern)
Pattern to use for date format. A combination of the strings "yyyy", "MM", "dd", plus a separator character, with "yyyy" either first or last. If null, then derive a default one from the locale. See "locale" property for details. If pattern is not valid, then ISO 8601 "yyyy-MM-dd" will be used. For example, "yyyy-MM-dd", "dd.MM.yyyy", "MM/dd/yyyy".
getDateFormatPattern()
public java.lang.String getValueAsString()
This is a String-typed alias for the "value" property and is the model value that will be the initially displayed date in the control and will reflect changes made by the webapp user during post-back. Without any converters, this property is a String in ISO 8601 YYYY-MM-DD format. A value of null means no date is selected. Use the "value" property for non-String types.
public void setValueAsString(java.lang.String stringValue)
This is a String-typed alias for the "value" property and is the model value that will be the initially displayed date in the control and will reflect changes made by the webapp user during post-back. Without any converters, this property is a String in ISO 8601 YYYY-MM-DD format. A value of null means no date is selected. Use the "value" property for non-String types.
getValueAsString()
public java.lang.String getStyle()
CSS style attribute.
getStyle
in class javax.faces.component.html.HtmlInputText
public void setStyle(java.lang.String style)
CSS style attribute.
setStyle
in class javax.faces.component.html.HtmlInputText
getStyle()
public java.lang.String getStyleClass()
CSS "class" attribute.
getStyleClass
in class javax.faces.component.html.HtmlInputText
public void setStyleClass(java.lang.String styleClass)
CSS "class" attribute.
setStyleClass
in class javax.faces.component.html.HtmlInputText
getStyleClass()
public void setValueBinding(java.lang.String name, javax.faces.el.ValueBinding binding)
setValueBinding
in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext _context, java.lang.Object _state)
Restore the state of this component.
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.html.HtmlInputText
public java.lang.Object saveState(javax.faces.context.FacesContext _context)
Save the state of this component.
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.html.HtmlInputText
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |