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

E12063-05

oracle.adf.view.faces.bi.component.graph
Class DataFilter

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.graph.DataFilter
All Implemented Interfaces:
javax.faces.component.StateHolder

public class DataFilter
extends BIComplexAttributeBase

Since:
11.0

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey BUBBLE_LABELS_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey BUBBLE_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey HL_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey HLC_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey HLCV_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey HLV_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey OC_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey OCV_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey OHLC_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey OHLCV_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SCATTER_LABELS_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SCATTER_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey TOTAL_MEASURES_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
 
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY
 
Constructor Summary
DataFilter()
           
 
Method Summary
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 int[] getBubbleLabelsMeasures()
          Returns the array of measures to use for BUBBLE_LABELS and BUBBLE_LABELS_2Y.
 int[] getBubbleMeasures()
          Returns the array of measures to use for BUBBLE and BUBBLE_2Y.
 int[] getHlcMeasures()
          Returns the array of measures to use for STOCK_HILO_CLOSE, STOCK_HILO_CLOSE2Y and STOCK_HILO_CLOSE_SPLIT2Y.
 int[] getHlcvMeasures()
          Returns the array of measures to use for STOCK_HILO_CLOSE_VOLUME.
 int[] getHlMeasures()
          Returns the array of measures to use for STOCK_HILO, STOCK_HILO_2Y and STOCK_HILO_SPLIT2Y.
 int[] getHlvMeasures()
          Returns the array of measures to use for STOCK_HILO_VOLUME.
 int[] getMeasures(int graphType)
           
 int[] getOcMeasures()
          Returns the array of measures to use for STOCK_CANDLE.
 int[] getOcvMeasures()
          Returns the array of measures to use for STOCK_CANDLE_VOLUME.
 int[] getOhlcMeasures()
          Returns the array of measures to use for STOCK_OHLC_CANDLE, STOCK_OPEN_HILO_CLOSE, STOCK_2Y and STOCK_SPLIT_2Y.
 int[] getOhlcvMeasures()
          Returns the array of measures to use for STOCK_OHLC_CANDLE_VOLUME and STOCK_VOLUME.
 int[] getScatterLabelsMeasures()
          Returns the array of measures to use for SCATTER_LABELS and SCATTER_LABELS_2Y.
 int[] getScatterMeasures()
          Returns the array of measures to use for SCATTER, SCATTER_2Y, POLAR and POLAR_2Y.
 int getTotalMeasures()
          Returns the total number of measures in the DataSource.
 void refresh()
          The application can call this method to refresh the arrays of measure indexes that are previously set.
 void setBubbleLabelsMeasures(int[] array)
          Specifies the array of measures to use for BUBBLE_LABELS and BUBBLE_LABELS_2Y.
 void setBubbleMeasures(int[] array)
          Specifies the array of measures to use for BUBBLE and BUBBLE_2Y.
 void setHlcMeasures(int[] array)
          Specifies the array of measures to use for STOCK_HILO_CLOSE, STOCK_HILO_CLOSE2Y and STOCK_HILO_CLOSE_SPLIT2Y.
 void setHlcvMeasures(int[] array)
          Specifies the array of measures to use for STOCK_HILO_CLOSE_VOLUME.
 void setHlMeasures(int[] array)
          Specifies the array of measures to use for STOCK_HILO, STOCK_HILO_2Y and STOCK_HILO_SPLIT2Y.
 void setHlvMeasures(int[] array)
          Specifies the array of measures to use for STOCK_HILO_VOLUME.
 void setMeasures(int graphType, int[] array)
           
 void setOcMeasures(int[] array)
          Specifies the array of measures to use for STOCK_CANDLE.
 void setOcvMeasures(int[] array)
          Specifies the array of measures to use for STOCK_CANDLE_VOLUME.
 void setOhlcMeasures(int[] array)
          Specifies the array of measures to use for STOCK_OHLC_CANDLE, STOCK_OPEN_HILO_CLOSE, STOCK_2Y and STOCK_SPLIT_2Y.
 void setOhlcvMeasures(int[] array)
          Specifies the array of measures to use for STOCK_OHLC_CANDLE_VOLUME and STOCK_VOLUME.
 void setScatterLabelsMeasures(int[] array)
          Specifies the array of measures to use for SCATTER_LABELS and SCATTER_LABELS_2Y.
 void setScatterMeasures(int[] array)
          Specifies the array of measures to use for SCATTER, SCATTER_2Y, POLAR and POLAR_2Y.
 void setTotalMeasures(int value)
          Specifies the total number of measures in the DataSource.
 
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

