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)
          Deprecated. use ChartContext#ChartContext(User, SearchRequest, int, int, boolean)
ChartFactory.ChartContext(com.atlassian.crowd.embedded.api.User remoteUser, SearchRequest searchRequest, int width, int height, boolean inline)
           
 
Method Summary
 boolean equals(Object o)
           
 int getHeight()
           
 com.atlassian.crowd.embedded.api.User getRemoteUser()
           
 SearchRequest getSearchRequest()
           
 int getWidth()
           
 int hashCode()
           
 boolean isInline()
           
 
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,
                                 boolean inline)

ChartFactory.ChartContext

@Deprecated
public ChartFactory.ChartContext(com.atlassian.crowd.embedded.api.User remoteUser,
                                            SearchRequest searchRequest,
                                            int width,
                                            int height)
Deprecated. use ChartContext#ChartContext(User, SearchRequest, int, int, boolean)

See Also:
ChartHelper
Method Detail

getHeight

public int getHeight()

getRemoteUser

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

getSearchRequest

public SearchRequest getSearchRequest()

getWidth

public int getWidth()

isInline

public boolean isInline()

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.