org.apache.myfaces.custom.schedule
Class UIScheduleBase
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.custom.schedule.AbstractUIScheduleBase
org.apache.myfaces.custom.schedule.UIScheduleBase
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder
- Direct Known Subclasses:
- UISchedule
public class UIScheduleBase
- extends AbstractUIScheduleBase
- implements java.io.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 |
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Methods inherited from class javax.faces.component.UIComponentBase |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
UIScheduleBase
public UIScheduleBase()
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily
in class AbstractUIScheduleBase
- See Also:
UIComponent.getFamily()
isSplitWeekend
public boolean isSplitWeekend()
- Specified by:
isSplitWeekend
in 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:
isSubmitOnClick
in class AbstractUIScheduleBase
- Returns:
- the _submitOnClick
setSubmitOnClick
public void setSubmitOnClick(boolean submitOnClick)
getCompactMonthRowHeight
public int getCompactMonthRowHeight()
- Specified by:
getCompactMonthRowHeight
in class AbstractUIScheduleBase
- Returns:
- the compactMonthRowHeight
setCompactMonthRowHeight
public void setCompactMonthRowHeight(int compactMonthRowHeight)
getCompactWeekRowHeight
public int getCompactWeekRowHeight()
- Specified by:
getCompactWeekRowHeight
in class AbstractUIScheduleBase
- Returns:
- the compactWeekRowHeight
setCompactWeekRowHeight
public void setCompactWeekRowHeight(int compactWeekRowHeight)
getConverter
public javax.faces.convert.Converter getConverter()
- Specified by:
getConverter
in interface javax.faces.component.ValueHolder
- Specified by:
getConverter
in class AbstractUIScheduleBase
- See Also:
ValueHolder.getConverter()
setConverter
public void setConverter(javax.faces.convert.Converter converter)
- Specified by:
setConverter
in interface javax.faces.component.ValueHolder
getDetailedRowHeight
public int getDetailedRowHeight()
- Specified by:
getDetailedRowHeight
in class AbstractUIScheduleBase
- Returns:
- the detailedRowHeight
setDetailedRowHeight
public void setDetailedRowHeight(int detailedRowHeight)
isExpandToFitEntries
public boolean isExpandToFitEntries()
- Specified by:
isExpandToFitEntries
in class AbstractUIScheduleBase
- Returns:
- the expandToFitEntries
setExpandToFitEntries
public void setExpandToFitEntries(boolean expandToFitEntries)
getHeaderDateFormat
public java.lang.String getHeaderDateFormat()
- Specified by:
getHeaderDateFormat
in class AbstractUIScheduleBase
- Returns:
- the headerDateFormat
setHeaderDateFormat
public void setHeaderDateFormat(java.lang.String headerDateFormat)
isImmediate
public boolean isImmediate()
- Specified by:
isImmediate
in class AbstractUIScheduleBase
- Returns:
- the immediate
setImmediate
public void setImmediate(boolean immediate)
isReadonly
public boolean isReadonly()
- Specified by:
isReadonly
in class AbstractUIScheduleBase
- Returns:
- the readonly
setReadonly
public void setReadonly(boolean readonly)
isRenderZeroLengthEntries
public boolean isRenderZeroLengthEntries()
- Specified by:
isRenderZeroLengthEntries
in class AbstractUIScheduleBase
- Returns:
- the renderZeroLengthEntries
setRenderZeroLengthEntries
public void setRenderZeroLengthEntries(boolean renderZeroLengthEntries)
getTheme
public java.lang.String getTheme()
- Specified by:
getTheme
in class AbstractUIScheduleBase
- Returns:
- the theme
setTheme
public void setTheme(java.lang.String theme)
isTooltip
public boolean isTooltip()
- Specified by:
isTooltip
in class AbstractUIScheduleBase
- Returns:
- the tooltip
setTooltip
public void setTooltip(boolean tooltip)
getLocalValue
public final java.lang.Object getLocalValue()
- Specified by:
getLocalValue
in interface javax.faces.component.ValueHolder
- Specified by:
getLocalValue
in class AbstractUIScheduleBase
- See Also:
ValueHolder.getLocalValue()
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface javax.faces.component.ValueHolder
- Specified by:
getValue
in class AbstractUIScheduleBase
- See Also:
ValueHolder.getValue()
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in interface javax.faces.component.ValueHolder
getVisibleEndHour
public int getVisibleEndHour()
- Specified by:
getVisibleEndHour
in class AbstractUIScheduleBase
- Returns:
- the visibleEndHour
setVisibleEndHour
public void setVisibleEndHour(int visibleEndHour)
getVisibleStartHour
public int getVisibleStartHour()
- Specified by:
getVisibleStartHour
in class AbstractUIScheduleBase
- Returns:
- the visibleStartHour
setVisibleStartHour
public void setVisibleStartHour(int visibleStartHour)
getWorkingEndHour
public int getWorkingEndHour()
- Specified by:
getWorkingEndHour
in class AbstractUIScheduleBase
- Returns:
- the workingEndHour
setWorkingEndHour
public void setWorkingEndHour(int workingEndHour)
getWorkingStartHour
public int getWorkingStartHour()
- Specified by:
getWorkingStartHour
in class AbstractUIScheduleBase
- Returns:
- the workingStartHour
setWorkingStartHour
public void setWorkingStartHour(int workingStartHour)
getHourNotation
public java.lang.String getHourNotation()
- Description copied from class:
AbstractUIScheduleBase
Show dates in 24 hour notation or 12 hour notation.
- Specified by:
getHourNotation
in class AbstractUIScheduleBase
- Returns:
- "12", "24" or null for the renderer default
setHourNotation
public void setHourNotation(java.lang.String hourNotation)
getCompactMonthDayOfWeekDateFormat
public java.lang.String getCompactMonthDayOfWeekDateFormat()
- Specified by:
getCompactMonthDayOfWeekDateFormat
in class AbstractUIScheduleBase
- Returns:
- the headerDateFormat
setCompactMonthDayOfWeekDateFormat
public void setCompactMonthDayOfWeekDateFormat(java.lang.String compactMonthDayOfWeekDateFormat)
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.