public interface IDrillDown
Modifier and Type | Field and Description |
---|---|
static int |
AVG |
static int |
COUNT |
static int |
COUNTDISTINCT |
static int |
FIRST |
static int |
LAST |
static int |
MAX |
static int |
MAX_OPS |
static int |
MIN |
static int |
STDDEV |
static int |
SUM |
static int |
SUMSQUARE |
static int |
VARIANCE |
Modifier and Type | Method and Description |
---|---|
void |
addDrillDown(int cType,
int categoryIndex,
int seriesIndex,
int sumbyIndex,
boolean isDrill2D)
Adds a new drill-down definition to the end of the drill down list.
|
int |
countDrillDownLevel()
Counts number of drill down levels If non drill-down chart return -1
|
int |
getAggregateOperator()
Returns the primary aggregate operator used for drill-down.
|
java.lang.String |
getDrillName()
Returns the base drill-name
|
void |
insertDrillDownAt(int number,
int cType,
int categoryIndex,
int seriesIndex,
int sumbyIndex,
boolean isDrill2D)
Inserts a new drill-down definition to the chart
|
boolean |
isDynamicDrillDown()
This function is used to check if the dynamic drill down function is enabled or not
|
boolean |
isPreSetDrillDown()
This function is used to check if the pre-set drill down function is enabled or not
|
void |
removeDrillDown(int number)
Removes a drill-down from the chart.
|
void |
resetDrillDown()
Resets the chart and remove all the drill down levels
|
void |
setAggregateOperator(int aggOp)
Sets the primary aggregate operator to use when displaying summary charts.
|
void |
setDrillName(java.lang.String drillBaseName)
Sets the base name for defining drill-down charts.
|
void |
setDynamicDrillDown(boolean b)
Enables dynamic drill down function for chart viewer
|
void |
setSecondaryAggregateOperator(int aggOp)
Sets the secondary AggregateOperator to use when displaying summary charts.
|
static final int MIN
static final int MAX
static final int AVG
static final int SUM
static final int COUNT
static final int FIRST
static final int LAST
static final int SUMSQUARE
static final int VARIANCE
static final int STDDEV
static final int COUNTDISTINCT
static final int MAX_OPS
void setDrillName(java.lang.String drillBaseName)
drillBaseName
- The base drill name to use.java.lang.String getDrillName()
void resetDrillDown() throws java.io.IOException, java.sql.SQLException, java.lang.ClassNotFoundException
java.io.IOException
java.sql.SQLException
java.lang.ClassNotFoundException
int countDrillDownLevel()
boolean isPreSetDrillDown()
void setDynamicDrillDown(boolean b) throws java.io.IOException, java.sql.SQLException, java.lang.ClassNotFoundException
b
- True if dynamic drill down function needs to be enabled, False otherwisejava.io.IOException
java.sql.SQLException
java.lang.ClassNotFoundException
boolean isDynamicDrillDown()
void setAggregateOperator(int aggOp)
aggOp
- The input primary aggregate operator, one of:
IDrillDown.SUM IDrillDown.AVG IDrillDown.MIN IDrillDown.MAX IDrillDown.COUNT
int getAggregateOperator()
void setSecondaryAggregateOperator(int aggOp)
aggOp
- The input secondary aggregate operator.setAggregateOperator(int)
void addDrillDown(int cType, int categoryIndex, int seriesIndex, int sumbyIndex, boolean isDrill2D) throws java.io.IOException, java.sql.SQLException, java.lang.ClassNotFoundException
cType
- The chartType to use for the new drill-down.seriesIndex
- The series index for the new drill-down chart. This can be set to -1 if no series
is desired.sumbyIndex
- The sumBy column index for the drill-down chart. This can be set to -1 if no sumBy
column is desired.categoryIndex
- The category index for the drill-down chart. This should be >= 0isDrill2D
- The dimension for the drill-down chart. This can be set to true if drill-down
chart is 2D else it can be set to false if drill-down chart is 3Djava.io.IOException
java.sql.SQLException
java.lang.ClassNotFoundException
void insertDrillDownAt(int number, int cType, int categoryIndex, int seriesIndex, int sumbyIndex, boolean isDrill2D) throws java.io.IOException, java.sql.SQLException, java.lang.ClassNotFoundException
number
- Insert a new chart after that drill-down level numberjava.io.IOException
java.sql.SQLException
java.lang.ClassNotFoundException
void removeDrillDown(int number) throws java.io.IOException, java.sql.SQLException, java.lang.ClassNotFoundException
number
- The drill-down number to remove (in the order entered).java.io.IOException
java.sql.SQLException
java.lang.ClassNotFoundException