|
||||||||||
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.AbstractUIScheduleBase
public abstract class AbstractUIScheduleBase
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.
Constructor Summary | |
---|---|
AbstractUIScheduleBase()
|
Method Summary | |
---|---|
abstract String |
getCompactMonthDayOfWeekDateFormat()
|
abstract int |
getCompactMonthRowHeight()
|
abstract int |
getCompactWeekRowHeight()
|
abstract javax.faces.convert.Converter |
getConverter()
|
abstract int |
getDetailedRowHeight()
|
String |
getFamily()
|
abstract String |
getHeaderDateFormat()
|
abstract String |
getHourNotation()
Show dates in 24 hour notation or 12 hour notation. |
abstract Object |
getLocalValue()
|
ScheduleModel |
getModel()
The underlying model |
abstract String |
getTheme()
|
abstract Object |
getValue()
|
abstract int |
getVisibleEndHour()
|
abstract int |
getVisibleStartHour()
|
abstract int |
getWorkingEndHour()
|
abstract int |
getWorkingStartHour()
|
abstract boolean |
isExpandToFitEntries()
|
abstract boolean |
isImmediate()
|
abstract boolean |
isReadonly()
|
boolean |
isRendersChildren()
|
abstract boolean |
isRenderZeroLengthEntries()
|
abstract boolean |
isSplitWeekend()
|
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. |
abstract boolean |
isTooltip()
|
void |
setModel(ScheduleModel model)
The underlying model |
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, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
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 |
Field Detail |
---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String RENDERER_TYPE
protected static final String HOUR_NOTATION_24
protected static final String HOUR_NOTATION_12
protected static final int DEFAULT_COMPACT_MONTH_ROWHEIGHT
protected static final int DEFAULT_COMPACT_WEEK_ROWHEIGHT
protected static final int DEFAULT_DETAILED_ROWHEIGHT
protected static final boolean DEFAULT_EXPAND_TO_FIT
protected static final String DEFAULT_HEADER_DATE_FORMAT
protected static final boolean DEFAULT_IMMEDIATE
protected static final boolean DEFAULT_READONLY
protected static final boolean DEFAULT_RENDER_ZEROLENGTH
protected static final String DEFAULT_THEME
protected static final boolean DEFAULT_TOOLTIP
protected static final int DEFAULT_VISIBLE_END_HOUR
protected static final int DEFAULT_VISIBLE_START_HOUR
protected static final int DEFAULT_WORKING_END_HOUR
protected static final int DEFAULT_WORKING_START_HOUR
protected static final String DEFAULT_ENABLED_ON_USER_ROLE
protected static final boolean DEFAULT_SUBMIT_ON_CLICK
protected static final String DEFAULT_VISIBLE_ON_USER_ROLE
protected static final boolean DEFAULT_SPLIT_WEEKEND
Constructor Detail |
---|
public AbstractUIScheduleBase()
Method Detail |
---|
public abstract boolean isSplitWeekend()
public abstract boolean isSubmitOnClick()
public abstract int getCompactMonthRowHeight()
public abstract int getCompactWeekRowHeight()
public abstract javax.faces.convert.Converter getConverter()
getConverter
in interface javax.faces.component.ValueHolder
ValueHolder.getConverter()
public abstract int getDetailedRowHeight()
public abstract boolean isExpandToFitEntries()
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
UIComponent.getFamily()
public abstract String getHeaderDateFormat()
public abstract boolean isImmediate()
public abstract Object getLocalValue()
getLocalValue
in interface javax.faces.component.ValueHolder
ValueHolder.getLocalValue()
public ScheduleModel getModel()
public abstract boolean isReadonly()
public boolean isRendersChildren()
UIComponentBase.getRendersChildren()
public abstract boolean isRenderZeroLengthEntries()
public abstract String getTheme()
public abstract boolean isTooltip()
public abstract Object getValue()
getValue
in interface javax.faces.component.ValueHolder
ValueHolder.getValue()
public abstract int getVisibleEndHour()
public abstract int getVisibleStartHour()
public abstract int getWorkingEndHour()
public abstract int getWorkingStartHour()
public abstract String getHourNotation()
Show dates in 24 hour notation or 12 hour notation.
public abstract String getCompactMonthDayOfWeekDateFormat()
public void setModel(ScheduleModel model)
model
- The model to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |