Code Search for Developers
 
 
  

LegendLayoutHints.java from BIRT at Krugle


Show LegendLayoutHints.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;

import org.eclipse.birt.chart.model.attribute.Size;

/**
 * LegendItemLayoutHints
 */
public final class LegendLayoutHints
{

	private final Size cachedSize;
	private final Size titleSize;
	private final boolean isMinSliceApplied;
	private final String minSliceText;
	private final LegendItemHints[] liha;

	public LegendLayoutHints( Size legendSize, Size titleSize,
			boolean isMinSliceApplied, String minSliceText,
			LegendItemHints[] liha )
	{
		this.cachedSize = legendSize;
		this.titleSize = titleSize;
		this.isMinSliceApplied = isMinSliceApplied;
		this.minSliceText = minSliceText;
		this.liha = liha;
	}

	public Size getLegendSize( )
	{
		return cachedSize;
	}

	public Size getTitleSize( )
	{
		return titleSize;
	}

	public boolean isMinSliceApplied( )
	{
		return isMinSliceApplied;
	}

	public String getMinSliceText( )
	{
		return minSliceText;
	}

	public LegendItemHints[] getLegendItemHints( )
	{
		return liha;
	}
}



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

  withaxes/
    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
  withoutaxes/
    Coordinates.java
    PlotWithoutAxes.java
    SeriesRenderingHints.java
    package.html
  BoundingBox.java
  DataPointHints.java
  DataSetIterator.java
  Engine3D.java
  IConstants.java
  LegendBuilder.java
  LegendEntryRenderingHints.java
  LegendItemHints.java
  LegendItemRenderingHints.java
  LegendLayoutHints.java
  Methods.java
  Object3D.java
  Point.java
  Rectangle.java
  RotatedRectangle.java
  UserDataSetHints.java
  ValueFormatter.java
  Vector.java
  package.html