View Javadoc
1   /*
2    * Copyright 2014 James Pether Sörling
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *   http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   *	$Id$
17   *  $HeadURL$
18   */
19  package com.hack23.cia.web.impl.ui.application.views.common.chartfactory.api;
20  
21  import com.vaadin.ui.AbstractOrderedLayout;
22  
23  /**
24   * The Interface ChartDataManager.
25   */
26  public interface PartyChartDataManager {
27  
28  
29  	/**
30  	 * Creates the party winner chart.
31  	 *
32  	 * @param content
33  	 *            the content
34  	 */
35  	void createPartyWinnerChart(AbstractOrderedLayout content);
36  
37  	/**
38  	 * Creates the party line chart.
39  	 *
40  	 * @param content
41  	 *            the content
42  	 * @param partyId
43  	 *            the party id
44  	 */
45  	void createPartyLineChart(AbstractOrderedLayout content,String partyId);
46  
47  	/**
48  	 * Creates the party gender chart.
49  	 *
50  	 * @param content
51  	 *            the content
52  	 */
53  	void createPartyGenderChart(AbstractOrderedLayout content);
54  
55  	/**
56  	 * Creates the party age chart.
57  	 *
58  	 * @param content
59  	 *            the content
60  	 */
61  	void createPartyAgeChart(AbstractOrderedLayout content);
62  
63  }