|
||||||||||
| 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
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 String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static 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 | |
|---|---|
String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
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. |
String |
getDayCellClass()
CSS class to be used for the TD element containing a day days. |
String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
String |
getFamily()
|
String |
getHelpText()
The text that will be rendered in the field - helping the user to find the right format to enter into the field. |
String |
getImageLocation()
An alternate location to find image resources. |
String |
getJavascriptLocation()
An alternate location to find javascript resources. |
String |
getMonthYearRowClass()
CSS class to be used on the TR element for the header-row showing month and year. |
String |
getPopupButtonImageUrl()
Url to the image for this popupButton. |
String |
getPopupButtonString()
Defines the string displayed on the button which leads to the calendar-popup-window (... |
String |
getPopupButtonStyle()
Defines the css style for the button which leads to the calendar-popup-window. |
String |
getPopupButtonStyleClass()
Defines the css style class for the button which leads to the calendar-popup-window. |
String |
getPopupDateFormat()
Defines the date format used by the java-script popup on client. |
String |
getPopupGotoString()
Set the string for "Go To Current Month" |
String |
getPopupScrollLeftMessage()
Set the string for scrolling to the left. |
String |
getPopupScrollRightMessage()
Set the string for scrolling to the right. |
String |
getPopupSelectDateMessage()
Set the string for "Select [date] as date" (do not replace [date], it will be replaced by the current date). |
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". |
String |
getPopupSelectMonthMessage()
Set the string for "Click to select a month". |
String |
getPopupSelectYearMessage()
Set the string for "Click to select a year". |
String |
getPopupTheme()
Set the theme-prefix for this component. |
String |
getPopupTodayDateFormat()
Defines the date format used by the java-script popup on client for the today-is string. |
String |
getPopupTodayString()
Set the string for "Today is" |
String |
getPopupWeekString()
Set the string for "Wk" |
String |
getStyleLocation()
An alternate location to find stylesheet resources. |
String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
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,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setAddResources(boolean addResources)
|
void |
setAlign(String align)
|
void |
setCurrentDayCellClass(String currentDayCellClass)
|
void |
setDateBusinessConverter(DateBusinessConverter dateBusinessConverter)
|
void |
setDayCellClass(String dayCellClass)
|
void |
setEnabledOnUserRole(String enabledOnUserRole)
|
void |
setHelpText(String helpText)
|
void |
setImageLocation(String imageLocation)
|
void |
setJavascriptLocation(String javascriptLocation)
|
void |
setMonthYearRowClass(String monthYearRowClass)
|
void |
setPopupButtonImageUrl(String popupButtonImageUrl)
|
void |
setPopupButtonString(String popupButtonString)
|
void |
setPopupButtonStyle(String popupButtonStyle)
|
void |
setPopupButtonStyleClass(String popupButtonStyleClass)
|
void |
setPopupDateFormat(String popupDateFormat)
|
void |
setPopupGotoString(String popupGotoString)
|
void |
setPopupLeft(boolean popupLeft)
|
void |
setPopupScrollLeftMessage(String popupScrollLeftMessage)
|
void |
setPopupScrollRightMessage(String popupScrollRightMessage)
|
void |
setPopupSelectDateMessage(String popupSelectDateMessage)
|
void |
setPopupSelectMode(String popupSelectMode)
|
void |
setPopupSelectMonthMessage(String popupSelectMonthMessage)
|
void |
setPopupSelectYearMessage(String popupSelectYearMessage)
|
void |
setPopupTheme(String popupTheme)
|
void |
setPopupTodayDateFormat(String popupTodayDateFormat)
|
void |
setPopupTodayString(String popupTodayString)
|
void |
setPopupWeekString(String popupWeekString)
|
void |
setRenderAsPopup(boolean renderAsPopup)
|
void |
setRenderPopupButtonAsImage(boolean renderPopupButtonAsImage)
|
void |
setStyleLocation(String styleLocation)
|
void |
setVisibleOnUserRole(String visibleOnUserRole)
|
void |
setWeekRowClass(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 String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
| Constructor Detail |
|---|
public HtmlInputCalendar()
| Method Detail |
|---|
public String getFamily()
getFamily in class HtmlInputTextpublic DateBusinessConverter getDateBusinessConverter()
AbstractHtmlInputCalendar
getDateBusinessConverter in class AbstractHtmlInputCalendarpublic void setDateBusinessConverter(DateBusinessConverter dateBusinessConverter)
setDateBusinessConverter in class AbstractHtmlInputCalendarpublic String getMonthYearRowClass()
AbstractHtmlInputCalendar
getMonthYearRowClass in class AbstractHtmlInputCalendarpublic void setMonthYearRowClass(String monthYearRowClass)
public String getWeekRowClass()
AbstractHtmlInputCalendar
getWeekRowClass in class AbstractHtmlInputCalendarpublic void setWeekRowClass(String weekRowClass)
public String getDayCellClass()
AbstractHtmlInputCalendar
getDayCellClass in class AbstractHtmlInputCalendarpublic void setDayCellClass(String dayCellClass)
public String getCurrentDayCellClass()
AbstractHtmlInputCalendar
getCurrentDayCellClass in class AbstractHtmlInputCalendarpublic void setCurrentDayCellClass(String currentDayCellClass)
public boolean isPopupLeft()
AbstractHtmlInputCalendar
isPopupLeft in class AbstractHtmlInputCalendarpublic void setPopupLeft(boolean popupLeft)
public boolean isRenderAsPopup()
AbstractHtmlInputCalendar
isRenderAsPopup in class AbstractHtmlInputCalendarpublic void setRenderAsPopup(boolean renderAsPopup)
public boolean isAddResources()
AbstractHtmlInputCalendar
isAddResources in class AbstractHtmlInputCalendarpublic void setAddResources(boolean addResources)
setAddResources in class AbstractHtmlInputCalendarpublic String getPopupButtonString()
AbstractHtmlInputCalendar
getPopupButtonString in class AbstractHtmlInputCalendarpublic void setPopupButtonString(String popupButtonString)
public String getPopupButtonStyle()
AbstractHtmlInputCalendar
getPopupButtonStyle in class AbstractHtmlInputCalendarpublic void setPopupButtonStyle(String popupButtonStyle)
public String getPopupButtonStyleClass()
AbstractHtmlInputCalendar
getPopupButtonStyleClass in class AbstractHtmlInputCalendarpublic void setPopupButtonStyleClass(String popupButtonStyleClass)
public boolean isRenderPopupButtonAsImage()
AbstractHtmlInputCalendar
isRenderPopupButtonAsImage in class AbstractHtmlInputCalendarpublic void setRenderPopupButtonAsImage(boolean renderPopupButtonAsImage)
public String getPopupDateFormat()
AbstractHtmlInputCalendar
getPopupDateFormat in class AbstractHtmlInputCalendarpublic void setPopupDateFormat(String popupDateFormat)
public String getPopupGotoString()
AbstractHtmlInputCalendar
getPopupGotoString in class AbstractHtmlInputCalendarpublic void setPopupGotoString(String popupGotoString)
public String getPopupTodayString()
AbstractHtmlInputCalendar
getPopupTodayString in class AbstractHtmlInputCalendarpublic void setPopupTodayString(String popupTodayString)
public String getPopupTodayDateFormat()
AbstractHtmlInputCalendar
getPopupTodayDateFormat in class AbstractHtmlInputCalendarpublic void setPopupTodayDateFormat(String popupTodayDateFormat)
public String getPopupWeekString()
AbstractHtmlInputCalendar
getPopupWeekString in class AbstractHtmlInputCalendarpublic void setPopupWeekString(String popupWeekString)
public String getPopupScrollLeftMessage()
AbstractHtmlInputCalendar
getPopupScrollLeftMessage in class AbstractHtmlInputCalendarpublic void setPopupScrollLeftMessage(String popupScrollLeftMessage)
public String getPopupScrollRightMessage()
AbstractHtmlInputCalendar
getPopupScrollRightMessage in class AbstractHtmlInputCalendarpublic void setPopupScrollRightMessage(String popupScrollRightMessage)
public String getPopupSelectMonthMessage()
AbstractHtmlInputCalendar
getPopupSelectMonthMessage in class AbstractHtmlInputCalendarpublic void setPopupSelectMonthMessage(String popupSelectMonthMessage)
public String getPopupSelectYearMessage()
AbstractHtmlInputCalendar
getPopupSelectYearMessage in class AbstractHtmlInputCalendarpublic void setPopupSelectYearMessage(String popupSelectYearMessage)
public String getPopupSelectDateMessage()
AbstractHtmlInputCalendar
getPopupSelectDateMessage in class AbstractHtmlInputCalendarpublic void setPopupSelectDateMessage(String popupSelectDateMessage)
public String getPopupTheme()
AbstractHtmlInputCalendar
getPopupTheme in class AbstractHtmlInputCalendarpublic void setPopupTheme(String popupTheme)
public String getPopupButtonImageUrl()
AbstractHtmlInputCalendar
getPopupButtonImageUrl in class AbstractHtmlInputCalendarpublic void setPopupButtonImageUrl(String popupButtonImageUrl)
public String getHelpText()
AbstractHtmlInputCalendar
getHelpText in class AbstractHtmlInputCalendarpublic void setHelpText(String helpText)
public String getPopupSelectMode()
AbstractHtmlInputCalendarMay be "day", "week", "month" or "none":
getPopupSelectMode in class AbstractHtmlInputCalendarpublic void setPopupSelectMode(String popupSelectMode)
public String getEnabledOnUserRole()
UserRoleAware
getEnabledOnUserRole in interface UserRoleAwaregetEnabledOnUserRole in class HtmlInputTextpublic void setEnabledOnUserRole(String enabledOnUserRole)
setEnabledOnUserRole in interface UserRoleAwaresetEnabledOnUserRole in class HtmlInputTextpublic String getVisibleOnUserRole()
UserRoleAware
getVisibleOnUserRole in interface UserRoleAwaregetVisibleOnUserRole in class HtmlInputTextpublic void setVisibleOnUserRole(String visibleOnUserRole)
setVisibleOnUserRole in interface UserRoleAwaresetVisibleOnUserRole in class HtmlInputTextpublic String getJavascriptLocation()
LocationAware
public void setJavascriptLocation(String javascriptLocation)
public String getImageLocation()
LocationAware
public void setImageLocation(String imageLocation)
public String getStyleLocation()
LocationAware
public void setStyleLocation(String styleLocation)
public String getAlign()
AlignProperty
getAlign in interface AlignPropertygetAlign in class HtmlInputTextpublic void setAlign(String align)
setAlign in class HtmlInputTextpublic Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class HtmlInputText
public void restoreState(javax.faces.context.FacesContext facesContext,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class HtmlInputText
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||