TOTAL_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey TOTAL_MEASURES_KEY

SCATTER_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SCATTER_MEASURES_KEY

SCATTER_LABELS_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SCATTER_LABELS_MEASURES_KEY

BUBBLE_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey BUBBLE_MEASURES_KEY

BUBBLE_LABELS_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey BUBBLE_LABELS_MEASURES_KEY

OHLCV_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey OHLCV_MEASURES_KEY

OHLC_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey OHLC_MEASURES_KEY

HLV_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey HLV_MEASURES_KEY

OCV_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey OCV_MEASURES_KEY

OC_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey OC_MEASURES_KEY

HL_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey HL_MEASURES_KEY

HLC_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey HLC_MEASURES_KEY

HLCV_MEASURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey HLCV_MEASURES_KEY
Constructor Detail

DataFilter

public DataFilter()
Method Detail

getTotalMeasures

public int getTotalMeasures()
Returns the total number of measures in the DataSource.

Returns:
the total number of measures.

setTotalMeasures

public void setTotalMeasures(int value)
Specifies the total number of measures in the DataSource.

Parameters:
the - total number of measures.

setScatterMeasures

public void setScatterMeasures(int[] array)
Specifies the array of measures to use for SCATTER, SCATTER_2Y, POLAR and POLAR_2Y. For example the datasource has 5 measures and only two measures 4 and 2 should be used then the array should have 4,2. The array elements are 0 based.

Parameters:
scatter - measures array

getScatterMeasures

public int[] getScatterMeasures()
Returns the array of measures to use for SCATTER, SCATTER_2Y, POLAR and POLAR_2Y.

Returns:
scatter measures array

setScatterLabelsMeasures

public void setScatterLabelsMeasures(int[] array)
Specifies the array of measures to use for SCATTER_LABELS and SCATTER_LABELS_2Y. For example the datasource has 5 measures and only measures 4 ,1and 2 should be used then the array should have 4,1,2. The array elements are 0 based.

Parameters:
scatter - labels measures array

getScatterLabelsMeasures

public int[] getScatterLabelsMeasures()
Returns the array of measures to use for SCATTER_LABELS and SCATTER_LABELS_2Y.

Returns:
scatter labels measures array

setBubbleMeasures

public void setBubbleMeasures(int[] array)
Specifies the array of measures to use for BUBBLE and BUBBLE_2Y. For example the datasource has 5 measures and only measures 4,3 and 2 should be used then the array should have 4,3,2. The array elements are 0 based.

Parameters:
bubble - measures array

getBubbleMeasures

public int[] getBubbleMeasures()
Returns the array of measures to use for BUBBLE and BUBBLE_2Y.

Returns:
bubble measures array

setBubbleLabelsMeasures

public void setBubbleLabelsMeasures(int[] array)
Specifies the array of measures to use for BUBBLE_LABELS and BUBBLE_LABELS_2Y. For example the datasource has 5 measures and only measures 4,0,3 and 2 should be used then the array should have 4,0,3,2. The array elements are 0 based.

Parameters:
bubble - labels measures array

getBubbleLabelsMeasures

public int[] getBubbleLabelsMeasures()
Returns the array of measures to use for BUBBLE_LABELS and BUBBLE_LABELS_2Y.

Returns:
bubble labels measures array

setOhlcvMeasures

public void setOhlcvMeasures(int[] array)
Specifies the array of measures to use for STOCK_OHLC_CANDLE_VOLUME and STOCK_VOLUME. For example the datasource has 5 measures and measures 4,0,3,1 and 2 should be used in that order then the array should have 4,0,3,1,2. The array elements are 0 based.

Parameters:
Ohlcv - measures array

getOhlcvMeasures

public int[] getOhlcvMeasures()
Returns the array of measures to use for STOCK_OHLC_CANDLE_VOLUME and STOCK_VOLUME.

Returns:
Ohlcv measures array

setOhlcMeasures

