com.atlassian.jira.charts
Class PieSegmentWrapper

java.lang.Object
  extended by com.atlassian.jira.charts.PieSegmentWrapper
All Implemented Interfaces:
Comparable

public class PieSegmentWrapper
extends Object
implements Comparable

A simple wrapper object to implement Comparable for PieDataset as well as retrieve the key's real string name.

Since:
v4.0

Constructor Summary
PieSegmentWrapper(Object key, I18nHelper i18nBean, String statisticType, ConstantsManager constantsManager, CustomFieldManager customFieldManager)
           
 
Method Summary
 int compareTo(Object o)
           
 Object getKey()
           
 String getName()
           
 boolean isGenerateUrl()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PieSegmentWrapper

public PieSegmentWrapper(Object key,
                         I18nHelper i18nBean,
                         String statisticType,
                         ConstantsManager constantsManager,
                         CustomFieldManager customFieldManager)
Method Detail

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getKey

public Object getKey()

isGenerateUrl

public boolean isGenerateUrl()


Copyright © 2002-2009 Atlassian. All Rights Reserved.