@Concealed(value="Contact developer")
protected class CommonGraph.GraphBadDogCallback
extends java.lang.Object
implements oracle.dss.graph.pfj.BadDogCallback
Modifier | Constructor and Description |
---|---|
protected |
GraphBadDogCallback() |
Modifier and Type | Method and Description |
---|---|
void |
drawBadDog(java.awt.Graphics gx)
Draw the "bad dog" to let user know what went wrong.
|
void |
drawBadDogToSVG(java.util.Map context)
Render the "bad dog" to SVG to let user know what went wrong.
|
void |
drawBadDogToXML(java.util.Map context)
Render the "bad dog" to XML to let user know what went wrong.
|
java.lang.String |
getErrorText()
Retrieves the error text from Bad Dog callback
|
boolean |
isValidChart()
Does the chart pass the "bad dog" tests?
This is a way to:
1) Pre-validate the chart data yourself
instead of having Perspective for Java validate the data.
|
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.
|
@Concealed(value="Contact developer") public boolean isValidChart()
oracle.dss.graph.pfj.BadDogCallback
isValidChart
in interface oracle.dss.graph.pfj.BadDogCallback
@Concealed(value="Contact developer") public void drawBadDog(java.awt.Graphics gx)
oracle.dss.graph.pfj.BadDogCallback
drawBadDog
in interface oracle.dss.graph.pfj.BadDogCallback
@Concealed(value="Contact developer") public void drawBadDogToSVG(java.util.Map context) throws java.io.IOException, java.lang.Exception
oracle.dss.graph.pfj.BadDogCallback
drawBadDogToSVG
in interface oracle.dss.graph.pfj.BadDogCallback
context
- context for this renderjava.io.IOException
- if there was a problem writing to the streamjava.lang.Exception
- if another problem occurred@Concealed(value="Contact developer") public void drawBadDogToXML(java.util.Map context) throws java.io.IOException, java.lang.Exception
oracle.dss.graph.pfj.BadDogCallback
drawBadDogToXML
in interface oracle.dss.graph.pfj.BadDogCallback
context
- context for this renderjava.io.IOException
- if there was a problem writing to the streamjava.lang.Exception
- if another problem occurredprotected void setNotEnoughDataMessage(java.lang.String[] s)
s
- array of strings to showprotected void setNotEnoughDataMessage(java.lang.String[] s, NotEnoughData neData)
s
- array of strings to showneData
- object indicating how data is insufficientpublic java.lang.String getErrorText()
getErrorText
in interface oracle.dss.graph.pfj.BadDogCallback