public class MonthYear
extends javax.faces.component.UINamingContainer
COMPONENT_FAMILY, COMPONENT_TYPE, SEPARATOR_CHAR_PARAM_NAME| Constructor and Description |
|---|
MonthYear() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaximumYear()
Gets the maximum year.
|
int |
getMinimumYear()
Gets the minimum year.
|
Month |
getMonth()
Gets the month.
|
javax.faces.component.UISelectOne |
getMonthComponent()
Gets the month component.
|
javax.faces.component.UIInput |
getMonthYearComponent()
Gets the month/year input component.
|
Integer |
getYear()
Gets the year.
|
javax.faces.component.UISelectOne |
getYearComponent()
Gets the year component.
|
void |
setMonth(Month month)
Sets the month.
|
void |
setMonthComponent(javax.faces.component.UISelectOne monthComponent)
Sets the month component.
|
void |
setMonthYearComponent(javax.faces.component.UIInput monthYearComponent)
Sets the month/year input component.
|
void |
setYear(Integer year)
Sets the year.
|
void |
setYearComponent(javax.faces.component.UISelectOne yearComponent)
Sets the year component.
|
createUniqueId, getFamily, getSeparatorChar, visitTreeaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionpublic javax.faces.component.UIInput getMonthYearComponent()
public void setMonthYearComponent(javax.faces.component.UIInput monthYearComponent)
monthYearComponent - The month/year input component.public javax.faces.component.UISelectOne getMonthComponent()
public void setMonthComponent(javax.faces.component.UISelectOne monthComponent)
monthComponent - The month component.public javax.faces.component.UISelectOne getYearComponent()
public void setYearComponent(javax.faces.component.UISelectOne yearComponent)
yearComponent - The year component.public Month getMonth()
public void setMonth(Month month)
month - The selected month.public Integer getYear()
public void setYear(Integer year)
year - The selected year.public int getMinimumYear()
throws InvalidArgumentException
InvalidArgumentException - When the minDate is of type String and could not be parsed as a date.public int getMaximumYear()
throws InvalidArgumentException
InvalidArgumentException - When the maxDate is of type String and could not be parsed as a date.Copyright © 2008–2018. All rights reserved.