|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIOutput javax.faces.component.UIInput javax.faces.component.html.HtmlInputText org.apache.myfaces.component.html.ext.AbstractHtmlInputText org.apache.myfaces.component.html.ext.HtmlInputText org.apache.myfaces.custom.calendar.AbstractHtmlInputCalendar org.apache.myfaces.custom.calendar.HtmlInputCalendar
public class HtmlInputCalendar
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class javax.faces.component.UIInput |
---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable |
---|
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR |
Constructor Summary | |
---|---|
HtmlInputCalendar()
|
Method Summary | |
---|---|
java.lang.String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
java.lang.String |
getCurrentDayCellClass()
CSS class to be used for the TD element of the currently selected date. |
DateBusinessConverter |
getDateBusinessConverter()
Indicate an object used as a bridge between the java.util.Date instance used by this component internally and the value object used on the bean, referred as a "business" value. |
java.lang.String |
getDayCellClass()
CSS class to be used for the TD element containing a day days. |
java.lang.String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
java.lang.String |
getFamily()
|
java.lang.String |
getHelpText()
The text that will be rendered in the field - helping the user to find the right format to enter into the field. |
java.lang.String |
getImageLocation()
An alternate location to find image resources. |
java.lang.String |
getJavascriptLocation()
An alternate location to find javascript resources. |
java.lang.String |
getMonthYearRowClass()
CSS class to be used on the TR element for the header-row showing month and year. |
java.lang.String |
getPopupButtonImageUrl()
Url to the image for this popupButton. |
java.lang.String |
getPopupButtonString()
Defines the string displayed on the button which leads to the calendar-popup-window (... |
java.lang.String |
getPopupButtonStyle()
Defines the css style for the button which leads to the calendar-popup-window. |
java.lang.String |
getPopupButtonStyleClass()
Defines the css style class for the button which leads to the calendar-popup-window. |
java.lang.String |
getPopupDateFormat()
Defines the date format used by the java-script popup on client. |
java.lang.String |
getPopupGotoString()
Set the string for "Go To Current Month" |
java.lang.String |
getPopupScrollLeftMessage()
Set the string for scrolling to the left. |
java.lang.String |
getPopupScrollRightMessage()
Set the string for scrolling to the right. |
java.lang.String |
getPopupSelectDateMessage()
Set the string for "Select [date] as date" (do not replace [date], it will be replaced by the current date). |
java.lang.String |
getPopupSelectMode()
May be "day", "week", "month" or "none": day (default): allow the user to select a day. week: only allow the user to select a week. month: only allow the user to select a month. none: equivalent to "readonly". |
java.lang.String |
getPopupSelectMonthMessage()
Set the string for "Click to select a month". |
java.lang.String |
getPopupSelectYearMessage()
Set the string for "Click to select a year". |
java.lang.String |
getPopupTheme()
Set the theme-prefix for this component. |
java.lang.String |
getPopupTodayDateFormat()
Defines the date format used by the java-script popup on client for the today-is string. |
java.lang.String |
getPopupTodayString()
Set the string for "Today is" |
java.lang.String |
getPopupWeekString()
Set the string for "Wk" |
java.lang.String |
getStyleLocation()
An alternate location to find stylesheet resources. |
java.lang.String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
java.lang.String |
getWeekRowClass()
CSS class to be used on the TR element for the header-row showing the week-days. |
boolean |
isAddResources()
Automatically add the input-calendar scripts and css files to the header - set that to false to provide the scripts yourself. |
boolean |
isPopupLeft()
Render the input-calendar left of the button, not right like normally done. |
boolean |
isRenderAsPopup()
Render the input-calendar as a java-script popup on client. |
boolean |
isRenderPopupButtonAsImage()
If true, renders a calendar icon instead of the button to pop up the calendar. |
void |
restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setAddResources(boolean addResources)
|
void |
setAlign(java.lang.String align)
|
void |
setCurrentDayCellClass(java.lang.String currentDayCellClass)
|
void |
setDateBusinessConverter(DateBusinessConverter dateBusinessConverter)
|
void |
setDayCellClass(java.lang.String dayCellClass)
|
void |
setEnabledOnUserRole(java.lang.String enabledOnUserRole)
|
void |
setHelpText(java.lang.String helpText)
|
void |
setImageLocation(java.lang.String imageLocation)
|
void |
setJavascriptLocation(java.lang.String javascriptLocation)
|
void |
setMonthYearRowClass(java.lang.String monthYearRowClass)
|
void |
setPopupButtonImageUrl(java.lang.String popupButtonImageUrl)
|
void |
setPopupButtonString(java.lang.String popupButtonString)
|
void |
setPopupButtonStyle(java.lang.String popupButtonStyle)
|
void |
setPopupButtonStyleClass(java.lang.String popupButtonStyleClass)
|
void |
setPopupDateFormat(java.lang.String popupDateFormat)
|
void |
setPopupGotoString(java.lang.String popupGotoString)
|
void |
setPopupLeft(boolean popupLeft)
|
void |
setPopupScrollLeftMessage(java.lang.String popupScrollLeftMessage)
|
void |
setPopupScrollRightMessage(java.lang.String popupScrollRightMessage)
|
void |
setPopupSelectDateMessage(java.lang.String popupSelectDateMessage)
|
void |
setPopupSelectMode(java.lang.String popupSelectMode)
|
void |
setPopupSelectMonthMessage(java.lang.String popupSelectMonthMessage)
|
void |
setPopupSelectYearMessage(java.lang.String popupSelectYearMessage)
|
void |
setPopupTheme(java.lang.String popupTheme)
|
void |
setPopupTodayDateFormat(java.lang.String popupTodayDateFormat)
|
void |
setPopupTodayString(java.lang.String popupTodayString)
|
void |
setPopupWeekString(java.lang.String popupWeekString)
|
void |
setRenderAsPopup(boolean renderAsPopup)
|
void |
setRenderPopupButtonAsImage(boolean renderPopupButtonAsImage)
|
void |
setStyleLocation(java.lang.String styleLocation)
|
void |
setVisibleOnUserRole(java.lang.String visibleOnUserRole)
|
void |
setWeekRowClass(java.lang.String weekRowClass)
|
Methods inherited from class org.apache.myfaces.custom.calendar.AbstractHtmlInputCalendar |
---|
isRendered, setAddResources |
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlInputText |
---|
getAutocomplete, getDatafld, getDataformatas, getDatasrc, getDisplayValueOnly, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, isDisabledOnClientSide, isForceId, isForceIdIndex, setAutocomplete, setDatafld, setDataformatas, setDatasrc, setDisabledOnClientSide, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setForceId, setForceIdIndex |
Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlInputText |
---|
getClientId, isDisplayValueOnly, isSetDisplayValueOnly, setDisplayValueOnly |
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, getStyle, getStyleClass, 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, setStyle, setStyleClass, setTabindex, setTitle |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValue, 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.UIOutput |
---|
getConverter, getLocalValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, 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 |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, setConverter |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public HtmlInputCalendar()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class HtmlInputText
public DateBusinessConverter getDateBusinessConverter()
AbstractHtmlInputCalendar
getDateBusinessConverter
in class AbstractHtmlInputCalendar
public void setDateBusinessConverter(DateBusinessConverter dateBusinessConverter)
setDateBusinessConverter
in class AbstractHtmlInputCalendar
public java.lang.String getMonthYearRowClass()
AbstractHtmlInputCalendar
getMonthYearRowClass
in class AbstractHtmlInputCalendar
public void setMonthYearRowClass(java.lang.String monthYearRowClass)
public java.lang.String getWeekRowClass()
AbstractHtmlInputCalendar
getWeekRowClass
in class AbstractHtmlInputCalendar
public void setWeekRowClass(java.lang.String weekRowClass)
public java.lang.String getDayCellClass()
AbstractHtmlInputCalendar
getDayCellClass
in class AbstractHtmlInputCalendar
public void setDayCellClass(java.lang.String dayCellClass)
public java.lang.String getCurrentDayCellClass()
AbstractHtmlInputCalendar
getCurrentDayCellClass
in class AbstractHtmlInputCalendar
public void setCurrentDayCellClass(java.lang.String currentDayCellClass)
public boolean isPopupLeft()
AbstractHtmlInputCalendar
isPopupLeft
in class AbstractHtmlInputCalendar
public void setPopupLeft(boolean popupLeft)
public boolean isRenderAsPopup()
AbstractHtmlInputCalendar
isRenderAsPopup
in class AbstractHtmlInputCalendar
public void setRenderAsPopup(boolean renderAsPopup)
public boolean isAddResources()
AbstractHtmlInputCalendar
isAddResources
in class AbstractHtmlInputCalendar
public void setAddResources(boolean addResources)
setAddResources
in class AbstractHtmlInputCalendar
public java.lang.String getPopupButtonString()
AbstractHtmlInputCalendar
getPopupButtonString
in class AbstractHtmlInputCalendar
public void setPopupButtonString(java.lang.String popupButtonString)
public java.lang.String getPopupButtonStyle()
AbstractHtmlInputCalendar
getPopupButtonStyle
in class AbstractHtmlInputCalendar
public void setPopupButtonStyle(java.lang.String popupButtonStyle)
public java.lang.String getPopupButtonStyleClass()
AbstractHtmlInputCalendar
getPopupButtonStyleClass
in class AbstractHtmlInputCalendar
public void setPopupButtonStyleClass(java.lang.String popupButtonStyleClass)
public boolean isRenderPopupButtonAsImage()
AbstractHtmlInputCalendar
isRenderPopupButtonAsImage
in class AbstractHtmlInputCalendar
public void setRenderPopupButtonAsImage(boolean renderPopupButtonAsImage)
public java.lang.String getPopupDateFormat()
AbstractHtmlInputCalendar
getPopupDateFormat
in class AbstractHtmlInputCalendar
public void setPopupDateFormat(java.lang.String popupDateFormat)
public java.lang.String getPopupGotoString()
AbstractHtmlInputCalendar
getPopupGotoString
in class AbstractHtmlInputCalendar
public void setPopupGotoString(java.lang.String popupGotoString)
public java.lang.String getPopupTodayString()
AbstractHtmlInputCalendar
getPopupTodayString
in class AbstractHtmlInputCalendar
public void setPopupTodayString(java.lang.String popupTodayString)
public java.lang.String getPopupTodayDateFormat()
AbstractHtmlInputCalendar
getPopupTodayDateFormat
in class AbstractHtmlInputCalendar
public void setPopupTodayDateFormat(java.lang.String popupTodayDateFormat)
public java.lang.String getPopupWeekString()
AbstractHtmlInputCalendar
getPopupWeekString
in class AbstractHtmlInputCalendar
public void setPopupWeekString(java.lang.String popupWeekString)
public java.lang.String getPopupScrollLeftMessage()
AbstractHtmlInputCalendar
getPopupScrollLeftMessage
in class AbstractHtmlInputCalendar
public void setPopupScrollLeftMessage(java.lang.String popupScrollLeftMessage)
public java.lang.String getPopupScrollRightMessage()
AbstractHtmlInputCalendar
getPopupScrollRightMessage
in class AbstractHtmlInputCalendar
public void setPopupScrollRightMessage(java.lang.String popupScrollRightMessage)
public java.lang.String getPopupSelectMonthMessage()
AbstractHtmlInputCalendar
getPopupSelectMonthMessage
in class AbstractHtmlInputCalendar
public void setPopupSelectMonthMessage(java.lang.String popupSelectMonthMessage)
public java.lang.String getPopupSelectYearMessage()
AbstractHtmlInputCalendar
getPopupSelectYearMessage
in class AbstractHtmlInputCalendar
public void setPopupSelectYearMessage(java.lang.String popupSelectYearMessage)
public java.lang.String getPopupSelectDateMessage()
AbstractHtmlInputCalendar
getPopupSelectDateMessage
in class AbstractHtmlInputCalendar
public void setPopupSelectDateMessage(java.lang.String popupSelectDateMessage)
public java.lang.String getPopupTheme()
AbstractHtmlInputCalendar
getPopupTheme
in class AbstractHtmlInputCalendar
public void setPopupTheme(java.lang.String popupTheme)
public java.lang.String getPopupButtonImageUrl()
AbstractHtmlInputCalendar
getPopupButtonImageUrl
in class AbstractHtmlInputCalendar
public void setPopupButtonImageUrl(java.lang.String popupButtonImageUrl)
public java.lang.String getHelpText()
AbstractHtmlInputCalendar
getHelpText
in class AbstractHtmlInputCalendar
public void setHelpText(java.lang.String helpText)
public java.lang.String getPopupSelectMode()
AbstractHtmlInputCalendar
May be "day", "week", "month" or "none":
getPopupSelectMode
in class AbstractHtmlInputCalendar
public void setPopupSelectMode(java.lang.String popupSelectMode)
public java.lang.String getEnabledOnUserRole()
UserRoleAware
getEnabledOnUserRole
in interface UserRoleAware
getEnabledOnUserRole
in class HtmlInputText
public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
setEnabledOnUserRole
in interface UserRoleAware
setEnabledOnUserRole
in class HtmlInputText
public java.lang.String getVisibleOnUserRole()
UserRoleAware
getVisibleOnUserRole
in interface UserRoleAware
getVisibleOnUserRole
in class HtmlInputText
public void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
setVisibleOnUserRole
in interface UserRoleAware
setVisibleOnUserRole
in class HtmlInputText
public java.lang.String getJavascriptLocation()
LocationAware
public void setJavascriptLocation(java.lang.String javascriptLocation)
public java.lang.String getImageLocation()
LocationAware
public void setImageLocation(java.lang.String imageLocation)
public java.lang.String getStyleLocation()
LocationAware
public void setStyleLocation(java.lang.String styleLocation)
public java.lang.String getAlign()
AlignProperty
getAlign
in interface AlignProperty
getAlign
in class HtmlInputText
public void setAlign(java.lang.String align)
setAlign
in class HtmlInputText
public java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
saveState
in interface javax.faces.component.StateHolder
saveState
in class HtmlInputText
public void restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class HtmlInputText
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |