|
|||||||||||
| 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
A schedule component similar to the ones found in Outlook or Evolution
| Field Summary | |
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
DEFAULT_RENDERER_TYPE
|
| Constructor Summary | |
UISchedule()
Creates a new UISchedule object. |
|
| Method Summary | |
void |
addActionListener(javax.faces.event.ActionListener listener)
|
void |
broadcast(javax.faces.event.FacesEvent event)
|
ScheduleEntry |
findEntry(java.lang.String id)
Find the entry with the given id |
javax.faces.el.MethodBinding |
getAction()
|
javax.faces.el.MethodBinding |
getActionListener()
|
javax.faces.event.ActionListener[] |
getActionListeners()
|
javax.faces.convert.Converter |
getConverter()
|
java.lang.String |
getFamily()
|
java.lang.Object |
getLocalValue()
|
ScheduleModel |
getModel()
The underlying model |
boolean |
getRendersChildren()
|
ScheduleEntry |
getSubmittedEntry()
The entry that was submitted on the last request |
java.lang.Object |
getValue()
|
int |
getVisibleEndHour()
The last visible hour of the day |
int |
getVisibleStartHour()
The first visible hour of the day |
int |
getWorkingEndHour()
The last hour of the working day |
int |
getWorkingStartHour()
The first hour of the working day |
boolean |
isImmediate()
|
boolean |
isReadonly()
is this component read-only? |
void |
queueEvent(javax.faces.event.FacesEvent event)
|
void |
removeActionListener(javax.faces.event.ActionListener listener)
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAction(javax.faces.el.MethodBinding action)
|
void |
setActionListener(javax.faces.el.MethodBinding listener)
|
void |
setConverter(javax.faces.convert.Converter converter)
|
void |
setImmediate(boolean immediate)
|
void |
setModel(ScheduleModel model)
The underlying model |
void |
setReadonly(boolean readonly)
is this component read-only? |
void |
setSubmittedEntry(ScheduleEntry submittedEntry)
The entry that was submitted on the last request |
void |
setValue(java.lang.Object value)
|
void |
setVisibleEndHour(int visibleEndHour)
The last visible hour of the day |
void |
setVisibleStartHour(int visibleStartHour)
The first visible hour of the day |
void |
setWorkingEndHour(int workingEndHour)
The last hour of the working day |
void |
setWorkingStartHour(int workingStartHour)
The first hour of the working day |
| 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
public static final java.lang.String DEFAULT_RENDERER_TYPE
| Constructor Detail |
public UISchedule()
| Method Detail |
public void addActionListener(javax.faces.event.ActionListener listener)
addActionListener in interface javax.faces.component.ActionSourceActionSource.addActionListener(javax.faces.event.ActionListener)
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
javax.faces.event.AbortProcessingExceptionUIComponent.broadcast(javax.faces.event.FacesEvent)public ScheduleEntry findEntry(java.lang.String id)
Find the entry with the given id
id - the id
public javax.faces.el.MethodBinding getAction()
getAction in interface javax.faces.component.ActionSourceActionSource.getAction()public javax.faces.el.MethodBinding getActionListener()
getActionListener in interface javax.faces.component.ActionSourceActionSource.getActionListener()public javax.faces.event.ActionListener[] getActionListeners()
getActionListeners in interface javax.faces.component.ActionSourceActionSource.getActionListeners()public javax.faces.convert.Converter getConverter()
getConverter in interface javax.faces.component.ValueHolderValueHolder.getConverter()public java.lang.String getFamily()
UIComponent.getFamily()public java.lang.Object getLocalValue()
getLocalValue in interface javax.faces.component.ValueHolderValueHolder.getLocalValue()public ScheduleModel getModel()
The underlying model
public boolean getRendersChildren()
UIComponent.getRendersChildren()public ScheduleEntry getSubmittedEntry()
The entry that was submitted on the last request
public java.lang.Object getValue()
getValue in interface javax.faces.component.ValueHolderValueHolder.getValue()public int getVisibleEndHour()
The last visible hour of the day
public int getVisibleStartHour()
The first visible hour of the day
public int getWorkingEndHour()
The last hour of the working day
public int getWorkingStartHour()
The first hour of the working day
public boolean isImmediate()
isImmediate in interface javax.faces.component.ActionSourceActionSource.isImmediate()public boolean isReadonly()
is this component read-only?
public void queueEvent(javax.faces.event.FacesEvent event)
UIComponent.queueEvent(javax.faces.event.FacesEvent)public void removeActionListener(javax.faces.event.ActionListener listener)
removeActionListener in interface javax.faces.component.ActionSourceActionSource.removeActionListener(javax.faces.event.ActionListener)
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderStateHolder.restoreState(javax.faces.context.FacesContext,
java.lang.Object)public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHolderStateHolder.saveState(javax.faces.context.FacesContext)public void setAction(javax.faces.el.MethodBinding action)
setAction in interface javax.faces.component.ActionSourceActionSource.setAction(javax.faces.el.MethodBinding)public void setActionListener(javax.faces.el.MethodBinding listener)
setActionListener in interface javax.faces.component.ActionSourceActionSource.setActionListener(javax.faces.el.MethodBinding)public void setConverter(javax.faces.convert.Converter converter)
setConverter in interface javax.faces.component.ValueHolderValueHolder.setConverter(javax.faces.convert.Converter)public void setImmediate(boolean immediate)
setImmediate in interface javax.faces.component.ActionSourceActionSource.setImmediate(boolean)public void setModel(ScheduleModel model)
The underlying model
model - The model to set.public void setReadonly(boolean readonly)
is this component read-only?
readonly - is this component read-onlypublic void setSubmittedEntry(ScheduleEntry submittedEntry)
The entry that was submitted on the last request
submittedEntry - The submittedEntry to set.public void setValue(java.lang.Object value)
setValue in interface javax.faces.component.ValueHolderValueHolder.setValue(java.lang.Object)public void setVisibleEndHour(int visibleEndHour)
The last visible hour of the day
visibleEndHour - The visibleEndHour to set.public void setVisibleStartHour(int visibleStartHour)
The first visible hour of the day
visibleStartHour - The visibleStartHour to set.public void setWorkingEndHour(int workingEndHour)
The last hour of the working day
workingEndHour - The workingEndHour to set.public void setWorkingStartHour(int workingStartHour)
The first hour of the working day
workingStartHour - The workingStartHour to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||