|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
javax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
oracle.adf.view.rich.component.UIXCalendar
oracle.adf.view.rich.component.rich.data.RichCalendar
public class RichCalendar
WARNINGThe calendar component is under development. It is not complete, and all api's are subject to change.
The calendar component provides the user the ability to view a user's activities by day, week, or month. The component fires events to allow the application developer to create and delete activities.
The calendar supports several facets, all of which should contain popups. There is more specific documentation about the facets in the "Supported Facets" section.
<section name="Geometry_Management"> <html:ul> <html:li>This component can be stretched by a parent layout component that stretches its children, e.g., the panelStretchLayout.</html:li> <html:li>If this component is not a child of a parent layout component that stretches its children, it will have a default width and height, and cannot be stretched by the end user. You can override the default width and height if the calendar component is not being stretched by a parent component by setting the inlineStyle attribute, e.g., inlineStyle="width:300px; height: 400px". If the component is being stretched by a parent component and you try to override the default width and height then you may accidentally specify one or more indeterminate dimensions without knowing it (e.g. having all non-auto values for width, left, and right and/or all non-auto values for height, top, and bottom). </html:li> </html:ul> </section> <section name="Low_Level_Events"> <html:p> The calendar does not fire "high level" events, for example it does not fire specific events for edit, delete, create, context menu, etc. Instead calendar fires the "low level" Calendar and CalendarActivity events. </html:p> <html:p> Let's take a calendarActivity. A calendarActivityEvent will be queued if the user does any of the following on a calendarActivity <html:ul> <html:li>clicks</html:li> <html:li>focuses and presses enter</html:li> <html:li>focuses and presses delete</html:li> </html:ul> Even though a calendarActivityEvent is queued for all these, you can tell these apart because keyboard, mouse, and triggerType information will also be available in the event. </html:p> </section>
| Type | Phases | Description |
|---|---|---|
oracle.adf.view.rich.event.CalendarActivityEvent |
Invoke Application | The calendarActivity event is delivered when the user acts on a calendar activity, for example clicks on an activity.
PPR behavior: The calendar does not get PPR'd automatically when this event is fired since the calendar doesn't know if anything visible will change when this event is handled. You must PPR the calendar in the event listener if the calendar needs to be re-rendered to show any visible changes, like if the user changes the activity's start time. |
oracle.adf.view.rich.event.CalendarDisplayChangeEvent |
Invoke Application | The calendarDisplayChange event is delivered when the calendar component changes the value of an attribute on the calendar. For example the view attribute may be changed from month to day if the user hits the day button in the toolbar. Another example is the next button in the toolbar is pressed, which causes the calendar to update the activeDay.
Note that when these attributes are set by the calendar they are only set locally on the component, and the component no longer pulls the value from the EL expression. This is common practice, for example when you click on the +/- on a showDetail, disclosed is being set locally on the component to true/false by the framework. In order to save these local values you must use the change management framework. PPR behavior: Generally, if a calendarDisplayChange event is fired then the calendar will add itself as a ppr target. This is because if the calendar changes the value of activeDate or view, there is no doubt that the calendar will need to be re-rendered. |
oracle.adf.view.rich.event.CalendarEvent |
Invoke Application | The Calendar event is delivered when the user acts on non-activity, non-toolbar space in the calendar.
PPR behavior: The calendar does not get PPR'd automatically when this event is fired since the calendar doesn't know if anything visible will change when this event is handled. You must PPR the calendar in the event listener if the calendar needs to be re-rendered to show any visible changes, like if a new activity was created. |
oracle.adf.view.rich.event.CalendarActivityChangeDurationEvent |
Invoke Application | The calendarActivityChangeDuration event is delivered when the user changes the duration of a calendar activity by resizing it. |
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing. |
| Field Summary | |
|---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
ACTIVE_DAY_KEY |
static java.lang.String |
ACTIVITY_CONTEXT_MENU_FACET |
static java.lang.String |
ACTIVITY_DELETE_FACET |
static java.lang.String |
ACTIVITY_DETAIL_FACET |
static java.lang.String |
ACTIVITY_HOVER_FACET |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ACTIVITY_STYLES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CALENDAR_ACTIVITY_CHANGE_DURATION_LISTENER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CALENDAR_ACTIVITY_LISTENER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CALENDAR_DISPLAY_CHANGE_LISTENER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CALENDAR_LISTENER_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_ATTRIBUTES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_COMPONENT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_LISTENERS_KEY |
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
CONTEXT_MENU_FACET |
static java.lang.String |
CREATE_FACET |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOMIZATION_ID_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INLINE_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LIST_COUNT_KEY |
static java.lang.String |
LIST_TYPE_DAY |
static java.lang.String |
LIST_TYPE_DAY_COUNT |
static org.apache.myfaces.trinidad.bean.PropertyKey |
LIST_TYPE_KEY |
static java.lang.String |
LIST_TYPE_MONTH |
static java.lang.String |
LIST_TYPE_WEEK |
static org.apache.myfaces.trinidad.bean.PropertyKey |
PARTIAL_TRIGGERS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHORT_DESC_KEY |
static java.lang.String |
START_DAY_OF_WEEK_FRI |
static org.apache.myfaces.trinidad.bean.PropertyKey |
START_DAY_OF_WEEK_KEY |
static java.lang.String |
START_DAY_OF_WEEK_MON |
static java.lang.String |
START_DAY_OF_WEEK_SAT |
static java.lang.String |
START_DAY_OF_WEEK_SUN |
static java.lang.String |
START_DAY_OF_WEEK_THU |
static java.lang.String |
START_DAY_OF_WEEK_TUE |
static java.lang.String |
START_DAY_OF_WEEK_WED |
static org.apache.myfaces.trinidad.bean.PropertyKey |
START_HOUR_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLE_CLASS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TIME_ZONE_KEY |
static java.lang.String |
TOOLBOX_LAYOUT_ALL |
static java.lang.String |
TOOLBOX_LAYOUT_DATES |
static org.apache.myfaces.trinidad.bean.PropertyKey |
TOOLBOX_LAYOUT_KEY |
static java.lang.String |
TOOLBOX_LAYOUT_NEWLINE |
static java.lang.String |
TOOLBOX_LAYOUT_RANGE |
static java.lang.String |
TOOLBOX_LAYOUT_STRETCH |
static java.lang.String |
TOOLBOX_LAYOUT_VIEWS |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static java.lang.String |
VIEW_DAY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VIEW_KEY |
static java.lang.String |
VIEW_LIST |
static java.lang.String |
VIEW_MONTH |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VISIBLE_KEY |
| Fields inherited from class oracle.adf.view.rich.component.UIXCalendar |
|---|
VALUE_KEY |
| Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
|---|
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface javax.faces.component.NamingContainer |
|---|
SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
|
RichCalendar()Construct an instance of the RichCalendar. |
protected |
RichCalendar(java.lang.String rendererType)Construct an instance of the RichCalendar. |
| Method Summary | |
|---|---|
void |
addCalendarActivityChangeDurationListener(CalendarActivityChangeDurationListener listener)Adds a calendarActivityChangeDuration listener. |
void |
addCalendarActivityListener(CalendarActivityListener listener)Adds a calendarActivity listener. |
void |
addCalendarDisplayChangeListener(CalendarDisplayChangeListener listener)Adds a calendarDisplayChange listener. |
void |
addCalendarListener(CalendarListener listener)Adds a calendar listener. |
void |
broadcast(javax.faces.event.FacesEvent event) |
java.util.Date |
getActiveDay()Gets The activeDay drives the display range shown, and must be changed in order to show a new display range. |
javax.faces.component.UIComponent |
getActivityContextMenu()the activityContextMenu facet is opened when you right click on an activity. |
javax.faces.component.UIComponent |
getActivityDelete()The activityDelete facet is opened if the activity has focus and delete is pressed. |
javax.faces.component.UIComponent |
getActivityDetail()The activityDetail facet is opened when you click or double click on an activity. |
javax.faces.component.UIComponent |
getActivityHover()the activityHover facet is opened when you hover over an activity. |
java.util.Map |
getActivityStyles()Gets Allows per activity instance style customization. |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
javax.el.MethodExpression |
getCalendarActivityChangeDurationListener()Gets a method reference to a calendarActivityChangeDuration listener. |
CalendarActivityChangeDurationListener[] |
getCalendarActivityChangeDurationListeners()Returns an array of attached calendarActivityChangeDuration listeners. |
javax.el.MethodExpression |
getCalendarActivityListener()Gets a method reference to a calendarActivity listener. |
CalendarActivityListener[] |
getCalendarActivityListeners()Returns an array of attached calendarActivity listeners. |
javax.el.MethodExpression |
getCalendarDisplayChangeListener()Gets a method reference to a calendarDisplayChange listener. |
CalendarDisplayChangeListener[] |
getCalendarDisplayChangeListeners()Returns an array of attached calendarDisplayChange listeners. |
javax.el.MethodExpression |
getCalendarListener()Gets a method reference to a calendar event listener. |
CalendarListener[] |
getCalendarListeners()Returns an array of attached calendar listeners. |
java.util.Set |
getClientAttributes()Gets a set of client attribute names. |
ClientListenerSet |
getClientListeners()Gets a set of client listeners. |
javax.faces.component.UIComponent |
getContextMenu()The contextMenu facet is opened when you right click on the calendar, except if you are in the toolbar or on an activity. |
javax.faces.component.UIComponent |
getCreate()The create facet is brought up when you click or double click on free space (not on an activity) on the calendar. |
java.lang.String |
getCustomizationId()Gets The id used to locate this component when applying persistent customizations. |
java.lang.String |
getFamily() |
java.lang.String |
getInlineStyle()Gets the CSS styles to use for this component. |
int |
getListCount()Gets This is the number of days to show in list view when the listType is dayCount |
java.lang.String |
getListType()Gets Drives which activities are displayed in list view. |
java.lang.String[] |
getPartialTriggers()Gets the IDs of the components that should trigger a partial update. |
java.lang.String |
getShortDesc()Gets the short description of the component. |
java.lang.String |
getStartDayOfWeek()Gets Returns the start day of the week in month view. |
int |
getStartHour()Gets The start hour that is scrolled into view. |
java.lang.String |
getStyleClass()Gets a CSS style class to use for this component. |
java.util.TimeZone |
getTimeZone()Gets The timezone to use for this instance. |
java.lang.String[] |
getToolboxLayout()Gets Allows control over the layout of the toolbar. |
java.lang.String |
getView()Gets calendar view: day, month, or list |
boolean |
isClientComponent()Gets whether a client-side component will be generated. |
boolean |
isVisible()Gets the visibility of the component. |
void |
removeCalendarActivityChangeDurationListener(CalendarActivityChangeDurationListener listener)Removes a calendarActivityChangeDuration listener. |
void |
removeCalendarActivityListener(CalendarActivityListener listener)Removes a calendarActivity listener. |
void |
removeCalendarDisplayChangeListener(CalendarDisplayChangeListener listener)Removes a calendarDisplayChange listener. |
void |
removeCalendarListener(CalendarListener listener)Removes a calendar listener. |
void |
setActiveDay(java.util.Date activeDay)Sets The activeDay drives the display range shown, and must be changed in order to show a new display range. |
void |
setActivityContextMenu(javax.faces.component.UIComponent activityContextMenuFacet)the activityContextMenu facet is opened when you right click on an activity. |
void |
setActivityDelete(javax.faces.component.UIComponent activityDeleteFacet)The activityDelete facet is opened if the activity has focus and delete is pressed. |
void |
setActivityDetail(javax.faces.component.UIComponent activityDetailFacet)The activityDetail facet is opened when you click or double click on an activity. |
void |
setActivityHover(javax.faces.component.UIComponent activityHoverFacet)the activityHover facet is opened when you hover over an activity. |
void |
setActivityStyles(java.util.Map activityStyles)Sets Allows per activity instance style customization. |
void |
setCalendarActivityChangeDurationListener(javax.el.MethodExpression calendarActivityChangeDurationListener)Sets a method reference to a calendarActivityChangeDuration listener. |
void |
setCalendarActivityListener(javax.el.MethodExpression calendarActivityListener)Sets a method reference to a calendarActivity listener. |
void |
setCalendarDisplayChangeListener(javax.el.MethodExpression calendarDisplayChangeListener)Sets a method reference to a calendarDisplayChange listener. |
void |
setCalendarListener(javax.el.MethodExpression calendarListener)Sets a method reference to a calendar event listener. |
void |
setClientAttributes(java.util.Set clientAttributes)Sets a set of client attribute names. |
void |
setClientComponent(boolean clientComponent)Sets whether a client-side component will be generated. |
void |
setClientListeners(ClientListenerSet clientListeners)Sets a set of client listeners. |
void |
setContextMenu(javax.faces.component.UIComponent contextMenuFacet)The contextMenu facet is opened when you right click on the calendar, except if you are in the toolbar or on an activity. |
void |
setCreate(javax.faces.component.UIComponent createFacet)The create facet is brought up when you click or double click on free space (not on an activity) on the calendar. |
void |
setCustomizationId(java.lang.String customizationId)Sets The id used to locate this component when applying persistent customizations. |
void |
setInlineStyle(java.lang.String inlineStyle)Sets the CSS styles to use for this component. |
void |
setListCount(int listCount)Sets This is the number of days to show in list view when the listType is dayCount |
void |
setListType(java.lang.String listType)Sets Drives which activities are displayed in list view. |
void |
setPartialTriggers(java.lang.String[] partialTriggers)Sets the IDs of the components that should trigger a partial update. |
void |
setShortDesc(java.lang.String shortDesc)Sets the short description of the component. |
void |
setStartDayOfWeek(java.lang.String startDayOfWeek)Sets Returns the start day of the week in month view. |
void |
setStartHour(int startHour)Sets The start hour that is scrolled into view. |
void |
setStyleClass(java.lang.String styleClass)Sets a CSS style class to use for this component. |
void |
setTimeZone(java.util.TimeZone timeZone)Sets The timezone to use for this instance. |
void |
setToolboxLayout(java.lang.String[] toolboxLayout)Sets Allows control over the layout of the toolbar. |
void |
setView(java.lang.String view)Sets calendar view: day, month, or list |
void |
setVisible(boolean visible)Sets the visibility of the component. |
| Methods inherited from class oracle.adf.view.rich.component.UIXCalendar |
|---|
getValue, setValue |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
|---|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent |
|---|
processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
getContainerClientId, invokeOnComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VIEW_DAY
public static final java.lang.String VIEW_MONTH
public static final java.lang.String VIEW_LIST
public static final java.lang.String LIST_TYPE_DAY
public static final java.lang.String LIST_TYPE_WEEK
public static final java.lang.String LIST_TYPE_MONTH
public static final java.lang.String LIST_TYPE_DAY_COUNT
public static final java.lang.String START_DAY_OF_WEEK_SUN
public static final java.lang.String START_DAY_OF_WEEK_MON
public static final java.lang.String START_DAY_OF_WEEK_TUE
public static final java.lang.String START_DAY_OF_WEEK_WED
public static final java.lang.String START_DAY_OF_WEEK_THU
public static final java.lang.String START_DAY_OF_WEEK_FRI
public static final java.lang.String START_DAY_OF_WEEK_SAT
public static final java.lang.String TOOLBOX_LAYOUT_ALL
public static final java.lang.String TOOLBOX_LAYOUT_DATES
public static final java.lang.String TOOLBOX_LAYOUT_VIEWS
public static final java.lang.String TOOLBOX_LAYOUT_NEWLINE
public static final java.lang.String TOOLBOX_LAYOUT_STRETCH
public static final java.lang.String TOOLBOX_LAYOUT_RANGE
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VISIBLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOMIZATION_ID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_COMPONENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_ATTRIBUTES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey PARTIAL_TRIGGERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VIEW_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ACTIVE_DAY_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey START_HOUR_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LIST_TYPE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey LIST_COUNT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey START_DAY_OF_WEEK_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TIME_ZONE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ACTIVITY_STYLES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey TOOLBOX_LAYOUT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CALENDAR_ACTIVITY_LISTENER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CALENDAR_DISPLAY_CHANGE_LISTENER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CALENDAR_LISTENER_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CALENDAR_ACTIVITY_CHANGE_DURATION_LISTENER_KEY
public static final java.lang.String CREATE_FACET
public static final java.lang.String CONTEXT_MENU_FACET
public static final java.lang.String ACTIVITY_CONTEXT_MENU_FACET
public static final java.lang.String ACTIVITY_HOVER_FACET
public static final java.lang.String ACTIVITY_DETAIL_FACET
public static final java.lang.String ACTIVITY_DELETE_FACET
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
| Constructor Detail |
|---|
public RichCalendar()
protected RichCalendar(java.lang.String rendererType)
| Method Detail |
|---|
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class org.apache.myfaces.trinidad.component.UIXComponentBasejavax.faces.event.AbortProcessingExceptionpublic final javax.faces.component.UIComponent getCreate()
This facet should contain a popup, and the child of the popup should be a dialog. If you don't want to launch a popup when you click or double click free space, then don't use this facet. If no facet is present a calendarEvent will still be sent to the server and you can listen for a it and respond appropriately.
This facet can only be triggered by mouse clicks, therefore you must add custom toolbar buttons that trigger the same functionality if the calendar needs to be keyboard accessible.public final void setCreate(javax.faces.component.UIComponent createFacet)
This facet should contain a popup, and the child of the popup should be a dialog. If you don't want to launch a popup when you click or double click free space, then don't use this facet. If no facet is present a calendarEvent will still be sent to the server and you can listen for a it and respond appropriately.
This facet can only be triggered by mouse clicks, therefore you must add custom toolbar buttons that trigger the same functionality if the calendar needs to be keyboard accessible.public final javax.faces.component.UIComponent getContextMenu()
This facet should contain a popup, and the child of the popup should be a menu. If this facet is specified a calendarEvent will be sent to the server for the right click. If this facet is not specified, no event will be sent to the server for the right click.
There is no built in context menu functionality provided, all menu items should be added by the developer.
This facet can only be triggered by mouse clicks, therefore you must add custom toolbar buttons that trigger the same functionality if the calendar needs to be keyboard accessible.
If this facet is not present, then no calendarEvent will be sent for a right click in a free space area.
public final void setContextMenu(javax.faces.component.UIComponent contextMenuFacet)
This facet should contain a popup, and the child of the popup should be a menu. If this facet is specified a calendarEvent will be sent to the server for the right click. If this facet is not specified, no event will be sent to the server for the right click.
There is no built in context menu functionality provided, all menu items should be added by the developer.
This facet can only be triggered by mouse clicks, therefore you must add custom toolbar buttons that trigger the same functionality if the calendar needs to be keyboard accessible.
If this facet is not present, then no calendarEvent will be sent for a right click in a free space area.
public final javax.faces.component.UIComponent getActivityContextMenu()
This facet should contain a popup, and the child of the popup should be a menu.
If this facet is specified a calendarActivityEvent will be sent to the server for the right click. If this facet is not specified, no event will be sent to the server for the right click.
There is no built in context menu functionality provided, all menu items should be added by the developer.
public final void setActivityContextMenu(javax.faces.component.UIComponent activityContextMenuFacet)
This facet should contain a popup, and the child of the popup should be a menu.
If this facet is specified a calendarActivityEvent will be sent to the server for the right click. If this facet is not specified, no event will be sent to the server for the right click.
There is no built in context menu functionality provided, all menu items should be added by the developer.
public final javax.faces.component.UIComponent getActivityHover()
If this facet is not present, then no calendarActivityEvent will be sent when the user hovers over an activity.
There will be a delay before this popup is opened such that it doesn't show up when the user quickly mouses in and back out of the activity.
public final void setActivityHover(javax.faces.component.UIComponent activityHoverFacet)
If this facet is not present, then no calendarActivityEvent will be sent when the user hovers over an activity.
There will be a delay before this popup is opened such that it doesn't show up when the user quickly mouses in and back out of the activity.
public final javax.faces.component.UIComponent getActivityDetail()
This facet should contain a popup, and the child of the popup should be a dialog. If you don't want to launch a popup for click/double click/enter, then don't use this facet. If no facet is present a calendarActivityEvent will still be sent to the server and you can listen for a it and respond appropriately.
public final void setActivityDetail(javax.faces.component.UIComponent activityDetailFacet)
This facet should contain a popup, and the child of the popup should be a dialog. If you don't want to launch a popup for click/double click/enter, then don't use this facet. If no facet is present a calendarActivityEvent will still be sent to the server and you can listen for a it and respond appropriately.
public final javax.faces.component.UIComponent getActivityDelete()
This facet should contain a popup, and the child of the popup should be a dialog. If you don't want to launch a popup when the user hits delete, then don't use this facet. If no facet is present a calendarActivityEvent will still be sent to the server and you can listen for a it and respond appropriately.
public final void setActivityDelete(javax.faces.component.UIComponent activityDeleteFacet)
This facet should contain a popup, and the child of the popup should be a dialog. If you don't want to launch a popup when the user hits delete, then don't use this facet. If no facet is present a calendarActivityEvent will still be sent to the server and you can listen for a it and respond appropriately.
public final java.lang.String getInlineStyle()
public final void setInlineStyle(java.lang.String inlineStyle)
inlineStyle - the new inlineStyle valuepublic final java.lang.String getStyleClass()
public final void setStyleClass(java.lang.String styleClass)
styleClass - the new styleClass valuepublic final java.lang.String getShortDesc()
public final void setShortDesc(java.lang.String shortDesc)
shortDesc - the new shortDesc valuepublic final boolean isVisible()
public final void setVisible(boolean visible)
visible - the new visible valuepublic final java.lang.String getCustomizationId()
public final void setCustomizationId(java.lang.String customizationId)
customizationId - the new customizationId valuepublic final boolean isClientComponent()
public final void setClientComponent(boolean clientComponent)
clientComponent - the new clientComponent valuepublic final java.util.Set getClientAttributes()
public final void setClientAttributes(java.util.Set clientAttributes)
clientAttributes - the new clientAttributes valuepublic final java.lang.String[] getPartialTriggers()
public final void setPartialTriggers(java.lang.String[] partialTriggers)
partialTriggers - the new partialTriggers valuepublic final ClientListenerSet getClientListeners()
public final void setClientListeners(ClientListenerSet clientListeners)
clientListeners - the new clientListeners valuepublic final java.lang.String getView()
public final void setView(java.lang.String view)
view - the new view valuepublic final java.util.Date getActiveDay()
When the arrows in the toolbar are used, the activeDay will be changed. For example if the arrow is pressed when the activeDay is June 8, 2009 and the view is month then the activeDay will change to July 9, 2009.
public final void setActiveDay(java.util.Date activeDay)
When the arrows in the toolbar are used, the activeDay will be changed. For example if the arrow is pressed when the activeDay is June 8, 2009 and the view is month then the activeDay will change to July 9, 2009.
activeDay - the new activeDay valuepublic final int getStartHour()
public final void setStartHour(int startHour)
startHour - the new startHour valuepublic final java.lang.String getListType()
public final void setListType(java.lang.String listType)
listType - the new listType valuepublic final int getListCount()
public final void setListCount(int listCount)
listCount - the new listCount valuepublic final java.lang.String getStartDayOfWeek()
public final void setStartDayOfWeek(java.lang.String startDayOfWeek)
startDayOfWeek - the new startDayOfWeek valuepublic final java.util.TimeZone getTimeZone()
public final void setTimeZone(java.util.TimeZone timeZone)
timeZone - the new timeZone valuepublic final java.util.Map getActivityStyles()
For built in color ramps see CalendarActivityRamp.getActivityRamp, which returns a CalendarActivityRamp object, a subclass of InstanceStyles
public final void setActivityStyles(java.util.Map activityStyles)
For built in color ramps see CalendarActivityRamp.getActivityRamp, which returns a CalendarActivityRamp object, a subclass of InstanceStyles
activityStyles - the new activityStyles valuepublic final java.lang.String[] getToolboxLayout()
The built in strings the component recognizes are:
Custom toolbox content: when the calendar encounters a string in toolboxLayout that it doesn't recognize, like 'customToolboxXyz', it looks for a facet of that name and renders the content if it finds it. In the future new facets may be added to calendar. In order to avoid future name clashes strings starting with the word 'custom' should be used for custom facets. We make no guarantees for other names.
The toolboxLayout attribute allows the user topublic final void setToolboxLayout(java.lang.String[] toolboxLayout)
The built in strings the component recognizes are:
Custom toolbox content: when the calendar encounters a string in toolboxLayout that it doesn't recognize, like 'customToolboxXyz', it looks for a facet of that name and renders the content if it finds it. In the future new facets may be added to calendar. In order to avoid future name clashes strings starting with the word 'custom' should be used for custom facets. We make no guarantees for other names.
The toolboxLayout attribute allows the user totoolboxLayout - the new toolboxLayout valuepublic final javax.el.MethodExpression getCalendarActivityListener()
public final void setCalendarActivityListener(javax.el.MethodExpression calendarActivityListener)
calendarActivityListener - the new calendarActivityListener valuepublic final javax.el.MethodExpression getCalendarDisplayChangeListener()
public final void setCalendarDisplayChangeListener(javax.el.MethodExpression calendarDisplayChangeListener)
calendarDisplayChangeListener - the new calendarDisplayChangeListener valuepublic final javax.el.MethodExpression getCalendarListener()
public final void setCalendarListener(javax.el.MethodExpression calendarListener)
calendarListener - the new calendarListener valuepublic final javax.el.MethodExpression getCalendarActivityChangeDurationListener()
public final void setCalendarActivityChangeDurationListener(javax.el.MethodExpression calendarActivityChangeDurationListener)
calendarActivityChangeDurationListener - the new calendarActivityChangeDurationListener valuepublic final void addCalendarActivityListener(CalendarActivityListener listener)
listener - the calendarActivity listener to addpublic final void removeCalendarActivityListener(CalendarActivityListener listener)
listener - the calendarActivity listener to removepublic final CalendarActivityListener[] getCalendarActivityListeners()
public final void addCalendarDisplayChangeListener(CalendarDisplayChangeListener listener)
listener - the calendarDisplayChange listener to addpublic final void removeCalendarDisplayChangeListener(CalendarDisplayChangeListener listener)
listener - the calendarDisplayChange listener to removepublic final CalendarDisplayChangeListener[] getCalendarDisplayChangeListeners()
public final void addCalendarListener(CalendarListener listener)
listener - the calendar listener to addpublic final void removeCalendarListener(CalendarListener listener)
listener - the calendar listener to removepublic final CalendarListener[] getCalendarListeners()
public final void addCalendarActivityChangeDurationListener(CalendarActivityChangeDurationListener listener)
listener - the calendarActivityChangeDuration listener to addpublic final void removeCalendarActivityChangeDurationListener(CalendarActivityChangeDurationListener listener)
listener - the calendarActivityChangeDuration listener to removepublic final CalendarActivityChangeDurationListener[] getCalendarActivityChangeDurationListeners()
public java.lang.String getFamily()
getFamily in class UIXCalendarprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class UIXCalendar
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||