com.atlassian.jira.charts
Class ChartFactory.ChartContext

java.lang.Object
  extended by com.atlassian.jira.charts.ChartFactory.ChartContext
Enclosing interface:
ChartFactory

public static class ChartFactory.ChartContext
extends Object

Provides context for rendering a chart that is needed by all chart types. This includes the user who's requesting the chart, a searchrequest needed to lookup data for the chart, and the chart's width and height.


Constructor Summary
ChartFactory.ChartContext(com.atlassian.crowd.embedded.api.User remoteUser, SearchRequest searchRequest, int width, int height)
           
 
Method Summary
 boolean equals(Object o)
           
 int getHeight()
           
 com.atlassian.crowd.embedded.api.User getRemoteUser()
           
 SearchRequest getSearchRequest()
           
 int getWidth()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartFactory.ChartContext

public ChartFactory.ChartContext(com.atlassian.crowd.embedded.api.User remoteUser,
                                 SearchRequest searchRequest,
                                 int width,
                                 int height)
Method Detail

getHeight

public int getHeight()

getRemoteUser

public com.atlassian.crowd.embedded.api.User getRemoteUser()

getSearchRequest

public SearchRequest getSearchRequest()

getWidth

public int getWidth()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.