Class DrillDownChart

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
quadbase.ChartAPI.swing.QbChartPanel
quadbase.ChartAPI.swing.QbChartBasic
quadbase.ChartAPI.swing.QbChart
quadbase.ChartAPI.swing.DrillDownChart
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Externalizable, Serializable, EventListener, Accessible, IExportConstants, IMiscConstants, quadbase.chartviewer.swing.IChartHolder, quadbase.common.util.internal.IChart, IChartTypeConstants, IMapConstants

public class DrillDownChart extends QbChart
This class extends QbChart. It represents a drill-down chart which is identical to a QbChart except a few disabled methods.

This class cannot be instantiated directly. A reference to this class can only be obtained through the QbChart methods 'createDrillDownChart(...)' and 'getDrillDownChartAt(...)'

A drill-down chart cannot be exported to an CHT file by itself. An CHT file of the drill-down is automatically generate when the root chart is exported.

See Also:
  • Constructor Details

    • DrillDownChart

      protected DrillDownChart()
      For internal use only. Create an empty DrillDownChart object
    • DrillDownChart

      protected DrillDownChart(quadbase.chart.Chart r)
      For internal use only. Create a DrillDownChart object with the given chart
  • Method Details

    • export

      public void export(int format, String filename) throws IOException
      Description copied from class: QbChart
      Export the chart with dimensions equal to that of the current chart.
      Overrides:
      export in class QbChart
      Parameters:
      format - Available format are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension Use the same filename for the map file (*.map)
      Throws:
      IOException
    • export

      public void export(int format, String filename, int w, int h) throws IOException
      Description copied from class: QbChart
      Export the chart
      Overrides:
      export in class QbChart
      Parameters:
      format - Available format are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height. The w and h arguments are not used in case of CHT and TPL format. Use the same filename for the map file (*.map)
      Throws:
      IOException
    • export

      public void export(int format, String filename, String subFilename) throws IOException
      Description copied from class: QbChart
      Export the chart with dimensions equal to that of the current chart.
      Overrides:
      export in class QbChart
      Parameters:
      format - Available format are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      subFilename - map file name, without extension, useful if hyperlink exists / xml file name, without extension, use for CHT or TPL format
      Throws:
      IOException
    • export

      public void export(int format, String filename, String subFilename, int w, int h) throws IOException
      Description copied from class: QbChart
      Export the chart
      Overrides:
      export in class QbChart
      Parameters:
      format - Available format are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      WMF - Window metafiles
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      subFilename - map file name, without extension, useful if hyperlink exists / xml file name, without extension, use for CHT or TPL format
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height. The w and h arguments are not used in case of CHT and TPL format.
      Throws:
      IOException
    • export

      public void export(int format, String filename, String subFilename, int w, int h, boolean generateSubFile) throws IOException
      Description copied from class: QbChart
      Export the chart
      Overrides:
      export in class QbChart
      Parameters:
      format - Available format are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      subFilename - map file name, without extension, useful if hyperlink exists / xml file name, without extension, use for CHT or TPL format
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      generateSubFile - show data point information in map file / xml chart property file for CHT or TPL format The w and h arguments are not used in case of CHT and TPL format.
      Throws:
      IOException
    • export

      public void export(int format, String filename, int w, int h, int option) throws IOException
      Description copied from class: QbChart
      Export the chart
      Overrides:
      export in class QbChart
      Parameters:
      format - Available format are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      option - JPEG file quality (0 - 100) / PNG file compression Available PNG Compression format are :
      PNG_COMPRESSION_DEFAULT PNG_COMPRESSION_MAX PNG_COMPRESSION_NONE The w and h arguments are not used in case of CHT and TPL format.
      Throws:
      IOException
    • export

      public void export(int format, String filename, String subFilename, int w, int h, boolean generateSubFile, int option) throws IOException
      Description copied from class: QbChart
      Export the chart
      Overrides:
      export in class QbChart
      Parameters:
      format - Available format are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      subFilename - map file name, without extension, useful if hyperlink exists / xml file name, without extension, use for CHT or TPL format
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      generateSubFile - show data point information in map file / xml chart property file for CHT or TPL format
      option - JPEG file quality (0 - 100) / PNG file compression Available PNG Compression format are :
      PNG_COMPRESSION_DEFAULT PNG_COMPRESSION_MAX PNG_COMPRESSION_NONE The w and h arguments are not used in case of CHT and TPL format.
      Throws:
      IOException
    • export

      public void export(int format, String filename, String drillDownChartName, String servletLoc) throws Exception
      Description copied from class: QbChart
      Export the chart with drill down map (top level only)
      Overrides:
      export in class QbChart
      Parameters:
      format - Available formats are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      drillDownChartName - drill-down Chart file absolute location
      servletLoc - servlet location ("http://machineName:port#/...servlet");
      Throws:
      Exception
    • export

      public void export(int format, String filename, String drillDownChartName, int w, int h, String servletLoc) throws Exception
      Description copied from class: QbChart
      Export the chart with drill down map (top level only)
      Overrides:
      export in class QbChart
      Parameters:
      format - Available formats are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      drillDownChartName - drill-down Chart file absolute location
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      servletLoc - servlet location ("http://machineName:port#/...servlet");
      Throws:
      Exception
    • export

      public void export(int format, String filename, String drillDownChartName, int w, int h, String servletLoc, String[] argv) throws Exception
      Description copied from class: QbChart
      Export the chart with drill down map (top level only)
      Overrides:
      export in class QbChart
      Parameters:
      format - Available formats are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      drillDownChartName - drill-down Chart file absolute location
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      servletLoc - servlet location ("http://machineName:port#/...servlet");
      argv - optional parameter
      Throws:
      Exception
    • export

      public void export(int format, String filename, String drillDownChartName, String servletLoc, PickData[] pickData) throws Exception
      Description copied from class: QbChart
      Export the chart with drill down map
      Overrides:
      export in class QbChart
      Parameters:
      format - Available formats are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      drillDownChartName - drill-down Chart file absolute location
      servletLoc - servlet location ("http://machineName:port#/...servlet");
      pickData - array of pickData from 1st drill-down level to current level
      Throws:
      Exception
    • export

      public void export(int format, String filename, String drillDownChartName, int w, int h, String servletLoc, PickData[] pickData) throws Exception
      Description copied from class: QbChart
      Export the chart with drill down map
      Overrides:
      export in class QbChart
      Parameters:
      format - Available formats are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      drillDownChartName - drill-down Chart file absolute location
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      servletLoc - servlet location ("http://machineName:port#/...servlet");
      pickData - array of PickData from 1st drill-down level to current level The w and h arguments are not used in case of CHT and TPL format.
      Throws:
      Exception
    • export

      public void export(int format, String filename, String drillDownChartName, int w, int h, String servletLoc, PickData[] pickData, String[] argv) throws Exception
      Description copied from class: QbChart
      Export the chart with drill down map
      Overrides:
      export in class QbChart
      Parameters:
      format - Available formats are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      drillDownChartName - drill-down Chart file absolute location
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      servletLoc - servlet location ("http://machineName:port#/...servlet");
      pickData - array of PickData from 1st drill-down level to current level
      argv - optional parameters
      Throws:
      Exception
    • export

      public void export(int format, String filename, String chartLocation, int w, int h, String servletLoc, PickData[] pickData, String[] argv, int option) throws Exception
      Description copied from class: QbChart
      Export the chart with drill down map
      Overrides:
      export in class QbChart
      Parameters:
      format - Available formats are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      filename - export file name, without extension
      chartLocation - drill-down Chart file absolute location
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      servletLoc - servlet location ("http://machineName:port#/...servlet");
      pickData - array of PickData from 1st drill-down level to current level
      argv - optional parameters
      option - JPEG file quality (0 - 100) / PNG file compression / FLASH frame count (1-50) Available PNG Compression format are :
      PNG_COMPRESSION_DEFAULT PNG_COMPRESSION_MAX PNG_COMPRESSION_NONE
      Throws:
      Exception
    • export

      public void export(int format, OutputStream image, OutputStream subFile, String filename, String chartLocation, int w, int h, String servletLoc, PickData[] pickData, String[] argv, int option) throws Exception
      Description copied from class: QbChart
      Export the chart with drill down map
      Overrides:
      export in class QbChart
      Parameters:
      format - Available formats are :
      GIF - CompuServe gif
      GIF_N - CompuServe gif using new gif encoder
      JPEG - JPEG
      PNG - Portable Network Graphics
      FLASH - Flash (.swf)
      SVG - Scalable Vector Graphics
      WMF - Window metafiles
      BMP - OS/2 or Window bitmap
      CHT - chart format
      TPL - chart template
      image - The outputStream. The caller is responsible for closing it.
      subFile - The outputStream. The caller is responsible for closing it.
      filename - export file name, without extension
      chartLocation - drill-down Chart file absolute location
      w - output chart width (in pixels), 0 represents current width
      h - output chart height (in pixels), 0 represent current height.
      servletLoc - servlet location ("http://machineName:port#/...servlet");
      pickData - array of PickData from 1st drill-down level to current level
      argv - optional parameters
      option - JPEG file quality (0 - 100) / PNG file compression Available PNG Compression format are :
      PNG_COMPRESSION_DEFAULT PNG_COMPRESSION_MAX PNG_COMPRESSION_NONE
      Throws:
      Exception