|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.ActionEvent
oracle.adf.view.faces.bi.event.DataChangeEvent
public class DataChangeEvent
Event delivered when an action that could affect the data model has occurred as a result of user interaction on the Gantt (for example, a user change the duration of a task by resizing the task bar). Event listener should determine the type of action performed and update the data model accordingly.
Field Summary | |
---|---|
static int |
COPY
Action type: copy a task(s) or a resource(s). |
static int |
CREATE
Action type: create a new task. |
static int |
CREATE_RESOURCE
Action type: create a new resource. |
static int |
CUT
Action type: cut a task(s) or a resource(s). |
static int |
DELETE
Action type: delete a task(s) or a resource(s). |
static int |
DURATION_CHANGED
Action type: the end time of a task has changed. |
static int |
INDENT
Action type: indent a task or a resource. |
static int |
LINK
Action type: link two tasks together. |
static int |
OUTDENT
Action type: outdent a task or a resource. |
static int |
PASTE
Action type: paste. |
static int |
PROGRESS_CHANGED
Action type: progress of task has changed. |
static int |
TASK_MERGED
Action type: a task is merged with another task. |
static int |
TASK_PROPERTIES_UPDATE
Action type: task properties dialog event. |
static int |
TASK_SPLITTED
Action type: a task is splitted. |
static int |
TIME_CHANGED
Action type: the start and end time of a task has changed. |
static int |
UNLINK
Action type: unlink two linked tasks. |
static int |
UPDATE
Action type: update a task. |
static int |
UPDATE_RESOURCE
Action type: update a new resource. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
DataChangeEvent(javax.faces.component.UIComponent component,
int type)
Constructor for an instance of a DataChangeEvent. |
Method Summary | |
---|---|
int |
getActionType()
Gets the type of action performed by the user. |
java.util.List<Dependency> |
getDependencies()
Gets a list of dependencies set in the task properties dialog. |
java.lang.String |
getFromResourceId()
Gets the original resource id of a task before the move. |
java.lang.String |
getMergeFrom()
Gets the task id of the task to merge from. |
java.lang.String |
getMergeTo()
Gets the task id of the task to merge to. |
java.util.Date |
getNewCompleteThrough()
|
java.util.Date |
getNewEndTime()
Gets the new end time of a task. |
int |
getNewPercentComplete()
|
java.util.Date |
getNewStartTime()
Gets the new start time of a task. |
java.lang.String |
getRecurTaskId()
Gets the id of an individual recurring task. |
java.util.List<java.lang.String> |
getResourceIds()
Gets a list of resource ids where this action is performed on. |
org.apache.myfaces.trinidad.model.RowKeySet |
getRowKeys()
|
java.util.Date |
getSplitStartTime()
When a task is split into two parts, this method returns the start time of the second part. |
java.lang.String |
getSplitTaskId()
Gets the id of split segment of a split task where the action is performed on. |
java.util.List<SplitTask> |
getSplitTasks()
Gets a list of split tasks set in the task properties dialog. |
java.util.Date |
getSplitTime()
When a task is split into two parts, this method returns the end time of the first part. |
java.lang.String |
getTaskId()
Gets the task id where the action is performed on. |
java.util.List<java.lang.String> |
getTaskIds()
Gets a list of task ids where this action is performed on. |
java.lang.String |
getToResourceId()
Gets the new resource id of a task after the move. |
void |
setDependencies(java.util.List<Dependency> dependencies)
|
void |
setFromResourceId(java.lang.String fromResourceId)
|
void |
setMergeFrom(java.lang.String mergeFromId)
|
void |
setMergeTo(java.lang.String mergeToId)
|
void |
setNewCompleteThrough(java.util.Date completeThrough)
|
void |
setNewEndTime(java.util.Date newEndTime)
|
void |
setNewPercentComplete(int percentComplete)
|
void |
setNewStartTime(java.util.Date newStartTime)
|
void |
setRecurId(java.lang.String recurId)
|
void |
setResourceIds(java.util.List<java.lang.String> resourceIds)
|
void |
setRowKeys(org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
|
void |
setSplitId(java.lang.String splitId)
|
void |
setSplitStartTime(java.util.Date splitStartTime)
|
void |
setSplitTasks(java.util.List<SplitTask> splitTasks)
|
void |
setSplitTime(java.util.Date splitTime)
|
void |
setTaskIds(java.util.List<java.lang.String> taskIds)
|
void |
setToResourceId(java.lang.String toResourceId)
|
Methods inherited from class javax.faces.event.ActionEvent |
---|
isAppropriateListener, processListener |
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 |
---|
public static final int TIME_CHANGED
public static final int DURATION_CHANGED
public static final int TASK_SPLITTED
public static final int TASK_MERGED
public static final int CUT
public static final int COPY
public static final int PASTE
public static final int DELETE
public static final int INDENT
public static final int OUTDENT
public static final int LINK
public static final int UNLINK
public static final int CREATE
public static final int UPDATE
public static final int CREATE_RESOURCE
public static final int UPDATE_RESOURCE
public static final int TASK_PROPERTIES_UPDATE
public static final int PROGRESS_CHANGED
Constructor Detail |
---|
public DataChangeEvent(javax.faces.component.UIComponent component, int type)
component
- The Gantt component.type
- The type of action.Method Detail |
---|
public int getActionType()
public void setRowKeys(org.apache.myfaces.trinidad.model.RowKeySet rowKeys)
public org.apache.myfaces.trinidad.model.RowKeySet getRowKeys()
public void setTaskIds(java.util.List<java.lang.String> taskIds)
public java.util.List<java.lang.String> getTaskIds()
public void setResourceIds(java.util.List<java.lang.String> resourceIds)
public java.util.List<java.lang.String> getResourceIds()
public void setNewStartTime(java.util.Date newStartTime)
public java.util.Date getNewStartTime()
public void setNewEndTime(java.util.Date newEndTime)
public java.util.Date getNewEndTime()
public void setFromResourceId(java.lang.String fromResourceId)
public java.lang.String getFromResourceId()
public void setToResourceId(java.lang.String toResourceId)
public java.lang.String getToResourceId()
public void setSplitId(java.lang.String splitId)
public void setRecurId(java.lang.String recurId)
public java.lang.String getRecurTaskId()
public java.lang.String getSplitTaskId()
public void setSplitTime(java.util.Date splitTime)
public java.util.Date getSplitTime()
public void setSplitStartTime(java.util.Date splitStartTime)
public java.util.Date getSplitStartTime()
public void setMergeFrom(java.lang.String mergeFromId)
public java.lang.String getMergeFrom()
public void setMergeTo(java.lang.String mergeToId)
public java.lang.String getMergeTo()
public java.util.List<SplitTask> getSplitTasks()
public void setSplitTasks(java.util.List<SplitTask> splitTasks)
public java.util.List<Dependency> getDependencies()
public void setDependencies(java.util.List<Dependency> dependencies)
public java.lang.String getTaskId()
public java.util.Date getNewCompleteThrough()
public void setNewCompleteThrough(java.util.Date completeThrough)
public int getNewPercentComplete()
public void setNewPercentComplete(int percentComplete)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |