com.steema.teechart.legend
Class LegendAdapter

java.lang.Object
  extended by com.steema.teechart.legend.LegendAdapter
All Implemented Interfaces:
LegendResolver

public class LegendAdapter
extends java.lang.Object
implements LegendResolver

Title: TeeChart for Java

Description: TeeChart for Java

Copyright (c) 2004-2008 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Constructor Summary
LegendAdapter()
          Creates a new instance of LegendAdapter
 
Method Summary
 Rectangle getBounds(Legend legend, Rectangle rectangle)
           
 LegendItemCoordinates getItemCoordinates(Legend legend, LegendItemCoordinates coordinates)
           
 java.lang.String getItemText(Legend legend, LegendStyle legendStyle, int index, java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegendAdapter

public LegendAdapter()
Creates a new instance of LegendAdapter

Method Detail

getBounds

public Rectangle getBounds(Legend legend,
                           Rectangle rectangle)
Specified by:
getBounds in interface LegendResolver

getItemCoordinates

public LegendItemCoordinates getItemCoordinates(Legend legend,
                                                LegendItemCoordinates coordinates)
Specified by:
getItemCoordinates in interface LegendResolver

getItemText

public java.lang.String getItemText(Legend legend,
                                    LegendStyle legendStyle,
                                    int index,
                                    java.lang.String text)
Specified by:
getItemText in interface LegendResolver