|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.weft.graphic.MappedImage
uk.co.weft.graphic.DrillThruPie
A pie-chart in which the elements are selectable so that the user can 'drill down' to further representations of the data. Lots and lots of paramaters all declared as public instance variables so that the creator can set them. If setting (any of) these you must set them before calling getMarkup().
DrillThruGraph| Field Summary | |
java.awt.Color |
background
The colour of my background |
java.lang.String |
baseURL
The string which, when the value from the id data item of my data set is appended, will make a valid URL for the drill-through target |
java.lang.String |
colourName
The name of the data item in the data set which contains the specification of the colour for the bar as a 24 bit RGB value |
protected Contexts |
data
The one thing I must have: some data to represent |
java.lang.String |
dataName
The name of the data item in the data set which contains the data to be graphed |
java.awt.Color |
defaultColour
The colour to paint segments for which we don't have a valid colour |
boolean |
doLabel
Whether to provide labels for the bars |
boolean |
doOutline
Whether to provide an outline for the segments |
java.lang.String |
idName
The name of the data item in the data set which uniquely identifies a record |
java.awt.Color |
labelColour
The colour to write the labels |
java.awt.Font |
labelFont
The font to write the labels in |
java.lang.String |
labelName
The name of the data item in the data set which identifies a record for humans |
java.awt.Color |
outlineColour
The colour to paint the outlines of segments |
int |
thickness
The thickness of my pie |
java.net.URL |
urlContext
A URL context helps make the whole thing more portable |
| Fields inherited from class uk.co.weft.graphic.MappedImage |
areas, attributes, expectancy, height, id, mappedImageIdToken, width |
| Constructor Summary | |
DrillThruPie(Contexts data)
Create a drill-through pie to represent the data contained in these contexts |
|
DrillThruPie(Contexts data,
int width,
int height)
Create a drill-through pie to represent the data contained in these contexts, with this width and this height |
|
DrillThruPie(java.sql.ResultSet rs)
Create a drill-through pie to represent the data contained in this result-set. |
|
DrillThruPie(java.sql.ResultSet rs,
int width,
int height)
Create a drill-through pie to represent the data contained in these contexts, with this width and this height |
|
| Method Summary | |
java.lang.String |
getMap(java.lang.String mapid)
create my map tag and return it. |
| Methods inherited from class uk.co.weft.graphic.MappedImage |
addArea, addAttribute, get, getGraphics, getImage, getMarkup, getRenderedImage, maybePaintImage, run, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.awt.Color background
public java.awt.Color defaultColour
public java.awt.Color labelColour
public java.awt.Color outlineColour
public java.awt.Font labelFont
public java.lang.String baseURL
public java.lang.String colourName
public java.lang.String dataName
public java.lang.String idName
public java.lang.String labelName
public java.net.URL urlContext
public boolean doLabel
public boolean doOutline
public int thickness
protected Contexts data
| Constructor Detail |
public DrillThruPie(Contexts data)
throws DataFormatException
public DrillThruPie(Contexts data,
int width,
int height)
throws DataFormatException
public DrillThruPie(java.sql.ResultSet rs)
throws DataFormatException,
DataStoreException
public DrillThruPie(java.sql.ResultSet rs,
int width,
int height)
throws DataFormatException,
DataStoreException
| Method Detail |
public java.lang.String getMap(java.lang.String mapid)
throws java.lang.Exception
getMap in class MappedImagejava.lang.Exception
|
jacquard 1.12.0 by The Web Engineering Factory and Toolworks | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||