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:
- java.io.Serializable
public class ScheduleMouseEvent
- extends javax.faces.event.FacesEvent
- implements java.io.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
Fields inherited from class java.util.EventObject |
source |
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 |
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(HtmlSchedule source,
int eventType)
getClickedDate
public java.util.Date getClickedDate()
getClickedTime
public java.util.Date getClickedTime()
getClickedInterval
public Interval getClickedInterval()
getEventType
public int getEventType()
getSchedule
public 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 © 2011 The Apache Software Foundation. All Rights Reserved.