com.atlassian.jira.web.bean
Interface TimeTrackingGraphBeanFactory.Style

All Known Implementing Classes:
TimeTrackingGraphBeanFactory.LongStyle, TimeTrackingGraphBeanFactory.ShortStyle
Enclosing interface:
TimeTrackingGraphBeanFactory

public static interface TimeTrackingGraphBeanFactory.Style

Represents a style of TimeTrackingGraphBean that this factory can create.


Field Summary
static TimeTrackingGraphBeanFactory.Style NORMAL
          Style that will create a TimeTrackingGraphBean that can be used to render time tracking.
static TimeTrackingGraphBeanFactory.Style SHORT
          Style that will create a TimeTrackingGraphBean that can be used to render time tracking data in a tight space.
 
Method Summary
 String getDuration(Long duration, Locale locale, JiraDurationUtils utils)
           
 String getTooltip(Long duration, Locale locale, JiraDurationUtils utils)
           
 

Field Detail

SHORT

static final TimeTrackingGraphBeanFactory.Style SHORT
Style that will create a TimeTrackingGraphBean that can be used to render time tracking data in a tight space.


NORMAL

static final TimeTrackingGraphBeanFactory.Style NORMAL
Style that will create a TimeTrackingGraphBean that can be used to render time tracking. This is the style you should use if you do not know.

Method Detail

getDuration

String getDuration(Long duration,
                   Locale locale,
                   JiraDurationUtils utils)

getTooltip

String getTooltip(Long duration,
                  Locale locale,
                  JiraDurationUtils utils)


Copyright © 2002-2013 Atlassian. All Rights Reserved.