Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

oracle.dss.graph
Class CommonGraph.GraphBadDogCallback

java.lang.Object
  extended by oracle.dss.graph.CommonGraph.GraphBadDogCallback
All Implemented Interfaces:
oracle.dss.graph.pfj.BadDogCallback
Enclosing class:
CommonGraph

protected class CommonGraph.GraphBadDogCallback
extends java.lang.Object
implements oracle.dss.graph.pfj.BadDogCallback

For internal use only. Application developers should not use this
Implementation of the BadDogCallback used to paint "not enough data" message.

Constructor Summary
protected CommonGraph.GraphBadDogCallback()
           
 
Method Summary
 void drawBadDog(java.awt.Graphics gx)
           
 void drawBadDogToSVG(java.util.Map context)
           
 void drawBadDogToXML(java.util.Map context)
           
 java.lang.String getErrorText()
          Retrieves the error text from Bad Dog callback
 boolean isValidChart()
           
protected  void setNotEnoughDataMessage(java.lang.String[] s)
          Set the message indicating not enough data is present.
protected  void setNotEnoughDataMessage(java.lang.String[] s, NotEnoughData neData)
          Set the message indicating not enough data is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonGraph.GraphBadDogCallback

protected CommonGraph.GraphBadDogCallback()
Method Detail

isValidChart

public boolean isValidChart()
Specified by:
isValidChart in interface oracle.dss.graph.pfj.BadDogCallback
For internal use only. Application developers should not use this
Implementation of method from BadDogCallback. THIS MUST BE IMPLEMENTED THIS WAY IN ORDER FOR PERSPECTIVE TO USE IT!

drawBadDog

public void drawBadDog(java.awt.Graphics gx)
Specified by:
drawBadDog in interface oracle.dss.graph.pfj.BadDogCallback
For internal use only. Application developers should not use this
Implementation of method from BadDogCallback. This method is called when graph does not have enough data to display.

drawBadDogToSVG

public void drawBadDogToSVG(java.util.Map context)
                     throws java.io.IOException,
                            java.lang.Exception
Specified by:
drawBadDogToSVG in interface oracle.dss.graph.pfj.BadDogCallback
Parameters:
context - context for this render
Throws:
java.io.IOException - if there was a problem writing to the stream
java.lang.Exception - if another problem occurred
For internal use only. Application developers should not use this
Implementation of method from BadDogCallback. This method is called when rendering to SVG, when graph does not have enough data to display.

drawBadDogToXML

public void drawBadDogToXML(java.util.Map context)
                     throws java.io.IOException,
                            java.lang.Exception
Specified by:
drawBadDogToXML in interface oracle.dss.graph.pfj.BadDogCallback
Parameters:
context - context for this render
Throws:
java.io.IOException - if there was a problem writing to the stream
java.lang.Exception - if another problem occurred
For internal use only. Application developers should not use this
Implementation of method from BadDogCallback. This method is called when rendering to XML, when graph does not have enough data to display.

setNotEnoughDataMessage

protected void setNotEnoughDataMessage(java.lang.String[] s)
Set the message indicating not enough data is present.

Parameters:
s - array of strings to show

setNotEnoughDataMessage

protected void setNotEnoughDataMessage(java.lang.String[] s,
                                       NotEnoughData neData)
Set the message indicating not enough data is present.

Parameters:
s - array of strings to show
neData - object indicating how data is insufficient

getErrorText

public java.lang.String getErrorText()
Retrieves the error text from Bad Dog callback

Specified by:
getErrorText in interface oracle.dss.graph.pfj.BadDogCallback
Returns:
the text

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

Copyright © 1997, 2011, Oracle. All rights reserved.