org.apache.myfaces.custom.schedule
Class ScheduleMouseEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
org.apache.myfaces.custom.schedule.ScheduleMouseEvent
- All Implemented Interfaces:
- Serializable
public class ScheduleMouseEvent
- extends javax.faces.event.FacesEvent
- implements Serializable
An event that is fired when the schedule is clicked, and the submitOnClick
property on the schedule is set to true.
- Version:
- $Revision$
- Author:
- Jurgen Lust (latest modification by $Author$)
- See Also:
- Serialized Form
Constructor Summary |
ScheduleMouseEvent(org.apache.myfaces.custom.schedule.HtmlSchedule source,
int eventType)
|
Methods inherited from class javax.faces.event.FacesEvent |
getComponent, getPhaseId, queue, setPhaseId |
SCHEDULE_NOTHING_CLICKED
public static final int SCHEDULE_NOTHING_CLICKED
- See Also:
- Constant Field Values
SCHEDULE_BODY_CLICKED
public static final int SCHEDULE_BODY_CLICKED
- See Also:
- Constant Field Values
SCHEDULE_HEADER_CLICKED
public static final int SCHEDULE_HEADER_CLICKED
- See Also:
- Constant Field Values
SCHEDULE_ENTRY_CLICKED
public static final int SCHEDULE_ENTRY_CLICKED
- See Also:
- Constant Field Values
ScheduleMouseEvent
public ScheduleMouseEvent(org.apache.myfaces.custom.schedule.HtmlSchedule source,
int eventType)
getClickedDate
public Date getClickedDate()
getClickedTime
public Date getClickedTime()
getClickedInterval
public Interval getClickedInterval()
getEventType
public int getEventType()
getSchedule
public org.apache.myfaces.custom.schedule.HtmlSchedule getSchedule()
- Returns:
- The schedule component where the mouse event originated
isAppropriateListener
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
- Specified by:
isAppropriateListener
in class javax.faces.event.FacesEvent
- See Also:
FacesEvent.isAppropriateListener(javax.faces.event.FacesListener)
processListener
public void processListener(javax.faces.event.FacesListener listener)
- Specified by:
processListener
in class javax.faces.event.FacesEvent
- See Also:
FacesEvent.processListener(javax.faces.event.FacesListener)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.