|
||||||||||
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.UIPlanner
A meeting planner component, similar to the ones found in Outlook or Evolution.
Field Summary | |
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
Logger for this class |
static java.lang.String |
DEFAULT_RENDERER_TYPE
|
Constructor Summary | |
UIPlanner()
Creates a new UIPlanner object. |
Method Summary | |
ScheduleEntry |
findEntry(java.lang.String id)
Find the entry with the given id |
javax.faces.convert.Converter |
getConverter()
|
java.lang.String |
getFamily()
|
java.lang.Object |
getLocalValue()
|
PlannerModel |
getModel()
The underlying planner model |
boolean |
getRendersChildren()
|
java.lang.Object |
getValue()
|
int |
getVisibleEndHour()
The last hour of the day that is visible in the planner |
int |
getVisibleStartHour()
the first hour of the day that is visible in the planner |
int |
getWorkingEndHour()
the last hour of the working day |
int |
getWorkingStartHour()
The first hour of the working day |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setConverter(javax.faces.convert.Converter converter)
|
void |
setModel(PlannerModel model)
The underlying planner model |
void |
setValue(java.lang.Object value)
|
void |
setVisibleEndHour(int visibleEndHour)
the last hour of the day that is visible in the planner |
void |
setVisibleStartHour(int visibleStartHour)
the first hour of the day that is visible in the planner |
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, broadcast, 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, queueEvent, 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 UIPlanner()
Method Detail |
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 java.lang.Object getLocalValue()
getLocalValue
in interface javax.faces.component.ValueHolder
ValueHolder.getLocalValue()
public void setModel(PlannerModel model)
The underlying planner model
model
- the modelpublic PlannerModel getModel()
The underlying planner model
public boolean getRendersChildren()
UIComponent.getRendersChildren()
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 hour of the day that is visible in the planner
visibleEndHour
- The visibleEndHour to set.public int getVisibleEndHour()
The last hour of the day that is visible in the planner
public void setVisibleStartHour(int visibleStartHour)
the first hour of the day that is visible in the planner
visibleStartHour
- The visibleStartHour to set.public int getVisibleStartHour()
the first hour of the day that is visible in the planner
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 ScheduleEntry findEntry(java.lang.String id)
Find the entry with the given id
id
- the id
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 |