public void setOhlcMeasures(int[] array)
Specifies the array of measures to use for STOCK_OHLC_CANDLE, STOCK_OPEN_HILO_CLOSE, STOCK_2Y and STOCK_SPLIT_2Y. For example the datasource has 5 measures and measures 4,0,3, and 2 should be used in that order, then the array should have 4,0,3,2. The array elements are 0 based.

Parameters:
Ohlc - measures array

getOhlcMeasures

public int[] getOhlcMeasures()
Returns the array of measures to use for STOCK_OHLC_CANDLE, STOCK_OPEN_HILO_CLOSE, STOCK_2Y and STOCK_SPLIT_2Y.

Returns:
Ohlc measures array

setHlvMeasures

public void setHlvMeasures(int[] array)
Specifies the array of measures to use for STOCK_HILO_VOLUME. For example the datasource has 5 measures and measures 4,0 and 2 should be used in that order, then the array should have 4,0,2. The array elements are 0 based.

Parameters:
Hlv - measures array

getHlvMeasures

public int[] getHlvMeasures()
Returns the array of measures to use for STOCK_HILO_VOLUME.

Returns:
Hlv measures array

setOcvMeasures

public void setOcvMeasures(int[] array)
Specifies the array of measures to use for STOCK_CANDLE_VOLUME. For example the datasource has 5 measures and measures 4,0 and 2 should be used in that order, then the array should have 4,0,2. The array elements are 0 based.

Parameters:
Ocv - measures array

getOcvMeasures

public int[] getOcvMeasures()
Returns the array of measures to use for STOCK_CANDLE_VOLUME.

Returns:
Ocv measures array

setOcMeasures

public void setOcMeasures(int[] array)
Specifies the array of measures to use for STOCK_CANDLE. For example the datasource has 5 measures and measures 4 and 2 should be used in that order, then the array should have 4,2. The array elements are 0 based.

Parameters:
Oc - measures array

getOcMeasures

public int[] getOcMeasures()
Returns the array of measures to use for STOCK_CANDLE.

Returns:
Oc measures array

setHlMeasures

public void setHlMeasures(int[] array)
Specifies the array of measures to use for STOCK_HILO, STOCK_HILO_2Y and STOCK_HILO_SPLIT2Y. For example the datasource has 5 measures and measures 4 and 2 should be used in that order, then the array should have 4,2. The array elements are 0 based.

Parameters:
Hl - measures array

getHlMeasures

public int[] getHlMeasures()
Returns the array of measures to use for STOCK_HILO, STOCK_HILO_2Y and STOCK_HILO_SPLIT2Y.

Returns:
Hl measures array

setHlcMeasures

public void setHlcMeasures(int[] array)
Specifies the array of measures to use for STOCK_HILO_CLOSE, STOCK_HILO_CLOSE2Y and STOCK_HILO_CLOSE_SPLIT2Y. For example the datasource has 5 measures and measures 4,1 and 2 should be used in that order, then the array should have 4,1,2. The array elements are 0 based.

Parameters:
Hlc - measures array

getHlcMeasures

public int[] getHlcMeasures()
Returns the array of measures to use for STOCK_HILO_CLOSE, STOCK_HILO_CLOSE2Y and STOCK_HILO_CLOSE_SPLIT2Y.

Returns:
Hlc measures array

setHlcvMeasures

public void setHlcvMeasures(int[] array)
Specifies the array of measures to use for STOCK_HILO_CLOSE_VOLUME. For example the datasource has 5 measures and measures 4,1,3 and 2 should be used in that order, then the array should have 4,1,3,2. The array elements are 0 based.

Parameters:
Hlcv - measures array

getHlcvMeasures

public int[] getHlcvMeasures()
Returns the array of measures to use for STOCK_HILO_CLOSE_VOLUME.

Returns:
Hlcv measures array

refresh

public void refresh()
The application can call this method to refresh the arrays of measure indexes that are previously set. The application can call this when DataSource is changed or when the DataRowShownAsASeries property is changed on Graph and different set arrays of measure indexes need to be used.


setMeasures

public void setMeasures(int graphType,
                        int[] array)

getMeasures

public int[] getMeasures(int graphType)

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Specified by:
getBeanType in class BIComplexAttributeBase

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

E12063-05

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