org.apache.myfaces.custom.schedule
Class UIScheduleBase
java.lang.Object
   javax.faces.component.UIComponent
javax.faces.component.UIComponent
       javax.faces.component.UIComponentBase
javax.faces.component.UIComponentBase
           org.apache.myfaces.custom.schedule.AbstractUIScheduleBase
org.apache.myfaces.custom.schedule.AbstractUIScheduleBase
               org.apache.myfaces.custom.schedule.UIScheduleBase
org.apache.myfaces.custom.schedule.UIScheduleBase
- All Implemented Interfaces: 
- Serializable, javax.faces.component.StateHolder, javax.faces.component.ValueHolder
- Direct Known Subclasses: 
- UISchedule
- public class UIScheduleBase 
- extends AbstractUIScheduleBase- implements Serializable, javax.faces.component.ValueHolder
- See Also:
- Serialized Form
 
| 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 | 
| bindings | 
 
 
 
 
| Methods inherited from class javax.faces.component.UIComponentBase | 
| addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding | 
 
| Methods inherited from class javax.faces.component.UIComponent | 
| encodeAll, getContainerClientId, getValueExpression, setValueExpression | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
UIScheduleBase
public UIScheduleBase()
getFamily
public String getFamily()
- 
- Overrides:
- getFamilyin class- AbstractUIScheduleBase
 
- 
- See Also:
- UIComponent.getFamily()
 
isSplitWeekend
public boolean isSplitWeekend()
- 
- Specified by:
- isSplitWeekendin class- AbstractUIScheduleBase
 
- 
 
setSplitWeekend
public void setSplitWeekend(boolean splitWeekend)
- 
 
- 
 
isSubmitOnClick
public boolean isSubmitOnClick()
- Description copied from class: AbstractUIScheduleBase
- 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.
 
- 
- Specified by:
- isSubmitOnClickin class- AbstractUIScheduleBase
 
- 
- Returns:
- the _submitOnClick
 
setSubmitOnClick
public void setSubmitOnClick(boolean submitOnClick)
- 
 
- 
 
getCompactMonthRowHeight
public int getCompactMonthRowHeight()
- 
- Specified by:
- getCompactMonthRowHeightin class- AbstractUIScheduleBase
 
- 
- Returns:
- the compactMonthRowHeight
 
setCompactMonthRowHeight
public void setCompactMonthRowHeight(int compactMonthRowHeight)
- 
 
- 
 
getCompactWeekRowHeight
public int getCompactWeekRowHeight()
- 
- Specified by:
- getCompactWeekRowHeightin class- AbstractUIScheduleBase
 
- 
- Returns:
- the compactWeekRowHeight
 
setCompactWeekRowHeight
public void setCompactWeekRowHeight(int compactWeekRowHeight)
- 
 
- 
 
getConverter
public javax.faces.convert.Converter getConverter()
- 
- Specified by:
- getConverterin interface- javax.faces.component.ValueHolder
- Specified by:
- getConverterin class- AbstractUIScheduleBase
 
- 
- See Also:
- ValueHolder.getConverter()
 
setConverter
public void setConverter(javax.faces.convert.Converter converter)
- 
- Specified by:
- setConverterin interface- javax.faces.component.ValueHolder
 
- 
 
getDetailedRowHeight
public int getDetailedRowHeight()
- 
- Specified by:
- getDetailedRowHeightin class- AbstractUIScheduleBase
 
- 
- Returns:
- the detailedRowHeight
 
setDetailedRowHeight
public void setDetailedRowHeight(int detailedRowHeight)
- 
 
- 
 
isExpandToFitEntries
public boolean isExpandToFitEntries()
- 
- Specified by:
- isExpandToFitEntriesin class- AbstractUIScheduleBase
 
- 
- Returns:
- the expandToFitEntries
 
setExpandToFitEntries
public void setExpandToFitEntries(boolean expandToFitEntries)
- 
 
- 
 
getHeaderDateFormat
public String getHeaderDateFormat()
- 
- Specified by:
- getHeaderDateFormatin class- AbstractUIScheduleBase
 
- 
- Returns:
- the headerDateFormat
 
setHeaderDateFormat
public void setHeaderDateFormat(String headerDateFormat)
- 
 
- 
 
isImmediate
public boolean isImmediate()
- 
- Specified by:
- isImmediatein class- AbstractUIScheduleBase
 
- 
- Returns:
- the immediate
 
setImmediate
public void setImmediate(boolean immediate)
- 
 
