Business Components

oracle.jbo.uicli.jui
Class GraphDataFromCol

java.lang.Object
  |
  +--oracle.jbo.uicli.binding.JUControlBinding
        |
        +--oracle.jbo.uicli.binding.JUCtrlValueBinding
              |
              +--oracle.jbo.uicli.binding.JUCtrlRangeBinding
                    |
                    +--oracle.jbo.uicli.jui.GraphDataFromCol
All Implemented Interfaces:
AttributeList

public class GraphDataFromCol
extends JUCtrlRangeBinding


Field Summary
TypeField
protected  int mNumberOfColumnValuesPerMarker
           
protected  java.lang.String mSeriesLabel
           
 
Constructor Summary
GraphDataFromCol(oracle.dss.graph.Graph control, JUIteratorBinding iterBinding, java.lang.String[] dataValueAttrNames, int numberOfColumnValuesPerMarker, java.lang.String seriesLabel)
           
 
Method Summary
TypeMethod
 void addControlToPanel(java.lang.Object panel, java.lang.Object layoutObject, java.lang.Object layoutCons)
          *** For internal framework use only ***
protected  int getColumnCount()
           
protected  java.lang.String getColumnLabel(int i)
           
protected  java.lang.Object getColumnValue(int col)
           
protected  java.lang.String getSeriesLabel()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
          Returns the value as stored in the control at a given row and column index.
protected  int rowIndexToRangeIndex(int rowIndex)
           
 void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
          Sets the given value from a BC4J row into the control at the given row/column.
 
Methods inherited from class oracle.jbo.uicli.binding.JUCtrlRangeBinding
getEstimatedRowCount, updateNavigated, updateRangeScrolled, updateValuesFromRow, updateValuesFromRows
 
Methods inherited from class oracle.jbo.uicli.binding.JUCtrlValueBinding
findAttributeDef, getAttribute, getAttribute, getAttributeCount, getAttributeDef, getAttributeDefs, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeIndexOf, getAttributeNames, isAttributeUpdateable, setAttribute, setAttribute, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, stopEditing, updateRowDeleted, updateRowInserted
 
Methods inherited from class oracle.jbo.uicli.binding.JUControlBinding
executeQuery, executeQueryIfNeeded, getAllRowsInRange, getApplicationModule, getControl, getCurrentRow, getDef, getFormBinding, getIteratorBinding, getLayoutObject, getName, getRowAtRangeIndex, getRowIterator, getTransaction, getViewObject, isControlQueriable, reportException, setFormBinding, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mNumberOfColumnValuesPerMarker

protected int mNumberOfColumnValuesPerMarker

mSeriesLabel

protected java.lang.String mSeriesLabel
Constructor Detail

GraphDataFromCol

public GraphDataFromCol(oracle.dss.graph.Graph control,
                        JUIteratorBinding iterBinding,
                        java.lang.String[] dataValueAttrNames,
                        int numberOfColumnValuesPerMarker,
                        java.lang.String seriesLabel)
Method Detail

getSeriesLabel

protected java.lang.String getSeriesLabel()

getColumnLabel

protected java.lang.String getColumnLabel(int i)

getColumnCount

protected int getColumnCount()

getColumnValue

protected java.lang.Object getColumnValue(int col)

rowIndexToRangeIndex

protected int rowIndexToRangeIndex(int rowIndex)

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)
Description copied from class: JUCtrlRangeBinding
Returns the value as stored in the control at a given row and column index. This value is used by the binding to update attribute values in BC4J rows.
Overrides:
getValueAt in class JUCtrlRangeBinding

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int rowIndex,
                       int columnIndex)
Description copied from class: JUCtrlRangeBinding
Sets the given value from a BC4J row into the control at the given row/column. This method is used by the framework to pass attribute values from Row objects into a control with which this binding works.
Overrides:
setValueAt in class JUCtrlRangeBinding

addControlToPanel

public void addControlToPanel(java.lang.Object panel,
                              java.lang.Object layoutObject,
                              java.lang.Object layoutCons)
Description copied from class: JUControlBinding
*** For internal framework use only ***
Overrides:
addControlToPanel in class JUControlBinding

Business Components