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