it.eng.spagobi.engines.chart.bo.charttypes.utils
Class MyPieUrlGenerator

java.lang.Object
  extended by org.jfree.chart.urls.StandardPieURLGenerator
      extended by it.eng.spagobi.engines.chart.bo.charttypes.utils.MyPieUrlGenerator
All Implemented Interfaces:
java.io.Serializable, org.jfree.chart.urls.PieURLGenerator

public class MyPieUrlGenerator
extends org.jfree.chart.urls.StandardPieURLGenerator

See Also:
Serialized Form

Constructor Summary
MyPieUrlGenerator()
          Instantiates a new my pie url generator.
MyPieUrlGenerator(java.lang.String prefix)
          Instantiates a new my pie url generator.
MyPieUrlGenerator(java.lang.String prefix, java.lang.String categoryParameterName)
          Instantiates a new my pie url generator.
MyPieUrlGenerator(java.lang.String prefix, java.lang.String categoryParameterName, java.lang.String indexParameterName)
          Instantiates a new my pie url generator.
 
Method Summary
 java.lang.String generateURL(org.jfree.data.general.PieDataset dataset, java.lang.Comparable key, int pieIndex)
           
 java.lang.String getCategoryUrlLabel()
          Gets the category 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.
 
Methods inherited from class org.jfree.chart.urls.StandardPieURLGenerator
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyPieUrlGenerator

public MyPieUrlGenerator()
Instantiates a new my pie url generator.


MyPieUrlGenerator

public MyPieUrlGenerator(java.lang.String prefix,
                         java.lang.String categoryParameterName,
                         java.lang.String indexParameterName)
Instantiates a new my pie url generator.

Parameters:
prefix - the prefix
categoryParameterName - the category parameter name
indexParameterName - the index parameter name

MyPieUrlGenerator

public MyPieUrlGenerator(java.lang.String prefix,
                         java.lang.String categoryParameterName)
Instantiates a new my pie url generator.

Parameters:
prefix - the prefix
categoryParameterName - the category parameter name

MyPieUrlGenerator

public MyPieUrlGenerator(java.lang.String prefix)
Instantiates a new my pie url generator.

Parameters:
prefix - the prefix
Method Detail

generateURL

public java.lang.String generateURL(org.jfree.data.general.PieDataset dataset,
                                    java.lang.Comparable key,
                                    int pieIndex)
Specified by:
generateURL in interface org.jfree.chart.urls.PieURLGenerator
Overrides:
generateURL in class org.jfree.chart.urls.StandardPieURLGenerator

getCategoryUrlLabel

public java.lang.String getCategoryUrlLabel()
Gets the category url label.

Returns:
the category url label

setCategoryUrlLabel

public void setCategoryUrlLabel(java.lang.String categoryUrlLabel)
Sets the category url label.

Parameters:
categoryUrlLabel - the new category url label

isDocument_composition

public boolean isDocument_composition()
Checks if is document_composition.

Returns:
true, if is document_composition

setDocument_composition

public void setDocument_composition(boolean document_composition)
Sets the document_composition.

Parameters:
document_composition - the new document_composition