|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.2) E10684-10 |
|||||||||
| 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.CalendarActivityDurationChangeEvent
public class CalendarActivityDurationChangeEvent
An activity event is fired when the user changed the duration of an activity.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
CalendarActivityDurationChangeEvent(javax.faces.component.UIComponent source, java.lang.String providerId, java.lang.String activityId, CalendarActivity activity, java.util.Date newEndDate)Constructs CalendarActivityDurationChangeEvent for TIME and ALLDAY type activities |
|
CalendarActivityDurationChangeEvent(javax.faces.component.UIComponent source, java.lang.String providerId, java.lang.String activityId, CalendarActivity activity, java.util.Date triggerDate, long newDurationMillis)Constructs CalendarActivityDurationChangeEvent for DURATION type activity |
|
| Method Summary | |
|---|---|
CalendarActivity |
getCalendarActivity()This returns the activity source. |
long |
getNewDuration()Returns the new duration for TimeType.DURATION activity. |
java.util.Date |
getNewEndDate()Returns the new end date for TimeType.TIME or TimeType.ALLDAY activities. |
java.util.Date |
getTriggerDate()Returns the date for which the current duration change event is triggered. |
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 CalendarActivityDurationChangeEvent(javax.faces.component.UIComponent source,
java.lang.String providerId,
java.lang.String activityId,
CalendarActivity activity,
java.util.Date newEndDate)
public CalendarActivityDurationChangeEvent(javax.faces.component.UIComponent source,
java.lang.String providerId,
java.lang.String activityId,
CalendarActivity activity,
java.util.Date triggerDate,
long newDurationMillis)
| Method Detail |
|---|
public java.util.Date getNewEndDate()
java.lang.IllegalStateException - if this method is invoked on a TimeType.DURATION activitypublic long getNewDuration()
java.lang.IllegalStateException - if this method is invoked on a TimeType.ALLDAY or TimeType.TIME activitypublic java.util.Date getTriggerDate()
java.lang.IllegalStateException - if this method is invoked on a TimeType.ALLDAY or TimeType.TIME activitypublic boolean isAppropriateListener(javax.faces.event.FacesListener listener)
isAppropriateListener in class javax.faces.event.FacesEventpublic void processListener(javax.faces.event.FacesListener listener)
processListener in class javax.faces.event.FacesEventpublic CalendarActivity getCalendarActivity()
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.2) E10684-10 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||