oracle.jbo.uicli.jui
Class JUMasterDetailGraphBinding
java.lang.Object
|
+--oracle.jbo.uicli.binding.JUControlBinding
|
+--oracle.jbo.uicli.binding.JUCtrlValueBinding
|
+--oracle.jbo.uicli.binding.JUCtrlRangeBinding
|
+--oracle.jbo.uicli.jui.JUGraphBinding
|
+--oracle.jbo.uicli.jui.JUMasterDetailGraphBinding
- All Implemented Interfaces:
- AttributeList, oracle.dss.util.DataSource, GraphConstants
- public class JUMasterDetailGraphBinding
- extends JUGraphBinding
- implements oracle.dss.util.DataSource
Data source for the BI Graph bean. This binding should be used for
Graphs which require mutliple values per marker. High-Low-Close stock
chart is one example, which needs three values per marker.
The detail table contains series data for the Graph. Each row represents one
marker. The number of columns in the detail should match the number of
values required for a marker. The detail table represents one 'series'
of data in the Graph.
- See Also:
JUSingleTableGraphBinding
Fields inherited from interface oracle.jbo.uicli.jui.GraphConstants |
BUBBLE_CHART, BUBBLE_CHART_DUAL_AXIS, BUBBLE_CHART_LABELS,
BUBBLE_CHART_LABELS_DUAL_AXIS, CANDLE_STOCK_HI_LO_OPEN_CLOSE, CANDLE_STOCK_HI_LO_OPEN_CLOSE_VOLUME, HORIZONTAL_ABSOLUTE_AREA,
HORIZONTAL_ABSOLUTE_LINE, HORIZONTAL_BI_POLAR_ABSOLUTE_AREA, HORIZONTAL_BI_POLAR_ABSOLUTE_LINE, HORIZONTAL_BI_POLAR_CLUSTERED_BARS,
HORIZONTAL_BI_POLAR_STACKED_AREA, HORIZONTAL_BI_POLAR_STACKED_BARS,
HORIZONTAL_BI_POLAR_STACKED_LINE, HORIZONTAL_CLUSTERED_BARS, HORIZONTAL_DUAL_AXIS_ABSOLUTE_LINE, HORIZONTAL_DUAL_AXIS_CLUSTERED_BARS,
HORIZONTAL_DUAL_AXIS_STACKED_BARS, HORIZONTAL_DUAL_AXIS_STACKED_LINE,
HORIZONTAL_HISTOGRAM, HORIZONTAL_PERCENT_AREA, HORIZONTAL_PERCENT_BARS,
HORIZONTAL_PERCENT_LINE, HORIZONTAL_STACKED_AREA, HORIZONTAL_STACKED_BARS,
HORIZONTAL_STACKED_LINE, MULTI_PIE, MULTI_PROPORTIONAL_PIE,
MULTI_PROPORTIONAL_RING_PIE, MULTI_RING_PIE, OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART,
OPEN_HI_LO_CLOSE_CANDLE_STOCK_CHART_VOLUME, PIE, PIE_BAR_CHART,
POLAR, POLAR_DUAL_AXIS, RADAR_AREA,
RADAR_LINE, RADAR_LINE_DUAL_AXIS, RING_PIE,
RING_PIE_BAR_CHART, SPECTRAL_MAP, STOCK_HI_LO,
STOCK_HI_LO_BI_POLAR, STOCK_HI_LO_CLOSE, STOCK_HI_LO_CLOSE_DUAL_AXIS,
STOCK_HI_LO_DUAL_AXIS, STOCK_HI_LO_OPEN_CLOSE, STOCK_HI_LO_OPEN_CLOSE_BI_POLAR,
STOCK_HI_LO_OPEN_CLOSE_DUAL_AXIS, STOCK_HI_LO_OPEN_CLOSE_VOLUME,
STOCK_HI_LO_VOLUME, THREED_BARS, THREED_FLOATING_CONNECTED_GROUP_AREA,
THREED_FLOATING_CONNECTED_GROUP_RIBBON, THREED_FLOATING_CONNECTED_SERIES_AREA,
THREED_FLOATING_CONNECTED_SERIES_RIBBON, THREED_FLOATING_CUBES,
THREED_FLOATING_PYRAMIDS, THREED_HONEYCOMB_SURFACE, THREED_OCTAGONS,
THREED_PYRAMIDS, THREED_SURFACE, THREED_SURFACE_WITH_SIDES,
VERTICAL_ABSOLUTE_AREA, VERTICAL_ABSOLUTE_LINE, VERTICAL_BI_POLAR_ABSOLUTE_AREA,
VERTICAL_BI_POLAR_ABSOLUTE_LINE, VERTICAL_BI_POLAR_CLUSTERED_BARS,
VERTICAL_BI_POLAR_STACKED_AREA, VERTICAL_BI_POLAR_STACKED_BARS,
VERTICAL_BI_POLAR_STACKED_LINE, VERTICAL_CLUSTERED_BARS, VERTICAL_DUAL_AXIS_ABSOLUTE_LINE,
VERTICAL_DUAL_AXIS_CLUSTERED_BARS, VERTICAL_DUAL_AXIS_STACKED_BARS,
VERTICAL_DUAL_AXIS_STACKED_LINE, VERTICAL_HISTOGRAM, VERTICAL_PERCENT_AREA,
VERTICAL_PERCENT_BARS, VERTICAL_PERCENT_LINE, VERTICAL_STACKED_AREA,
VERTICAL_STACKED_BARS, VERTICAL_STACKED_LINE, XY_SCATTER,
XY_SCATTER_DUAL_AXIS, XY_SCATTER_WITH_LABELS, XY_SCATTER_WITH_LABELS_DUAL_AXIS |
JUMasterDetailGraphBinding(oracle.dss.graph.Graph control,
JUIteratorBinding seriesBinding,
java.lang.String seriesLabelAttributeName,
java.lang.String childAccessorName,
java.lang.String[] dataValueAttrNames,
int numberOfColumnValuesPerMarker)
|
Type | Method |
void |
addControlToPanel(java.lang.Object panel,
java.lang.Object layoutObject,
java.lang.Object layoutCons)
*** For internal framework use only *** |
oracle.dss.util.CubeDataDirector |
createCubeDataDirector()
|
protected GraphDataFromCol |
createGraphDataFromCol(oracle.dss.graph.Graph control,
JUIteratorBinding iterBinding,
java.lang.String[] dataValueAttrNames,
int numberOfColumnValuesPerMarker,
java.lang.String seriesLabel)
|
oracle.dss.util.RelationalDataDirector |
createRelationalDataDirector()
|
protected int |
getColumnCount()
|
protected java.lang.String |
getColumnLabel(int i)
|
static JUMasterDetailGraphBinding |
getInstance(JUFormBinding formBinding,
oracle.dss.graph.Graph control,
int graphType,
java.lang.String voInstanceName,
java.lang.String voIterName,
java.lang.String voIterBindingName,
java.lang.String seriesLabelAttributeName,
java.lang.String childAccessorAttributeName,
java.lang.String[] dataValueAttrNames,
java.lang.String groupLabelAttrName)
|
static JUMasterDetailGraphBinding |
getInstance(JUFormBinding formBinding,
oracle.dss.graph.Graph control,
java.lang.String voInstanceName,
java.lang.String voIterName,
java.lang.String voIterBindingName,
java.lang.String seriesLabelAttributeName,
java.lang.String childAccessorAttributeName,
java.lang.String[] dataValueAttrNames,
java.lang.String groupLabelAttrName,
int numberOfColumnValuesPerMarker)
|
protected long |
getRowCount()
|
protected java.lang.String |
getRowLabel(int i)
|
protected GraphDataFromCol |
getSeries(int whichSeries)
|
protected java.lang.Object |
getValue(int row,
int col)
|
protected void |
notifyView()
derived class should override this method and notify the view |
void |
updateRowDeleted(DeleteEvent event)
Notification that a row was deleted in the associated iterator. |
void |
updateRowInserted(InsertEvent event)
Notification that a new row was inserted in the associated iterator. |
void |
updateValuesFromRows(Row[] rows,
boolean clear)
This method is invoked in the framework to update values displayed in the associated
control. |
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 |
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 |
mAdapter
protected oracle.jbo.uicli.jui.BIBeanDataAccessAdapter mAdapter
mChildAccessorName
protected java.lang.String mChildAccessorName
mDataValueAttrNames
protected java.lang.String[] mDataValueAttrNames
mNumberOfColumnValuesPerMarker
protected int mNumberOfColumnValuesPerMarker
mSeriesLabelAttributeName
protected java.lang.String mSeriesLabelAttributeName
mChildSeries
protected java.util.ArrayList mChildSeries
JUMasterDetailGraphBinding
public JUMasterDetailGraphBinding(oracle.dss.graph.Graph control,
JUIteratorBinding seriesBinding,
java.lang.String seriesLabelAttributeName,
java.lang.String childAccessorName,
java.lang.String[] dataValueAttrNames,
int numberOfColumnValuesPerMarker)
getInstance
public static JUMasterDetailGraphBinding getInstance(JUFormBinding formBinding,
oracle.dss.graph.Graph control,
int graphType,
java.lang.String voInstanceName,
java.lang.String voIterName,
java.lang.String voIterBindingName,
java.lang.String seriesLabelAttributeName,
java.lang.String childAccessorAttributeName,
java.lang.String[] dataValueAttrNames,
java.lang.String groupLabelAttrName)
getInstance
public static JUMasterDetailGraphBinding getInstance(JUFormBinding formBinding,
oracle.dss.graph.Graph control,
java.lang.String voInstanceName,
java.lang.String voIterName,
java.lang.String voIterBindingName,
java.lang.String seriesLabelAttributeName,
java.lang.String childAccessorAttributeName,
java.lang.String[] dataValueAttrNames,
java.lang.String groupLabelAttrName,
int numberOfColumnValuesPerMarker)
getSeries
protected GraphDataFromCol getSeries(int whichSeries)
getColumnLabel
protected java.lang.String getColumnLabel(int i)
- Overrides:
getColumnLabel
in class JUGraphBinding
getColumnCount
protected int getColumnCount()
- Overrides:
getColumnCount
in class JUGraphBinding
getRowLabel
protected java.lang.String getRowLabel(int i)
- Overrides:
getRowLabel
in class JUGraphBinding
getRowCount
protected long getRowCount()
- Overrides:
getRowCount
in class JUGraphBinding
getValue
protected java.lang.Object getValue(int row,
int col)
- Overrides:
getValue
in class JUGraphBinding
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 JUGraphBinding
updateRowInserted
public void updateRowInserted(InsertEvent event)
- Description copied from class:
JUCtrlValueBinding
- Notification that a new row was inserted in the associated iterator.
Control-bindings like JTable refresh their display to show the new row on this event.
- Overrides:
updateRowInserted
in class JUGraphBinding
updateRowDeleted
public void updateRowDeleted(DeleteEvent event)
- Description copied from class:
JUCtrlValueBinding
- Notification that a row was deleted in the associated iterator.
Moves the currency on the associated row iterator to the next row (or previous row
if there is no next row) when the currency on the iterator was on the deleted row.
- Overrides:
updateRowDeleted
in class JUGraphBinding
updateValuesFromRows
public void updateValuesFromRows(Row[] rows,
boolean clear)
- Description copied from class:
JUCtrlRangeBinding
- This method is invoked in the framework to update values displayed in the associated
control. This implementation updates all values given in the array of rows irrespective
of the clear flag (which indicates whether to clear out the existing displayed values or not).
- Overrides:
updateValuesFromRows
in class JUGraphBinding
createGraphDataFromCol
protected GraphDataFromCol createGraphDataFromCol(oracle.dss.graph.Graph control,
JUIteratorBinding iterBinding,
java.lang.String[] dataValueAttrNames,
int numberOfColumnValuesPerMarker,
java.lang.String seriesLabel)
notifyView
protected void notifyView()
- Description copied from class:
JUGraphBinding
- derived class should override this method and notify the view
- Overrides:
notifyView
in class JUGraphBinding
createRelationalDataDirector
public oracle.dss.util.RelationalDataDirector createRelationalDataDirector()
- Specified by:
createRelationalDataDirector
in interface oracle.dss.util.DataSource
createCubeDataDirector
public oracle.dss.util.CubeDataDirector createCubeDataDirector()
- Specified by:
createCubeDataDirector
in interface oracle.dss.util.DataSource