|
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.CalendarEvent
public class CalendarEvent
/** CalendarEvent class for when a user clicks on empty space -- that is, space that isn't an activity.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
CalendarEvent(javax.faces.component.UIComponent source, java.util.Date triggerDate, CalendarActivity.TimeType timeType, java.awt.AWTKeyStroke keyStroke, int clickCount, MouseButton button, TriggerType triggerType) Default constructor |
Method Summary | |
---|---|
MouseButton |
getButton() Return the button that triggered the 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. |
CalendarActivity.TimeType |
getTimeType() This returns TimeType in which the user clicked - the all day area or the timed area. |
java.util.Date |
getTriggerDate() This returns the Date information of the time-slot the user clicked on to trigger the event. |
TriggerType |
getTriggerType() The triggerType of event. |
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener) |
java.lang.String |
toString() |
Methods inherited from class javax.faces.event.FacesEvent |
---|
getComponent, getPhaseId, queue, setPhaseId |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CalendarEvent(javax.faces.component.UIComponent source, java.util.Date triggerDate, CalendarActivity.TimeType timeType, java.awt.AWTKeyStroke keyStroke, int clickCount, MouseButton button, TriggerType triggerType)
source
-triggerDate
- The Date object that contains the date information including time about where the user clicked in the calendar.timeType
- An all day activity TimeType.ALLDAY or a timed activity TimeType.TIME. If the user clicked in the all day area then this is TimeType.ALLDAY.keyStroke
- AWTKeyStroke contains the information of what key was pressed that triggered this event, null if none.clickCount
- 0,1, or 2 - the number of clicks of the mouse that triggered this event, if any.button
- the button that was pressed that triggered this event, if any.triggerType
- the information about what triggered this event.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 java.util.Date getTriggerDate()
public CalendarActivity.TimeType getTimeType()
public java.awt.AWTKeyStroke getKeyStroke()
public int getClickCount()
public MouseButton getButton()
public TriggerType getTriggerType()
public java.lang.String toString()
toString
in class java.util.EventObject
|
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 |