edu.nrao.sss.webapp.faces.component
Class DateTimeUIComponent
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
edu.nrao.sss.webapp.faces.component.DateTimeUIComponent
- All Implemented Interfaces:
- EditableValueHolder, StateHolder, ValueHolder
public class DateTimeUIComponent
- extends UIInput
Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, broadcast, compareValues, getConvertedValue, getFamily, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValue |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, 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, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getYear
protected static final SimpleDateFormat getYear
getMonth
protected static final SimpleDateFormat getMonth
getDay
protected static final SimpleDateFormat getDay
getHour
protected static final SimpleDateFormat getHour
getMinute
protected static final SimpleDateFormat getMinute
getSecond
protected static final SimpleDateFormat getSecond
DateTimeUIComponent
public DateTimeUIComponent()
encodeBegin
public void encodeBegin(FacesContext context)
throws IOException
- Overrides:
encodeBegin
in class UIComponentBase
- Throws:
IOException
decode
public void decode(FacesContext context)
- Overrides:
decode
in class UIInput
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIInput
restoreState
public void restoreState(FacesContext context,
Object state)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIInput
getDateSeparator
public String getDateSeparator()
setDateSeparator
public void setDateSeparator(String s)
getTimeSeparator
public String getTimeSeparator()
setTimeSeparator
public void setTimeSeparator(String s)
isEnabled
public Boolean isEnabled()
setEnabled
public void setEnabled(Boolean e)
getShowTime
public Boolean getShowTime()
setShowTime
public void setShowTime(Boolean s)
encodeEnd
public void encodeEnd(FacesContext context)
throws IOException
- Overridden to be empty.
- Overrides:
encodeEnd
in class UIComponentBase
- Throws:
IOException
encodeChildren
public void encodeChildren(FacesContext context)
throws IOException
- Overridden to be empty.
- Overrides:
encodeChildren
in class UIComponentBase
- Throws:
IOException
Copyright © 2009. All Rights Reserved.