Code Search for Developers
 
 
  

StackGroup.java from BIRT at Krugle


Show StackGroup.java syntax highlighted

/***********************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Actuate Corporation - initial API and implementation
 ***********************************************************************/

package org.eclipse.birt.chart.computation.withaxes;

import java.util.ArrayList;

import org.eclipse.birt.chart.model.component.Series;

/**
 * StackGroup
 */
public class StackGroup
{

	ArrayList alSeries = new ArrayList( );

	ArrayList alUnitPositions = null;

	final int iSharedUnitIndex;

	int iSharedUnitCount = 1;

	/**
	 * The constructor.
	 */
	StackGroup( int iSharedUnitIndex )
	{
		this.iSharedUnitIndex = iSharedUnitIndex;
	}

	/**
	 * 
	 * @param iSharedUnitCount
	 */
	final void updateCount( int iSharedUnitCount )
	{
		this.iSharedUnitCount = iSharedUnitCount;
	}

	/**
	 * 
	 * @param se
	 */
	final void addSeries( Series se )
	{
		alSeries.add( se );
	}

	/**
	 * 
	 * @return
	 */
	final ArrayList getSeries( )
	{
		return alSeries;
	}

	/**
	 * 
	 * @return
	 */
	public final int getSharedIndex( )
	{
		return iSharedUnitIndex;
	}

	/**
	 * 
	 * @return
	 */
	public final int getSharedCount( )
	{
		return iSharedUnitCount;
	}
}




See more files for this project here

BIRT

BIRT is an open source, Eclipse-based reporting system that integrates with your application to produce compelling reports for both web and PDF.

Project homepage: http://www.eclipse.org/birt/phoenix/
Programming language(s): Java,XML
License: gpl2

  AllAxes.java
  AutoScale.java
  AxisSubUnit.java
  Grid.java
  IntersectionValue.java
  OneAxis.java
  PlotWith2DAxes.java
  PlotWith3DAxes.java
  PlotWithAxes.java
  SeriesRenderingHints.java
  SeriesRenderingHints3D.java
  StackGroup.java
  StackedSeriesLookup.java
  package.html