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

E12063-02

oracle.dss.util
Class DataChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.dss.util.ModelEvent
          extended by oracle.dss.util.DataChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class DataChangedEvent
extends ModelEvent

Describes a change to data. Data providers fire this event to notify views of changes to data. Views listen for this event to know when to repaint.

See Also:
Serialized Form

Field Summary
protected  int changeType
           
static int DRILL_CHANGE
          The data has been drilled.
static int LAYER_METADATA_CHANGE
          The data has been updated by layer metadata being set.
static int PAGE_CHANGE
          The current page has changed.
protected  boolean pageDirty
           
static int PIVOT_CHANGE
          The data has been pivoted.
protected  DataAccess provider
           
static int SEL_CHANGE
          A selection has changed.
static int SETSTATE_CHANGE
          The data has been updated by state being set.
static int UNKNOWN_CHANGE
          The nature of the change is unknown.
 
Fields inherited from class oracle.dss.util.ModelEvent
columnDirty, dataDirty, rowDirty
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataChangedEvent(java.lang.Object source, DataAccess dp, boolean data, boolean row, boolean column, boolean page)
          Constructor that does not specify the type of change.
DataChangedEvent(java.lang.Object source, DataAccess dp, int type, boolean data, boolean row, boolean column, boolean page)
          Constructor that specifies the type of change.
 
Method Summary
 DataAccess getDataAccess()
          Retrieves the DataAccess that provides access to the changed data.
 int getType()
          Retrieves the type of change that has occurred.
 boolean isPageDirty()
          Indicates whether anything in the page edge has changed.
 void setDataAccess(DataAccess da)
          Specifies a DataAccess for this event.
 
Methods inherited from class oracle.dss.util.ModelEvent
isColumnDirty, isDataDirty, isRowDirty
 
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

UNKNOWN_CHANGE

public static final int UNKNOWN_CHANGE
The nature of the change is unknown.

See Also:
Constant Field Values

PAGE_CHANGE

public static final int PAGE_CHANGE
The current page has changed.

See Also:
Constant Field Values

DRILL_CHANGE

public static final int DRILL_CHANGE
The data has been drilled.

See Also:
Constant Field Values

PIVOT_CHANGE

public static final int PIVOT_CHANGE
The data has been pivoted.

See Also:
Constant Field Values

SEL_CHANGE

public static final int SEL_CHANGE
A selection has changed.

See Also:
Constant Field Values

SETSTATE_CHANGE

public static final int SETSTATE_CHANGE
The data has been updated by state being set.

See Also:
Constant Field Values

LAYER_METADATA_CHANGE

public static final int LAYER_METADATA_CHANGE
The data has been updated by layer metadata being set.

See Also:
Constant Field Values

pageDirty

protected boolean pageDirty

changeType

protected int changeType

provider

protected DataAccess provider
Constructor Detail

DataChangedEvent

public DataChangedEvent(java.lang.Object source,
                        DataAccess dp,
                        boolean data,
                        boolean row,
                        boolean column,
                        boolean page)
Constructor that does not specify the type of change.

Parameters:
source - The source of this event.
dp - The DataAccess that provides access to the changed data.
data - true if the data (including any types of data specified in the DataMap) has changed, false if not.
row - true if anything in the row edge has changed, false if not.
column - true if anything in the column edge has changed, false if not.
page - true if anything in the page edge has changed, false if not.

DataChangedEvent

public DataChangedEvent(java.lang.Object source,
                        DataAccess dp,
                        int type,
                        boolean data,
                        boolean row,
                        boolean column,
                        boolean page)
Constructor that specifies the type of change.

Parameters:
source - The source of this event.
dp - The DataAccess that provides access to the changed data.
type - A constant that represents the type of change that has occurred.
data - true if the data (including any types of data specified in the DataMap) has changed, false if not.
row - true if anything in the row edge has changed, false if not.
column - true if anything in the column edge has changed, false if not.
page - true if anything in the page edge has changed, false if not.
Method Detail

setDataAccess

public void setDataAccess(DataAccess da)
Specifies a DataAccess for this event.

Parameters:
da - The DataAccess that provides access to the changed data.

getDataAccess

public DataAccess getDataAccess()
Retrieves the DataAccess that provides access to the changed data.

Returns:
The DataAccess that provides access to the changed data.

isPageDirty

public boolean isPageDirty()
Indicates whether anything in the page edge has changed.

Returns:
true if anything in the page edge has changed, false if not.

getType

public int getType()
Retrieves the type of change that has occurred.

Returns:
A constant that represents the type of change that has occurred.

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

E12063-02

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