public class TimeBucketSelectionEvent
extends javax.faces.event.FacesEvent
| Constructor and Description |
|---|
TimeBucketSelectionEvent(javax.faces.component.UIComponent source,
java.lang.String resourceId,
java.util.Date date,
java.lang.Object bucket)
Constructor for an instance of TimeBucketSelectionEvent.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getDate()
Gets the start date of the time bucket.
|
java.lang.String |
getResourceId()
Gets the resource of the selected time bucket.
|
java.lang.Object |
getTimeBucket()
Returns the selected time bucket.
|
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener) |
void |
processListener(javax.faces.event.FacesListener listener) |
public TimeBucketSelectionEvent(javax.faces.component.UIComponent source,
java.lang.String resourceId,
java.util.Date date,
java.lang.Object bucket)
source - the Gantt component.resourceId - the resource id of the selected time bucket.date - the date of the time bucket.bucket - the selected time bucket.public java.lang.String getResourceId()
public java.util.Date getDate()
public java.lang.Object getTimeBucket()
public 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.FacesEvent