Skip navigation links

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

E12063-03


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.
 
Since:
11.1.0.0.0
See Also:
Serialized Form

Field Summary
static int DRILL_CHANGE
          The data has been drilled.
static int LAYER_METADATA_CHANGE
          The data has been updated by layer metadata being set.
protected  boolean m_bEdgeHiddenDirty
           
protected  boolean m_bEdgePageDirty
           
protected  DataAccess m_dataAccess
           
protected  int m_nChangeType
           
static int PAGE_CHANGE
          The current page has changed.
static int PIVOT_CHANGE
          The data has been pivoted.
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 objSource, DataAccess dataAccess, boolean bEdgeDataDirty, boolean bEdgeRowDirty, boolean bEdgeColumnDirty, boolean bEdgePageDirty)
          Constructor that does not specify the type of change.
DataChangedEvent(java.lang.Object objSource, DataAccess dataAccess, int nType, boolean bEdgeDataDirty, boolean bEdgeRowDirty, boolean bEdgeColumnDirty, boolean bEdgePageDirty)
          Constructor that specifies the type of change.
DataChangedEvent(java.lang.Object objSource, DataAccess dataAccess, int nType, boolean bEdgeDataDirty, boolean bEdgeRowDirty, boolean bEdgeColumnDirty, boolean bEdgePageDirty, boolean bEdgeHiddenDirty)
          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 isHiddenDirty()
          Indicates whether anything in the hidden edge has changed.
 boolean isPageDirty()
          Indicates whether anything in the page edge has changed.
 void setDataAccess(DataAccess dataAccess)
          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

m_bEdgePageDirty

protected boolean m_bEdgePageDirty

m_bEdgeHiddenDirty

protected boolean m_bEdgeHiddenDirty

m_nChangeType

protected int m_nChangeType

m_dataAccess

protected DataAccess m_dataAccess

Constructor Detail

DataChangedEvent

public DataChangedEvent(java.lang.Object objSource,
                        DataAccess dataAccess,
                        boolean bEdgeDataDirty,
                        boolean bEdgeRowDirty,
                        boolean bEdgeColumnDirty,
                        boolean bEdgePageDirty)
Constructor that does not specify the type of change.
Parameters:
objSource - The source of this event.
dataAccess - The DataAccess that provides access to the changed data.
bEdgeDataDirty - true if the data (including any types of data specified in the DataMap) has changed, false if not.
bEdgeRowDirty - true if anything in the row edge has changed, false if not.
bEdgeColumnDirty - true if anything in the column edge has changed, false if not.
bEdgePageDirty - true if anything in the page edge has changed, false if not.

DataChangedEvent

public DataChangedEvent(java.lang.Object objSource,
                        DataAccess dataAccess,
                        int nType,
                        boolean bEdgeDataDirty,
                        boolean bEdgeRowDirty,
                        boolean bEdgeColumnDirty,
                        boolean bEdgePageDirty)
Constructor that specifies the type of change.
Parameters:
objSource - The source of this event.
dataAccess - The DataAccess that provides access to the changed data.
nType - A constant that represents the type of change that has occurred.
bEdgeDataDirty - true if the data (including any types of data specified in the DataMap) has changed, false if not.
bEdgeRowDirty - true if anything in the row edge has changed, false if not.
bEdgeColumnDirty - true if anything in the column edge has changed, false if not.
bEdgePageDirty - true if anything in the page edge has changed, false if not.

DataChangedEvent

public DataChangedEvent(java.lang.Object objSource,
                        DataAccess dataAccess,
                        int nType,
                        boolean bEdgeDataDirty,
                        boolean bEdgeRowDirty,
                        boolean bEdgeColumnDirty,
                        boolean bEdgePageDirty,
                        boolean bEdgeHiddenDirty)
Constructor that specifies the type of change.
Parameters:
objSource - The source of this event.
dataAccess - The DataAccess that provides access to the changed data.
nType - A constant that represents the type of change that has occurred.
bEdgeDataDirty - true if the data (including any types of data specified in the DataMap) has changed, false if not.
bEdgeRowDirty - true if anything in the row edge has changed, false if not.
bEdgeColumnDirty - true if anything in the column edge has changed, false if not.
bEdgePageDirty - true if anything in the page edge has changed, false if not.
bEdgeHiddenDirty - true if anything in the hidden edge has changed, false if not.

Method Detail

setDataAccess

public void setDataAccess(DataAccess dataAccess)
Specifies a DataAccess for this event.
Parameters:
dataAccess - 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.

isHiddenDirty

public boolean isHiddenDirty()
Indicates whether anything in the hidden edge has changed.
Returns:
true if anything in the hidden 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.

Skip navigation links

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

E12063-03


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