|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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.
Nested Class Summary | |
---|---|
protected static class |
UISchedule.PropertyKeys
|
Field Summary | |
---|---|
static String |
COMPONENT_TYPE
|
Fields inherited from class org.apache.myfaces.custom.schedule.UIScheduleBase |
---|
COMPONENT_FAMILY |
Fields inherited from class org.apache.myfaces.custom.schedule.AbstractUIScheduleBase |
---|
DEFAULT_COMPACT_MONTH_ROWHEIGHT, DEFAULT_COMPACT_WEEK_ROWHEIGHT, DEFAULT_DETAILED_ROWHEIGHT, DEFAULT_ENABLED_ON_USER_ROLE, DEFAULT_EXPAND_TO_FIT, DEFAULT_HEADER_DATE_FORMAT, DEFAULT_IMMEDIATE, DEFAULT_READONLY, DEFAULT_RENDER_ZEROLENGTH, DEFAULT_SPLIT_WEEKEND, DEFAULT_SUBMIT_ON_CLICK, DEFAULT_THEME, DEFAULT_TOOLTIP, DEFAULT_VISIBLE_END_HOUR, DEFAULT_VISIBLE_ON_USER_ROLE, DEFAULT_VISIBLE_START_HOUR, DEFAULT_WORKING_END_HOUR, DEFAULT_WORKING_START_HOUR, HOUR_NOTATION_12, HOUR_NOTATION_24, RENDERER_TYPE |
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 |
Constructor Summary | |
---|---|
UISchedule()
|
Method Summary | |
---|---|
void |
addActionListener(javax.faces.event.ActionListener listener)
|
void |
broadcast(javax.faces.event.FacesEvent event)
|
protected org.apache.myfaces.custom.schedule.model.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()
|
org.apache.myfaces.custom.schedule.model.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 facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
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(org.apache.myfaces.custom.schedule.model.ScheduleEntry submittedEntry)
|
Methods inherited from class org.apache.myfaces.custom.schedule.UIScheduleBase |
---|
getCompactMonthDayOfWeekDateFormat, getCompactMonthRowHeight, getCompactWeekRowHeight, getConverter, getDetailedRowHeight, getFamily, getHeaderDateFormat, getHourNotation, getLocalValue, getTheme, getValue, getVisibleEndHour, getVisibleStartHour, getWorkingEndHour, getWorkingStartHour, isExpandToFitEntries, isImmediate, isReadonly, isRenderZeroLengthEntries, isSplitWeekend, isSubmitOnClick, isTooltip, setCompactMonthDayOfWeekDateFormat, setCompactMonthRowHeight, setCompactWeekRowHeight, setConverter, setDetailedRowHeight, setExpandToFitEntries, setHeaderDateFormat, setHourNotation, setImmediate, setReadonly, setRenderZeroLengthEntries, setSplitWeekend, setSubmitOnClick, setTheme, setTooltip, setValue, setValueBinding, setValueExpression, setVisibleEndHour, setVisibleStartHour, setWorkingEndHour, setWorkingStartHour |
Methods inherited from class org.apache.myfaces.custom.schedule.AbstractUIScheduleBase |
---|
getModel, isRendersChildren, setModel |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, 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.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.UIComponentBase
javax.faces.event.AbortProcessingException
UIComponent.broadcast(javax.faces.event.FacesEvent)
protected org.apache.myfaces.custom.schedule.model.ScheduleEntry findEntry(String id)
id
- the id
public void setAction(javax.faces.el.MethodBinding action)
setAction
in interface javax.faces.component.ActionSource
public 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.ActionSource2
public void setActionExpression(javax.el.MethodExpression actionExpression)
setActionExpression
in interface javax.faces.component.ActionSource2
actionExpression
- 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.ActionSource
public 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 org.apache.myfaces.custom.schedule.model.ScheduleEntry getSubmittedEntry()
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class javax.faces.component.UIComponentBase
UIComponent.queueEvent(javax.faces.event.FacesEvent)
public void removeActionListener(javax.faces.event.ActionListener listener)
removeActionListener
in interface javax.faces.component.ActionSource
protected void resetMouseEvents()
public void restoreState(javax.faces.context.FacesContext facesContext, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
UIComponentBase.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
UIComponentBase.saveState(javax.faces.context.FacesContext)
public void setActionListener(javax.faces.el.MethodBinding actionListener)
setActionListener
in interface javax.faces.component.ActionSource
protected void setLastClickedDateAndTime(Date lastClickedDateAndTime)
protected void setSubmittedEntry(org.apache.myfaces.custom.schedule.model.ScheduleEntry submittedEntry)
submittedEntry
- the submittedEntry to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |