com.ge.grc.acuity.actions.mapping
Class HorizontalCandleBarBoxMap
java.lang.Object
com.ge.grc.acuity.actions.mapping.RowAsYMap
com.ge.grc.acuity.actions.mapping.HorizontalCandleBarBoxMap
- All Implemented Interfaces:
- ResultSetMappingFunction
- public class HorizontalCandleBarBoxMap
- extends RowAsYMap
Generic dataseries mapping function that creates a candle dataseries
using the row order of the argument ResultSet +-
a width value as the yMin, yMax values for the dataseries.
The width of the candle is specified from the parameters
Map value for the key=candleWidth, if it exists.
Otherwise the defaultCandleWidth is used.
To obtain xMin information for the dataseries, the parameters
Map must contain a value for the key=xMinColumn.
To obtain xMax information for the dataseries, the parameters
Map must contain a value for the key=xMaxColumn.
To obtain yMinLabel information for the dataseries, the parameters
Map must contain a value for the key=yMinColumn.
- Version:
- $Revision: 1.2 $ $Date: 2006/09/08 22:40:24 $
- Author:
- garbiras
|
Field Summary |
double |
defaultCandleWidth
The default width of the candle to be used if no custom width is specified |
|
Method Summary |
java.util.List[] |
process(java.sql.ResultSet rs,
java.util.Map parameters)
Processes a ResultSet according to the parameters specified in the argument Map |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultCandleWidth
public double defaultCandleWidth
- The default width of the candle to be used if no custom width is specified
HorizontalCandleBarBoxMap
public HorizontalCandleBarBoxMap()
process
public java.util.List[] process(java.sql.ResultSet rs,
java.util.Map parameters)
- Description copied from interface:
ResultSetMappingFunction
- Processes a
ResultSet according to the parameters specified in the argument Map
- Specified by:
process in interface ResultSetMappingFunction- Overrides:
process in class RowAsYMap