|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.urls.StandardCategoryURLGenerator
it.eng.spagobi.engines.chart.bo.charttypes.utils.MyCategoryUrlGenerator
public class MyCategoryUrlGenerator
Extends StandardCategoryURLGenerator: the purpose of this class is to add a postfix in the case of document-composition and to substitute in the URL serie anc category parameter, addedd by JFreeCharts function, with label chosen by the user
Constructor Summary | |
---|---|
MyCategoryUrlGenerator()
Instantiates a new my category url generator. |
|
MyCategoryUrlGenerator(java.lang.String prefix)
Instantiates a new my category url generator. |
|
MyCategoryUrlGenerator(java.lang.String prefix,
java.lang.String seriesParameterName,
java.lang.String categoryParameterName)
Instantiates a new my category url generator. |
Method Summary | |
---|---|
java.lang.String |
generateURL(org.jfree.data.category.CategoryDataset dataset,
int series,
int category)
|
java.lang.String |
getCategoryUrlLabel()
Gets the category url label. |
java.lang.String |
getSerieUrlLabel()
Gets the serie url label. |
boolean |
isDocument_composition()
Checks if is document_composition. |
void |
setCategoryUrlLabel(java.lang.String categoryUrlLabel)
Sets the category url label. |
void |
setDocument_composition(boolean document_composition)
Sets the document_composition. |
void |
setSerieUrlLabel(java.lang.String serieUrlLabel)
Sets the serie url label. |
Methods inherited from class org.jfree.chart.urls.StandardCategoryURLGenerator |
---|
clone, equals, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyCategoryUrlGenerator()
public MyCategoryUrlGenerator(java.lang.String prefix, java.lang.String seriesParameterName, java.lang.String categoryParameterName)
prefix
- the prefixseriesParameterName
- the series parameter namecategoryParameterName
- the category parameter namepublic MyCategoryUrlGenerator(java.lang.String prefix)
prefix
- the prefixMethod Detail |
---|
public java.lang.String generateURL(org.jfree.data.category.CategoryDataset dataset, int series, int category)
generateURL
in interface org.jfree.chart.urls.CategoryURLGenerator
generateURL
in class org.jfree.chart.urls.StandardCategoryURLGenerator
public java.lang.String getSerieUrlLabel()
public void setSerieUrlLabel(java.lang.String serieUrlLabel)
serieUrlLabel
- the new serie url labelpublic java.lang.String getCategoryUrlLabel()
public void setCategoryUrlLabel(java.lang.String categoryUrlLabel)
categoryUrlLabel
- the new category url labelpublic boolean isDocument_composition()
public void setDocument_composition(boolean document_composition)
document_composition
- the new document_composition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |