JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.legend
Interface JCLegendPopulator

All Known Implementing Classes:
DefaultLegendPopulatorRenderer, JCChart3dLegendManager, JCChartLegendManager

public interface JCLegendPopulator

JCLegendPopulator is an interface implemented by classes that wish to populate a legend with data.


Method Summary
 List getLegendItems(FontMetrics fm)
          Retrives the legend items that make up the legend.
 boolean isTitleItem(com.klg.jclass.util.legend.JCLegendItem item)
          Checks whether a specified JCLegendItem is a title item for the legend, meaning that no symbol will be drawn.
 

Method Detail

getLegendItems

public List getLegendItems(FontMetrics fm)
Retrives the legend items that make up the legend.

Parameters:
fm - the font metrics for this legend
Returns:
a List of List objects, with each internal List object containing the list of JCLegendItem objects that make up one column of the legend

isTitleItem

public boolean isTitleItem(com.klg.jclass.util.legend.JCLegendItem item)
Checks whether a specified JCLegendItem is a title item for the legend, meaning that no symbol will be drawn.

Parameters:
item - the JCLegendItem to check.
Returns:
true if this item is a title item; false otherwise

Copyright © 2004 Quest Software Inc..
All rights reserved.