- 
 
isReadonly
public boolean isReadonly()
- 
- Specified by:
- isReadonlyin class- AbstractUIScheduleBase
 
- 
- Returns:
- the readonly
 
setReadonly
public void setReadonly(boolean readonly)
- 
 
- 
 
isRenderZeroLengthEntries
public boolean isRenderZeroLengthEntries()
- 
- Specified by:
- isRenderZeroLengthEntriesin class- AbstractUIScheduleBase
 
- 
- Returns:
- the renderZeroLengthEntries
 
setRenderZeroLengthEntries
public void setRenderZeroLengthEntries(boolean renderZeroLengthEntries)
- 
 
- 
 
getTheme
public String getTheme()
- 
- Specified by:
- getThemein class- AbstractUIScheduleBase
 
- 
- Returns:
- the theme
 
setTheme
public void setTheme(String theme)
- 
 
- 
 
isTooltip
public boolean isTooltip()
- 
- Specified by:
- isTooltipin class- AbstractUIScheduleBase
 
- 
- Returns:
- the tooltip
 
setTooltip
public void setTooltip(boolean tooltip)
- 
 
- 
 
getLocalValue
public final Object getLocalValue()
- 
- Specified by:
- getLocalValuein interface- javax.faces.component.ValueHolder
- Specified by:
- getLocalValuein class- AbstractUIScheduleBase
 
- 
- See Also:
- ValueHolder.getLocalValue()
 
getValue
public Object getValue()
- 
- Specified by:
- getValuein interface- javax.faces.component.ValueHolder
- Specified by:
- getValuein class- AbstractUIScheduleBase
 
- 
- See Also:
- ValueHolder.getValue()
 
setValue
public void setValue(Object value)
- 
- Specified by:
- setValuein interface- javax.faces.component.ValueHolder
 
- 
 
getVisibleEndHour
public int getVisibleEndHour()
- 
- Specified by:
- getVisibleEndHourin class- AbstractUIScheduleBase
 
- 
- Returns:
- the visibleEndHour
 
setVisibleEndHour
public void setVisibleEndHour(int visibleEndHour)
- 
 
- 
 
getVisibleStartHour
public int getVisibleStartHour()
- 
- Specified by:
- getVisibleStartHourin class- AbstractUIScheduleBase
 
- 
- Returns:
- the visibleStartHour
 
setVisibleStartHour
public void setVisibleStartHour(int visibleStartHour)
- 
 
- 
 
getWorkingEndHour
public int getWorkingEndHour()
- 
- Specified by:
- getWorkingEndHourin class- AbstractUIScheduleBase
 
- 
- Returns:
- the workingEndHour
 
setWorkingEndHour
public void setWorkingEndHour(int workingEndHour)
- 
 
- 
 
getWorkingStartHour
public int getWorkingStartHour()
- 
- Specified by:
- getWorkingStartHourin class- AbstractUIScheduleBase
 
- 
- Returns:
- the workingStartHour
 
setWorkingStartHour
public void setWorkingStartHour(int workingStartHour)
- 
 
- 
 
getHourNotation
public String getHourNotation()
- Description copied from class: AbstractUIScheduleBase
- 
 Show dates in 24 hour notation or 12 hour notation.
  - 
 
- 
- Specified by:
- getHourNotationin class- AbstractUIScheduleBase
 
- 
- Returns:
- "12", "24" or null for the renderer default
 
setHourNotation
public void setHourNotation(String hourNotation)
- 
 
- 
 
getCompactMonthDayOfWeekDateFormat
public String getCompactMonthDayOfWeekDateFormat()
- 
- Specified by:
- getCompactMonthDayOfWeekDateFormatin class- AbstractUIScheduleBase
 
- 
- Returns:
- the headerDateFormat
 
setCompactMonthDayOfWeekDateFormat
public void setCompactMonthDayOfWeekDateFormat(String compactMonthDayOfWeekDateFormat)
- 
 
- 
 
saveState
public Object saveState(javax.faces.context.FacesContext facesContext)
- 
- Specified by:
- saveStatein interface- javax.faces.component.StateHolder
- Overrides:
- saveStatein class- javax.faces.component.UIComponentBase
 
- 
 
restoreState
public void restoreState(javax.faces.context.FacesContext facesContext,
                         Object state)
- 
- Specified by:
- restoreStatein interface- javax.faces.component.StateHolder
- Overrides:
- restoreStatein class- javax.faces.component.UIComponentBase
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.