|
||||||||||
| 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.UISelectItem
org.rcfaces.core.internal.component.CameliaItemComponent
org.rcfaces.core.component.AbstractItemComponent
org.rcfaces.core.component.SelectItemComponent
org.rcfaces.core.component.DateItemComponent
public class DateItemComponent
An item specialized for date values.
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaItemComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UISelectItem |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
DateItemComponent()
|
|
DateItemComponent(String componentId)
|
|
| Method Summary | |
|---|---|
protected Set |
getCameliaFields()
|
Date |
getDate()
|
Locale |
getLiteralLocale()
Returns the locale defined for literal attributes. |
Locale |
getLiteralLocale(FacesContext facesContext)
See getLiteralLocale() for more details |
TimeZone |
getLiteralTimeZone()
Returns the timeZone defined for literal attributes. |
TimeZone |
getLiteralTimeZone(FacesContext facesContext)
See getLiteralTimeZone() for more details |
String |
getMenuPopupId()
|
String |
getMenuPopupId(FacesContext facesContext)
See getMenuPopupId() for more details |
String |
getStyleClass()
Returns the style class of the component. |
String |
getStyleClass(FacesContext facesContext)
See getStyleClass() for more details |
String |
getText()
Returns a string value specifying the text shown. |
boolean |
isLiteralLocaleSetted()
Returns true if the attribute "literalLocale" is set. |
boolean |
isLiteralTimeZoneSetted()
Returns true if the attribute "literalTimeZone" is set. |
boolean |
isMenuPopupIdSetted()
Returns true if the attribute "menuPopupId" is set. |
boolean |
isStyleClassSetted()
Returns true if the attribute "styleClass" is set. |
boolean |
isTextSetted()
Returns true if the attribute "text" is set. |
void |
setDate(Date date)
|
void |
setDate(String date)
|
void |
setLiteralLocale(Locale literalLocale)
Sets the locale for literal attributes. |
void |
setLiteralLocale(String locale)
|
void |
setLiteralTimeZone(String timeZone)
|
void |
setLiteralTimeZone(TimeZone literalTimeZone)
Sets the timeZone for literal attributes. |
void |
setMenuPopupId(String menuPopupId)
|
void |
setStyleClass(String styleClass)
Specify the style class of the component. |
void |
setText(String text)
Sets a string value specifying the text to be shown. |
void |
setValueExpression(String name,
javax.el.ValueExpression binding)
|
| Methods inherited from class org.rcfaces.core.component.SelectItemComponent |
|---|
getToolTip, getToolTipText, getToolTipText, isToolTipTextSetted, setToolTip, setToolTipText |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaItemComponent |
|---|
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UISelectItem |
|---|
getItemDescription, getItemLabel, getItemValue, getValue, isItemDisabled, isItemEscaped, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public DateItemComponent()
public DateItemComponent(String componentId)
| Method Detail |
|---|
public Date getDate()
public void setDate(Date date)
public void setDate(String date)
public void setText(String text)
ITextCapability
setText in interface ITextCapabilitytext - textpublic String getText()
ITextCapability
getText in interface ITextCapabilitypublic void setLiteralLocale(String locale)
public void setLiteralTimeZone(String timeZone)
public final boolean isTextSetted()
true if the attribute "text" is set.
true if the attribute is set.public String getStyleClass()
IStyleClassCapability
getStyleClass in interface IStyleClassCapabilitypublic String getStyleClass(FacesContext facesContext)
getStyleClass() for more details
public final boolean isStyleClassSetted()
true if the attribute "styleClass" is set.
true if the attribute is set.public void setStyleClass(String styleClass)
IStyleClassCapability
setStyleClass in interface IStyleClassCapabilitystyleClass - style classpublic String getMenuPopupId()
getMenuPopupId in interface IMenuPopupIdCapabilitypublic String getMenuPopupId(FacesContext facesContext)
getMenuPopupId() for more details
public final boolean isMenuPopupIdSetted()
true if the attribute "menuPopupId" is set.
true if the attribute is set.public void setMenuPopupId(String menuPopupId)
setMenuPopupId in interface IMenuPopupIdCapabilitypublic Locale getLiteralLocale()
ILiteralLocaleCapability
getLiteralLocale in interface ILiteralLocaleCapabilitypublic Locale getLiteralLocale(FacesContext facesContext)
getLiteralLocale() for more details
public final boolean isLiteralLocaleSetted()
true if the attribute "literalLocale" is set.
true if the attribute is set.public void setLiteralLocale(Locale literalLocale)
ILiteralLocaleCapability
setLiteralLocale in interface ILiteralLocaleCapabilityliteralLocale - locale to definepublic TimeZone getLiteralTimeZone()
ILiteralTimeZoneCapability
getLiteralTimeZone in interface ILiteralTimeZoneCapabilitypublic TimeZone getLiteralTimeZone(FacesContext facesContext)
getLiteralTimeZone() for more details
public final boolean isLiteralTimeZoneSetted()
true if the attribute "literalTimeZone" is set.
true if the attribute is set.public void setLiteralTimeZone(TimeZone literalTimeZone)
ILiteralTimeZoneCapability
setLiteralTimeZone in interface ILiteralTimeZoneCapabilityliteralTimeZone - timeZone to defineprotected Set getCameliaFields()
getCameliaFields in class SelectItemComponent
public void setValueExpression(String name,
javax.el.ValueExpression binding)
setValueExpression in class SelectItemComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||