org.apache.myfaces.custom.schedule
Class ScheduleMouseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by 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

Field Summary
static int SCHEDULE_BODY_CLICKED
           
static int SCHEDULE_ENTRY_CLICKED
           
static int SCHEDULE_HEADER_CLICKED
           
static int SCHEDULE_NOTHING_CLICKED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ScheduleMouseEvent(org.apache.myfaces.custom.schedule.HtmlSchedule source, int eventType)
           
 
Method Summary
 Date getClickedDate()
           
 Interval getClickedInterval()
           
 Date getClickedTime()
           
 int getEventType()
           
 org.apache.myfaces.custom.schedule.HtmlSchedule getSchedule()
           
 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
 

Field Detail

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
Constructor Detail

ScheduleMouseEvent

public ScheduleMouseEvent(org.apache.myfaces.custom.schedule.HtmlSchedule source,
                          int eventType)
Method Detail

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.