Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.6.0)

E12063-07

oracle.adf.view.faces.bi.event
Class GanttActionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by javax.faces.event.ActionEvent
              extended by oracle.adf.view.faces.bi.event.GanttActionEvent
All Implemented Interfaces:
java.io.Serializable

public class GanttActionEvent
extends javax.faces.event.ActionEvent

Event delivered when a non-data changing action (such as print) occurred due to user interaction.

See Also:
Serialized Form

Field Summary
static int PRINT
          Action type: print.
static int REDO
          Action type: redo action.
static int SHOW_AS_HIER
          Action type: show the tasks/resources on the data region of the Gantt (left portion) as a tree (if supported by the underlying data model).
static int SHOW_AS_LIST
          Action type: show the tasks/resources on the data region of the Gantt (left portion) as a list.
static int UNDO
          Action type: undo action.
static int ZOOM
          Action type: zoom to a new time scale.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GanttActionEvent(javax.faces.component.UIComponent component, int type)
          Constructor of an instance of GanttActionEvent.
GanttActionEvent(javax.faces.component.UIComponent component, int type, java.lang.String major, java.lang.String minor)
          Constructor of an instance of GanttActionEvent with the new time scale.
 
Method Summary
 int getActionType()
          Gets the action type performed on the Gantt.
 java.lang.String getMajorTimeScale()
          Gets the new major time scale after zoom.
 java.lang.String getMinorTimeScale()
          Gets the new minor time scale after zoom.
 java.lang.Object getUndoableEdit()
          Gets the UndoableEdit for undo/redo actions.
 void setUndoableEdit(java.lang.Object edit)
           
 
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

UNDO

public static final int UNDO
Action type: undo action. Note that an UNDO action would be fired only for CREATE/UPDATE operations in which the default UndoManager cannot handle and also any other unknown UndoableEdit registered with the UndoManager.

See Also:
Constant Field Values

REDO

public static final int REDO
Action type: redo action. Note that a REDO action would be fired only for CREATE/UPDATE operations in which the default UndoManager cannot handle and also any other unknown UndoableEdit registered with the UndoManager.

See Also:
Constant Field Values

PRINT

public static final int PRINT
Action type: print.

See Also:
Constant Field Values

SHOW_AS_LIST

public static final int SHOW_AS_LIST
Action type: show the tasks/resources on the data region of the Gantt (left portion) as a list.

See Also:
Constant Field Values

SHOW_AS_HIER

public static final int SHOW_AS_HIER
Action type: show the tasks/resources on the data region of the Gantt (left portion) as a tree (if supported by the underlying data model).

See Also:
Constant Field Values

ZOOM

public static final int ZOOM
Action type: zoom to a new time scale.

See Also:
Constant Field Values
Constructor Detail

GanttActionEvent

public GanttActionEvent(javax.faces.component.UIComponent component,
                        int type)
Constructor of an instance of GanttActionEvent. Application should never create a GanttActionEvent directly.

Parameters:
component - the Gantt component.
type - the type of action.

GanttActionEvent

public GanttActionEvent(javax.faces.component.UIComponent component,
                        int type,
                        java.lang.String major,
                        java.lang.String minor)
Constructor of an instance of GanttActionEvent with the new time scale. Application should never create a GanttActionEvent directly.

Parameters:
component - the Gantt component.
type - the type of action.
scale - the new minor time scale.
Method Detail

getActionType

public int getActionType()
Gets the action type performed on the Gantt.

Returns:
the action type.

getMajorTimeScale

public java.lang.String getMajorTimeScale()
Gets the new major time scale after zoom.

Returns:
the new major time scale after zoom.

getMinorTimeScale

public java.lang.String getMinorTimeScale()
Gets the new minor time scale after zoom.

Returns:
the new minor time scale after zoom.

setUndoableEdit

public void setUndoableEdit(java.lang.Object edit)
For internal use only. Application developers should not use this

getUndoableEdit

public java.lang.Object getUndoableEdit()
Gets the UndoableEdit for undo/redo actions.

Returns:
the UndoableEdit associated with the undo/redo actions.

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.6.0)

E12063-07

Copyright © 1997, 2011, Oracle. All rights reserved.