| 
 | ||||||||||
| 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
org.apache.myfaces.custom.schedule.AbstractUIScheduleBase
org.apache.myfaces.custom.schedule.UIScheduleBase
org.apache.myfaces.custom.schedule.UISchedule
@JSFComponent public class UISchedule
This class contains all 'interactive' stuff for the Schedule component, meaning actions and actionListeners.
| Field Summary | |
|---|---|
| static String | COMPONENT_TYPE | 
| Fields inherited from class org.apache.myfaces.custom.schedule.UIScheduleBase | 
|---|
| COMPONENT_FAMILY | 
| Fields inherited from class javax.faces.component.UIComponent | 
|---|
| bindings | 
| Constructor Summary | |
|---|---|
| UISchedule() | |
| Method Summary | |
|---|---|
|  void | addActionListener(javax.faces.event.ActionListener listener) | 
|  void | broadcast(javax.faces.event.FacesEvent event) | 
| protected  ScheduleEntry | findEntry(String id)Find the entry with the given id | 
|  javax.faces.el.MethodBinding | getAction()Deprecated. Use getActionExpression() instead. | 
|  javax.el.MethodExpression | getActionExpression()Gets Specifies the action to take when this command is invoked. | 
|  javax.faces.el.MethodBinding | getActionListener() | 
|  javax.faces.event.ActionListener[] | getActionListeners() | 
|  Date | getLastClickedDateAndTime()The last date and time of day that was clicked. | 
|  javax.faces.el.MethodBinding | getMouseListener() | 
|  javax.el.MethodExpression | getMouseListenerExpression() | 
|  ScheduleEntry | getSubmittedEntry() | 
|  void | queueEvent(javax.faces.event.FacesEvent event) | 
|  void | removeActionListener(javax.faces.event.ActionListener listener) | 
| protected  void | resetMouseEvents()This method is invoked at the beginning of the restore view phase, resetting all mouse event variables that were left from the previous request | 
|  void | restoreState(javax.faces.context.FacesContext context,
             Object state) | 
|  Object | saveState(javax.faces.context.FacesContext context) | 
|  void | setAction(javax.faces.el.MethodBinding action)Deprecated. Use setActionExpression instead. | 
|  void | setActionExpression(javax.el.MethodExpression actionExpression)Sets Specifies the action to take when this command is invoked. | 
|  void | setActionListener(javax.faces.el.MethodBinding actionListener) | 
| protected  void | setLastClickedDateAndTime(Date lastClickedDateAndTime)The last date and time of day that was clicked. | 
|  void | setMouseListener(javax.faces.el.MethodBinding mouseListener)Deprecated. Use setMouseListenerExpression instead. | 
|  void | setMouseListenerExpression(javax.el.MethodExpression mouseListenerExpression) | 
| protected  void | setSubmittedEntry(ScheduleEntry submittedEntry) | 
| Methods inherited from class org.apache.myfaces.custom.schedule.AbstractUIScheduleBase | 
|---|
| getModel, isRendersChildren, setModel | 
| Methods inherited from class javax.faces.component.UIComponentBase | 
|---|
| addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding | 
| Methods inherited from class javax.faces.component.UIComponent | 
|---|
| encodeAll, getContainerClientId, getValueExpression, setValueExpression | 
| 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.ActionSource | 
|---|
| isImmediate, setImmediate | 
| Field Detail | 
|---|
public static final String COMPONENT_TYPE
| Constructor Detail | 
|---|
public UISchedule()
| Method Detail | 
|---|
public void addActionListener(javax.faces.event.ActionListener listener)
addActionListener in interface javax.faces.component.ActionSource
public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UIComponentBasejavax.faces.event.AbortProcessingExceptionUIComponent.broadcast(javax.faces.event.FacesEvent)protected ScheduleEntry findEntry(String id)
id - the id
public void setAction(javax.faces.el.MethodBinding action)
setAction in interface javax.faces.component.ActionSourcepublic javax.faces.el.MethodBinding getAction()
getAction in interface javax.faces.component.ActionSource
@JSFProperty(returnSignature="java.lang.String",
             jspName="action")
public javax.el.MethodExpression getActionExpression()
getActionExpression in interface javax.faces.component.ActionSource2public void setActionExpression(javax.el.MethodExpression actionExpression)
setActionExpression in interface javax.faces.component.ActionSource2actionExpression - the new actionExpression value
@JSFProperty(returnSignature="void",
             methodSignature="org.apache.myfaces.custom.schedule.ScheduleMouseEvent",
             stateHolder=true,
             jspName="mouseListener")
public javax.el.MethodExpression getMouseListenerExpression()
public void setMouseListenerExpression(javax.el.MethodExpression mouseListenerExpression)
@JSFProperty(returnSignature="void",
             methodSignature="javax.faces.event.ActionEvent")
public javax.faces.el.MethodBinding getActionListener()
getActionListener in interface javax.faces.component.ActionSourcepublic javax.faces.event.ActionListener[] getActionListeners()
getActionListeners in interface javax.faces.component.ActionSource@JSFProperty(tagExcluded=true) public Date getLastClickedDateAndTime()
public void setMouseListener(javax.faces.el.MethodBinding mouseListener)
public javax.faces.el.MethodBinding getMouseListener()
public ScheduleEntry getSubmittedEntry()
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent in class javax.faces.component.UIComponentBaseUIComponent.queueEvent(javax.faces.event.FacesEvent)public void removeActionListener(javax.faces.event.ActionListener listener)
removeActionListener in interface javax.faces.component.ActionSourceprotected void resetMouseEvents()
public void restoreState(javax.faces.context.FacesContext context,
                         Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class UIScheduleBaseUIScheduleBase.restoreState(javax.faces.context.FacesContext, java.lang.Object)public Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class UIScheduleBaseUIScheduleBase.saveState(javax.faces.context.FacesContext)public void setActionListener(javax.faces.el.MethodBinding actionListener)
setActionListener in interface javax.faces.component.ActionSourceprotected void setLastClickedDateAndTime(Date lastClickedDateAndTime)
protected void setSubmittedEntry(ScheduleEntry submittedEntry)
submittedEntry - the submittedEntry to set| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||