org.deegree.rendering.r2d.legends
Interface LegendItem

All Known Implementing Classes:
RasterLegendItem, StandardLegendItem

public interface LegendItem

Version:
$Revision: 28470 $, $Date: 2010-12-01 15:04:34 +0100 (Wed, 01 Dec 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Method Summary
 int getHeight()
           
 int getMaxWidth(LegendOptions options)
           
 void paint(int origin, LegendOptions options)
           
 

Method Detail

getHeight

int getHeight()
Returns:
the number of legend items this item occupies

paint

void paint(int origin,
           LegendOptions options)
Parameters:
origin - y coordinate of origin point (x origin is always 0)
options -

getMaxWidth

int getMaxWidth(LegendOptions options)
Parameters:
options -
Returns:
the maximum width of the legend row(s)


Copyright © 2011. All Rights Reserved.