|
||||||||||
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
com.sun.rave.web.ui.component.TimeBase
com.sun.rave.web.ui.component.Time
public class Time
Field Summary | |
---|---|
static java.lang.String |
HOUR_FACET
|
static java.lang.String |
HOUR_ID
|
static java.lang.String |
MINUTES_FACET
|
static java.lang.String |
MINUTES_ID
|
Fields inherited from class javax.faces.component.UIInput |
---|
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
Time()
|
Method Summary | |
---|---|
java.util.Calendar |
getCalendar()
Returns a new Calendar instance corresponding to the user's current locale and the developer specified time zone (if any). |
DropDown |
getHourMenu()
|
java.lang.String |
getHourTooltipKey()
Getter for property hourTooltipKey. |
DropDown |
getMinutesMenu()
|
java.lang.String |
getMinutesTooltipKey()
Getter for property minutesTooltipKey. |
java.lang.String |
getOffset()
Get the time-zone as a string. |
void |
processDecodes(javax.faces.context.FacesContext context)
Specialized decode behavior on top of that provided by the superclass. |
void |
setHourTooltipKey(java.lang.String hourTooltipKey)
Setter for property hourTooltipKey. |
void |
setMinutesTooltipKey(java.lang.String minutesTooltipKey)
Setter for property minutesTooltipKey. |
void |
validate(javax.faces.context.FacesContext context)
Perform the following algorithm to validate the local value of this UIInput . |
Methods inherited from class com.sun.rave.web.ui.component.TimeBase |
---|
getFamily, getStyle, getStyleClass, getTabIndex, getTimeZone, isDisabled, isReadOnly, isVisible, restoreState, saveState, setDisabled, setReadOnly, setStyle, setStyleClass, setTabIndex, setTimeZone, setVisible |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, 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, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, 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 javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, getValue, setConverter |
Field Detail |
---|
public static final java.lang.String HOUR_FACET
public static final java.lang.String HOUR_ID
public static final java.lang.String MINUTES_FACET
public static final java.lang.String MINUTES_ID
Constructor Detail |
---|
public Time()
Method Detail |
---|
public DropDown getHourMenu()
public DropDown getMinutesMenu()
public java.lang.String getOffset()
Get the time-zone as a string.
public java.util.Calendar getCalendar()
Returns a new Calendar instance corresponding to the user's current locale and the developer specified time zone (if any).
public java.lang.String getHourTooltipKey()
public void setHourTooltipKey(java.lang.String hourTooltipKey)
hourTooltipKey
- New value of property hourTooltipKey.public java.lang.String getMinutesTooltipKey()
public void setMinutesTooltipKey(java.lang.String minutesTooltipKey)
minutesTooltipKey
- New value of property minutesTooltipKey.public void processDecodes(javax.faces.context.FacesContext context)
Specialized decode behavior on top of that provided by the
superclass. In addition to the standard
processDecodes
behavior inherited from UIComponentBase
, calls validate()
if the the
immediate
property is true; if the component is
invalid afterwards or a RuntimeException
is thrown,
calls FacesContext.renderResponse()
.
processDecodes
in class javax.faces.component.UIInput
java.lang.NullPointerException
public void validate(javax.faces.context.FacesContext context)
Perform the following algorithm to validate the local value of
this UIInput
.
validate
in class javax.faces.component.UIInput
context
- The FacesContext
for the current request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |