|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.util.Graph
public abstract class Graph
A JFreeChart-generated graph that's bound to UI.
This object exposes two URLs:
Constructor Summary | |
---|---|
protected |
Graph(Calendar timestamp,
int defaultW,
int defaultH)
|
protected |
Graph(long timestamp,
int defaultW,
int defaultH)
|
Method Summary | |
---|---|
protected abstract org.jfree.chart.JFreeChart |
createGraph()
Actually render a chart. |
void |
doMap(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Renders a clickable map. |
void |
doPng(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Renders a graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Graph(long timestamp, int defaultW, int defaultH)
timestamp
- Timestamp of this graph. Used for HTTP cache related headers.
If the graph doesn't have any timestamp to tie it to, pass -1.protected Graph(Calendar timestamp, int defaultW, int defaultH)
Method Detail |
---|
protected abstract org.jfree.chart.JFreeChart createGraph()
public void doPng(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
IOException
public void doMap(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |