|
||||||||||
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.UISchedule
org.apache.myfaces.custom.schedule.HtmlSchedule
public class HtmlSchedule
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
Constructor Summary | |
---|---|
HtmlSchedule()
|
Method Summary | |
---|---|
void |
broadcast(javax.faces.event.FacesEvent event)
|
java.lang.String |
getEnabledOnUserRole()
|
java.lang.String |
getFamily()
|
java.util.Date |
getLastClickedDateAndTime()
The last date and time of day that was clicked. |
javax.faces.el.MethodBinding |
getMouseListener()
|
java.lang.String |
getVisibleOnUserRole()
|
boolean |
isSubmitOnClick()
Should the parent form of this schedule be submitted when the user clicks on a day? Note that this will only work when the readonly property is set to false. |
void |
queueEvent(javax.faces.event.FacesEvent event)
|
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,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setEnabledOnUserRole(java.lang.String enabledOnUserRole)
|
void |
setLastClickedDateAndTime(java.util.Date lastClickedDateAndTime)
The last date and time of day that was clicked. |
void |
setMouseListener(javax.faces.el.MethodBinding listener)
|
void |
setSubmitOnClick(boolean submitOnClick)
Should the parent form of this schedule be submitted when the user clicks on a day? Note that this will only work when the readonly property is set to false. |
void |
setVisibleOnUserRole(java.lang.String visibleOnUserRole)
|
Methods inherited from class org.apache.myfaces.custom.schedule.UISchedule |
---|
addActionListener, findEntry, getAction, getActionListener, getActionListeners, getConverter, getLocalValue, getModel, getRendersChildren, getSubmittedEntry, getValue, getVisibleEndHour, getVisibleStartHour, getWorkingEndHour, getWorkingStartHour, isImmediate, isReadonly, removeActionListener, setAction, setActionListener, setConverter, setImmediate, setModel, setReadonly, setSubmittedEntry, setValue, setVisibleEndHour, setVisibleStartHour, setWorkingEndHour, setWorkingStartHour |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, 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 |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
Constructor Detail |
---|
public HtmlSchedule()
Method Detail |
---|
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class UISchedule
javax.faces.event.AbortProcessingException
UIComponent.broadcast(javax.faces.event.FacesEvent)
public java.lang.String getEnabledOnUserRole()
getEnabledOnUserRole
in interface UserRoleAware
UserRoleAware.getEnabledOnUserRole()
public java.lang.String getFamily()
getFamily
in class UISchedule
UIComponent.getFamily()
public java.util.Date getLastClickedDateAndTime()
The last date and time of day that was clicked. This is set when submitOnClick is true, and the schedule is clicked by the user.
public javax.faces.el.MethodBinding getMouseListener()
public java.lang.String getVisibleOnUserRole()
getVisibleOnUserRole
in interface UserRoleAware
UserRoleAware.getVisibleOnUserRole()
public boolean isSubmitOnClick()
Should the parent form of this schedule be submitted when the user clicks on a day? Note that this will only work when the readonly property is set to false.
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class UISchedule
UIComponent.queueEvent(javax.faces.event.FacesEvent)
public void resetMouseEvents()
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class UISchedule
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class UISchedule
StateHolder.saveState(javax.faces.context.FacesContext)
public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
setEnabledOnUserRole
in interface UserRoleAware
UserRoleAware.setEnabledOnUserRole(java.lang.String)
public void setLastClickedDateAndTime(java.util.Date lastClickedDateAndTime)
The last date and time of day that was clicked. This is set when submitOnClick is true, and the schedule is clicked by the user.
public void setMouseListener(javax.faces.el.MethodBinding listener)
listener
- the method binding to the mouse listener methodpublic void setSubmitOnClick(boolean submitOnClick)
Should the parent form of this schedule be submitted when the user clicks on a day? Note that this will only work when the readonly property is set to false.
submitOnClick
- submit the form on mouse clickpublic void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
setVisibleOnUserRole
in interface UserRoleAware
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |