|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
oracle.adf.view.rich.event.CalendarActivityEvent
public class CalendarActivityEvent
An activity event is fired when the user clicks on an activity.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CalendarActivityEvent(javax.faces.component.UIComponent source, CalendarActivity activity, java.awt.AWTKeyStroke keyStroke, int clickCount, MouseButton button, TriggerType triggerType) Default constructor |
Method Summary | |
---|---|
MouseButton |
getButton() Return the button that triggered the event. |
CalendarActivity |
getCalendarActivity() Returns the calendarActivity for this event. |
int |
getClickCount() Return the number of clicks of the mouse that triggered the event. |
java.awt.AWTKeyStroke |
getKeyStroke() This returns the keyStroke that triggered the event. |
TriggerType |
getTriggerType() The triggerType of event. |
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener) |
Methods inherited from class javax.faces.event.FacesEvent |
---|
getComponent, getPhaseId, queue, setPhaseId |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CalendarActivityEvent(javax.faces.component.UIComponent source, CalendarActivity activity, java.awt.AWTKeyStroke keyStroke, int clickCount, MouseButton button, TriggerType triggerType)
Method Detail |
---|
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener
in class javax.faces.event.FacesEvent
public void processListener(javax.faces.event.FacesListener listener)
processListener
in class javax.faces.event.FacesEvent
public CalendarActivity getCalendarActivity()
The return value may be null. For example let's say 2 users are looking at the same data. User A deletes activity 1. User B clicks on activity 1, but the activity has been deleted, so CalendarModel.getActivity will return null. The calendarActivityEvent will still be delivered with a null activty such that the end user can be informed that the activity is no longer available.
public java.awt.AWTKeyStroke getKeyStroke()
public int getClickCount()
public MouseButton getButton()
public TriggerType getTriggerType()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |