|
||||||||||
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
Nested Class Summary | |
---|---|
protected static class |
HtmlInputCalendar.PropertyKeys
|
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, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME |
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
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.component.LibraryLocationAware |
---|
IMAGE_LIBRARY_ATTR, JAVASCRIPT_LIBRARY_ATTR, STYLE_LIBRARY_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 | |
---|---|
void |
addClientBehavior(String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
|
String |
getAccesskey()
|
String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
String |
getAlt()
|
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 |
getDir()
|
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 |
getImageLibrary()
|
String |
getImageLocation()
An alternate location to find image resources. |
String |
getJavascriptLibrary()
|
String |
getJavascriptLocation()
An alternate location to find javascript resources. |
String |
getLabel()
|
String |
getLang()
|
int |
getMaxlength()
|
String |
getMonthYearRowClass()
CSS class to be used on the TR element for the header-row showing month and year. |
String |
getOnblur()
|
String |
getOnchange()
|
String |
getOnclick()
|
String |
getOndblclick()
|
String |
getOnfocus()
|
String |
getOnkeydown()
|
String |
getOnkeypress()
|
String |
getOnkeyup()
|
String |
getOnmousedown()
|
String |
getOnmousemove()
|
String |
getOnmouseout()
|
String |
getOnmouseover()
|
String |
getOnmouseup()
|
String |
getOnselect()
|
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" |
int |
getSize()
|
String |
getStyle()
|
String |
getStyleClass()
|
String |
getStyleLibrary()
|
String |
getStyleLocation()
An alternate location to find stylesheet resources. |
String |
getTabindex()
|
String |
getTitle()
|
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 |
isDisabled()
|
boolean |
isPopupLeft()
Render the input-calendar left of the button, not right like normally done. |
boolean |
isReadonly()
|
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 |
setAccesskey(String accesskey)
|
void |
setAddResources(boolean addResources)
|
void |
setAlign(String align)
|
void |
setAlt(String alt)
|
void |
setCurrentDayCellClass(String currentDayCellClass)
|
void |
setDateBusinessConverter(DateBusinessConverter dateBusinessConverter)
|
void |
setDayCellClass(String dayCellClass)
|
void |
setDir(String dir)
|
void |
setDisabled(boolean disabled)
|
void |
setEnabledOnUserRole(String enabledOnUserRole)
|
void |
setHelpText(String helpText)
|
void |
setImageLibrary(String imageLibrary)
|
void |
setImageLocation(String imageLocation)
|
void |
setJavascriptLibrary(String javascriptLibrary)
|
void |
setJavascriptLocation(String javascriptLocation)
|
void |
setLabel(String label)
|
void |
setLang(String lang)
|
void |
setMaxlength(int maxlength)
|
void |
setMonthYearRowClass(String monthYearRowClass)
|
void |
setOnblur(String onblur)
|
void |
setOnchange(String onchange)
|
void |
setOnclick(String onclick)
|
void |
setOndblclick(String ondblclick)
|
void |
setOnfocus(String onfocus)
|
void |
setOnkeydown(String onkeydown)
|
void |
setOnkeypress(String onkeypress)
|
void |
setOnkeyup(String onkeyup)
|
void |
setOnmousedown(String onmousedown)
|
void |
setOnmousemove(String onmousemove)
|
void |
setOnmouseout(String onmouseout)
|
void |
setOnmouseover(String onmouseover)
|
void |
setOnmouseup(String onmouseup)
|
void |
setOnselect(String onselect)
|
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 |
setReadonly(boolean readonly)
|
void |
setRenderAsPopup(boolean renderAsPopup)
|
void |
setRenderPopupButtonAsImage(boolean renderPopupButtonAsImage)
|
void |
setSize(int size)
|
void |
setStyle(String style)
|
void |
setStyleClass(String styleClass)
|
void |
setStyleLibrary(String styleLibrary)
|
void |
setStyleLocation(String styleLocation)
|
void |
setTabindex(String tabindex)
|
void |
setTitle(String title)
|
void |
setValueBinding(String name,
javax.faces.el.ValueBinding binding)
|
void |
setValueExpression(String name,
javax.el.ValueExpression expression)
|
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 |
---|
getDefaultEventName, getEventNames |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, 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, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent |
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.behavior.ClientBehaviorHolder |
---|
getClientBehaviors |
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 HtmlInputText
public void addClientBehavior(String eventName, javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior
in interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior
in class HtmlInputText
public DateBusinessConverter getDateBusinessConverter()
AbstractHtmlInputCalendar
getDateBusinessConverter
in class AbstractHtmlInputCalendar
public void setDateBusinessConverter(DateBusinessConverter dateBusinessConverter)
setDateBusinessConverter
in class AbstractHtmlInputCalendar
public String getMonthYearRowClass()
AbstractHtmlInputCalendar
getMonthYearRowClass
in class AbstractHtmlInputCalendar
public void setMonthYearRowClass(String monthYearRowClass)
public String getWeekRowClass()
AbstractHtmlInputCalendar
getWeekRowClass
in class AbstractHtmlInputCalendar
public void setWeekRowClass(String weekRowClass)
public String getDayCellClass()
AbstractHtmlInputCalendar
getDayCellClass
in class AbstractHtmlInputCalendar
public void setDayCellClass(String dayCellClass)
public String getCurrentDayCellClass()
AbstractHtmlInputCalendar
getCurrentDayCellClass
in class AbstractHtmlInputCalendar
public void setCurrentDayCellClass(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 String getPopupButtonString()
AbstractHtmlInputCalendar
getPopupButtonString
in class AbstractHtmlInputCalendar
public void setPopupButtonString(String popupButtonString)
public String getPopupButtonStyle()
AbstractHtmlInputCalendar
getPopupButtonStyle
in class AbstractHtmlInputCalendar
public void setPopupButtonStyle(String popupButtonStyle)
public String getPopupButtonStyleClass()
AbstractHtmlInputCalendar
getPopupButtonStyleClass
in class AbstractHtmlInputCalendar
public void setPopupButtonStyleClass(String popupButtonStyleClass)
public boolean isRenderPopupButtonAsImage()
AbstractHtmlInputCalendar
isRenderPopupButtonAsImage
in class AbstractHtmlInputCalendar
public void setRenderPopupButtonAsImage(boolean renderPopupButtonAsImage)
public String getPopupDateFormat()
AbstractHtmlInputCalendar
getPopupDateFormat
in class AbstractHtmlInputCalendar
public void setPopupDateFormat(String popupDateFormat)
public String getPopupGotoString()
AbstractHtmlInputCalendar
getPopupGotoString
in class AbstractHtmlInputCalendar
public void setPopupGotoString(String popupGotoString)
public String getPopupTodayString()
AbstractHtmlInputCalendar
getPopupTodayString
in class AbstractHtmlInputCalendar
public void setPopupTodayString(String popupTodayString)
public String getPopupTodayDateFormat()
AbstractHtmlInputCalendar
getPopupTodayDateFormat
in class AbstractHtmlInputCalendar
public void setPopupTodayDateFormat(String popupTodayDateFormat)
public String getPopupWeekString()
AbstractHtmlInputCalendar
getPopupWeekString
in class AbstractHtmlInputCalendar
public void setPopupWeekString(String popupWeekString)
public String getPopupScrollLeftMessage()
AbstractHtmlInputCalendar
getPopupScrollLeftMessage
in class AbstractHtmlInputCalendar
public void setPopupScrollLeftMessage(String popupScrollLeftMessage)
public String getPopupScrollRightMessage()
AbstractHtmlInputCalendar
getPopupScrollRightMessage
in class AbstractHtmlInputCalendar
public void setPopupScrollRightMessage(String popupScrollRightMessage)
public String getPopupSelectMonthMessage()
AbstractHtmlInputCalendar
getPopupSelectMonthMessage
in class AbstractHtmlInputCalendar
public void setPopupSelectMonthMessage(String popupSelectMonthMessage)
public String getPopupSelectYearMessage()
AbstractHtmlInputCalendar
getPopupSelectYearMessage
in class AbstractHtmlInputCalendar
public void setPopupSelectYearMessage(String popupSelectYearMessage)
public String getPopupSelectDateMessage()
AbstractHtmlInputCalendar
getPopupSelectDateMessage
in class AbstractHtmlInputCalendar
public void setPopupSelectDateMessage(String popupSelectDateMessage)
public String getPopupTheme()
AbstractHtmlInputCalendar
getPopupTheme
in class AbstractHtmlInputCalendar
public void setPopupTheme(String popupTheme)
public String getPopupButtonImageUrl()
AbstractHtmlInputCalendar
getPopupButtonImageUrl
in class AbstractHtmlInputCalendar
public void setPopupButtonImageUrl(String popupButtonImageUrl)
public String getHelpText()
AbstractHtmlInputCalendar
getHelpText
in class AbstractHtmlInputCalendar
public void setHelpText(String helpText)
public String getPopupSelectMode()
AbstractHtmlInputCalendar
May be "day", "week", "month" or "none":
getPopupSelectMode
in class AbstractHtmlInputCalendar
public void setPopupSelectMode(String popupSelectMode)
public String getEnabledOnUserRole()
UserRoleAware
getEnabledOnUserRole
in interface UserRoleAware
getEnabledOnUserRole
in class HtmlInputText
public void setEnabledOnUserRole(String enabledOnUserRole)
setEnabledOnUserRole
in interface UserRoleAware
setEnabledOnUserRole
in class HtmlInputText
public String getVisibleOnUserRole()
UserRoleAware
getVisibleOnUserRole
in interface UserRoleAware
getVisibleOnUserRole
in class HtmlInputText
public void setVisibleOnUserRole(String visibleOnUserRole)
setVisibleOnUserRole
in interface UserRoleAware
setVisibleOnUserRole
in class HtmlInputText
public 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 getJavascriptLibrary()
public void setJavascriptLibrary(String javascriptLibrary)
public String getImageLibrary()
public void setImageLibrary(String imageLibrary)
public String getStyleLibrary()
public void setStyleLibrary(String styleLibrary)
public String getAlign()
AlignProperty
getAlign
in interface AlignProperty
getAlign
in class HtmlInputText
public void setAlign(String align)
setAlign
in class HtmlInputText
public int getMaxlength()
getMaxlength
in class HtmlInputText
public void setMaxlength(int maxlength)
setMaxlength
in class HtmlInputText
public int getSize()
getSize
in class HtmlInputText
public void setSize(int size)
setSize
in class HtmlInputText
public String getLabel()
getLabel
in class HtmlInputText
public void setLabel(String label)
setLabel
in class HtmlInputText
public String getStyle()
getStyle
in class HtmlInputText
public void setStyle(String style)
setStyle
in class HtmlInputText
public String getStyleClass()
getStyleClass
in class HtmlInputText
public void setStyleClass(String styleClass)
setStyleClass
in class HtmlInputText
public String getAlt()
getAlt
in class HtmlInputText
public void setAlt(String alt)
setAlt
in class HtmlInputText
public String getTabindex()
getTabindex
in class HtmlInputText
public void setTabindex(String tabindex)
setTabindex
in class HtmlInputText
public String getOnblur()
getOnblur
in class HtmlInputText
public void setOnblur(String onblur)
setOnblur
in class HtmlInputText
public String getOnfocus()
getOnfocus
in class HtmlInputText
public void setOnfocus(String onfocus)
setOnfocus
in class HtmlInputText
public String getAccesskey()
getAccesskey
in class HtmlInputText
public void setAccesskey(String accesskey)
setAccesskey
in class HtmlInputText
public String getOnclick()
getOnclick
in class HtmlInputText
public void setOnclick(String onclick)
setOnclick
in class HtmlInputText
public String getOndblclick()
getOndblclick
in class HtmlInputText
public void setOndblclick(String ondblclick)
setOndblclick
in class HtmlInputText
public String getOnkeydown()
getOnkeydown
in class HtmlInputText
public void setOnkeydown(String onkeydown)
setOnkeydown
in class HtmlInputText
public String getOnkeypress()
getOnkeypress
in class HtmlInputText
public void setOnkeypress(String onkeypress)
setOnkeypress
in class HtmlInputText
public String getOnkeyup()
getOnkeyup
in class HtmlInputText
public void setOnkeyup(String onkeyup)
setOnkeyup
in class HtmlInputText
public String getOnmousedown()
getOnmousedown
in class HtmlInputText
public void setOnmousedown(String onmousedown)
setOnmousedown
in class HtmlInputText
public String getOnmousemove()
getOnmousemove
in class HtmlInputText
public void setOnmousemove(String onmousemove)
setOnmousemove
in class HtmlInputText
public String getOnmouseout()
getOnmouseout
in class HtmlInputText
public void setOnmouseout(String onmouseout)
setOnmouseout
in class HtmlInputText
public String getOnmouseover()
getOnmouseover
in class HtmlInputText
public void setOnmouseover(String onmouseover)
setOnmouseover
in class HtmlInputText
public String getOnmouseup()
getOnmouseup
in class HtmlInputText
public void setOnmouseup(String onmouseup)
setOnmouseup
in class HtmlInputText
public String getOnchange()
getOnchange
in class HtmlInputText
public void setOnchange(String onchange)
setOnchange
in class HtmlInputText
public String getOnselect()
getOnselect
in class HtmlInputText
public void setOnselect(String onselect)
setOnselect
in class HtmlInputText
public String getDir()
getDir
in class HtmlInputText
public void setDir(String dir)
setDir
in class HtmlInputText
public String getLang()
getLang
in class HtmlInputText
public void setLang(String lang)
setLang
in class HtmlInputText
public String getTitle()
getTitle
in class HtmlInputText
public void setTitle(String title)
setTitle
in class HtmlInputText
public boolean isDisabled()
isDisabled
in class HtmlInputText
public void setDisabled(boolean disabled)
setDisabled
in class HtmlInputText
public boolean isReadonly()
isReadonly
in class HtmlInputText
public void setReadonly(boolean readonly)
setReadonly
in class HtmlInputText
public void setValueBinding(String name, javax.faces.el.ValueBinding binding)
setValueBinding
in class HtmlInputText
public void setValueExpression(String name, javax.el.ValueExpression expression)
setValueExpression
in class HtmlInputText
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |