org.apache.myfaces.custom.schedule
Class AbstractUIScheduleBase
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
- All Implemented Interfaces: 
- Serializable, javax.faces.component.StateHolder, javax.faces.component.ValueHolder
- Direct Known Subclasses: 
- UIScheduleBase
- public abstract class AbstractUIScheduleBase 
- extends javax.faces.component.UIComponentBase- implements javax.faces.component.ValueHolder, Serializable
Base class for the Schedule component. This class contains all the properties
 for the schedule, but not the ActionSource stuff. Keeping these things separate
 should make the code a little easier to digest.
- Since:
- 1.1.7
- Version:
- $Revision: 691856 $
- Author:
- Jurgen Lust
- See Also:
- Serialized Form
 
| 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, restoreState, saveAttachedState, saveState, 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 | 
 
| Methods inherited from interface javax.faces.component.ValueHolder | 
| setConverter, setValue | 
 
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
RENDERER_TYPE
public static final String RENDERER_TYPE
- See Also:
- Constant Field Values
HOUR_NOTATION_24
protected static final String HOUR_NOTATION_24
- See Also:
- Constant Field Values
HOUR_NOTATION_12
protected static final String HOUR_NOTATION_12
- See Also:
- Constant Field Values
DEFAULT_COMPACT_MONTH_ROWHEIGHT
protected static final int DEFAULT_COMPACT_MONTH_ROWHEIGHT
- See Also:
- Constant Field Values
DEFAULT_COMPACT_WEEK_ROWHEIGHT
protected static final int DEFAULT_COMPACT_WEEK_ROWHEIGHT
- See Also:
- Constant Field Values
DEFAULT_DETAILED_ROWHEIGHT
protected static final int DEFAULT_DETAILED_ROWHEIGHT
- See Also:
- Constant Field Values
DEFAULT_EXPAND_TO_FIT
protected static final boolean DEFAULT_EXPAND_TO_FIT
- See Also:
- Constant Field Values
DEFAULT_HEADER_DATE_FORMAT
protected static final String DEFAULT_HEADER_DATE_FORMAT
DEFAULT_IMMEDIATE
protected static final boolean DEFAULT_IMMEDIATE
- See Also:
- Constant Field Values
DEFAULT_READONLY
protected static final boolean DEFAULT_READONLY
- See Also:
- Constant Field Values
DEFAULT_RENDER_ZEROLENGTH
protected static final boolean DEFAULT_RENDER_ZEROLENGTH
- See Also:
- Constant Field Values
DEFAULT_THEME
protected static final String DEFAULT_THEME
- See Also:
- Constant Field Values
DEFAULT_TOOLTIP
protected static final boolean DEFAULT_TOOLTIP
- See Also:
- Constant Field Values
DEFAULT_VISIBLE_END_HOUR
protected static final int DEFAULT_VISIBLE_END_HOUR
- See Also:
- Constant Field Values
DEFAULT_VISIBLE_START_HOUR
protected static final int DEFAULT_VISIBLE_START_HOUR
- See Also:
- Constant Field Values
DEFAULT_WORKING_END_HOUR
protected static final int DEFAULT_WORKING_END_HOUR
- See Also:
- Constant Field Values
DEFAULT_WORKING_START_HOUR
protected static final int DEFAULT_WORKING_START_HOUR
- See Also:
- Constant Field Values
DEFAULT_ENABLED_ON_USER_ROLE
protected static final String DEFAULT_ENABLED_ON_USER_ROLE
DEFAULT_SUBMIT_ON_CLICK
protected static final boolean DEFAULT_SUBMIT_ON_CLICK
- See Also:
- Constant Field Values
DEFAULT_VISIBLE_ON_USER_ROLE
protected static final String DEFAULT_VISIBLE_ON_USER_ROLE
DEFAULT_SPLIT_WEEKEND
protected static final boolean DEFAULT_SPLIT_WEEKEND
- See Also:
- Constant Field Values
AbstractUIScheduleBase
public AbstractUIScheduleBase()
isSplitWeekend
public abstract boolean isSplitWeekend()
- 
 
- 
 
isSubmitOnClick
public abstract boolean isSubmitOnClick()
- 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.
 
- 
 
- 
- Returns:
- the _submitOnClick
 
getCompactMonthRowHeight
public abstract int getCompactMonthRowHeight()
- 
 
- 
- Returns:
- the compactMonthRowHeight
 
getCompactWeekRowHeight
public abstract int getCompactWeekRowHeight()
- 
 
- 
- Returns:
- the compactWeekRowHeight
 
getConverter
public abstract javax.faces.convert.Converter getConverter()
- 
- Specified by:
- getConverterin interface- javax.faces.component.ValueHolder
 
- 
- See Also:
- ValueHolder.getConverter()
 
getDetailedRowHeight
public abstract int getDetailedRowHeight()
- 
 
- 
- Returns:
- the detailedRowHeight
 
isExpandToFitEntries
public abstract boolean isExpandToFitEntries()
- 
 
- 
- Returns:
- the expandToFitEntries
 
getFamily
public String getFamily()
- 
- Specified by:
- getFamilyin class- javax.faces.component.UIComponent
 
- 
- See Also:
- UIComponent.getFamily()
 
getHeaderDateFormat
public abstract String getHeaderDateFormat()
- 
 
- 
- Returns:
- the headerDateFormat
 
isImmediate
public abstract boolean isImmediate()
- 
 
- 
- Returns:
- the immediate
 
getLocalValue
public abstract Object getLocalValue()
- 
- Specified by:
- getLocalValuein interface- javax.faces.component.ValueHolder
 
- 
- See Also:
- ValueHolder.getLocalValue()
 
getModel
public ScheduleModel getModel()
- The underlying model
 
- 
 
- 
- Returns:
- Returns the model.
 
isReadonly
public abstract boolean isReadonly()
- 
 
- 
- Returns:
- the readonly
 
isRendersChildren
public boolean isRendersChildren()
- 
 
- 
- See Also:
- UIComponentBase.getRendersChildren()
 
isRenderZeroLengthEntries
public abstract boolean isRenderZeroLengthEntries()
- 
 
- 
- Returns:
- the renderZeroLengthEntries
 
getTheme
public abstract String getTheme()
- 
 
- 
- Returns:
- the theme
 
isTooltip
public abstract boolean isTooltip()
- 
 
- 
- Returns:
- the tooltip
 
getValue
public abstract Object getValue()
- 
- Specified by:
- getValuein interface- javax.faces.component.ValueHolder
 
- 
- See Also:
- ValueHolder.getValue()
 
getVisibleEndHour
public abstract int getVisibleEndHour()
- 
 
- 
- Returns:
- the visibleEndHour
 
getVisibleStartHour
public abstract int getVisibleStartHour()
- 
 
- 
- Returns:
- the visibleStartHour
 
getWorkingEndHour
public abstract int getWorkingEndHour()
- 
 
- 
- Returns:
- the workingEndHour
 
getWorkingStartHour
public abstract int getWorkingStartHour()
- 
 
- 
- Returns:
- the workingStartHour
 
getHourNotation
public abstract String getHourNotation()
- 
 Show dates in 24 hour notation or 12 hour notation.
  - 
 
- 
 
- 
- Returns:
- "12", "24" or null for the renderer default
 
getCompactMonthDayOfWeekDateFormat
public abstract String getCompactMonthDayOfWeekDateFormat()
- 
 
- 
- Returns:
- the headerDateFormat
 
setModel
public void setModel(ScheduleModel model)
- The underlying model
 
- 
 
- 
- Parameters:
- model- The model to set.
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.