com.davisor.graphics.chart
Class ScaleLegendFactory.ScaleLegendEntry

java.lang.Object
  extended bycom.davisor.graphics.chart.ScaleLegendFactory.ScaleLegendEntry
Enclosing class:
ScaleLegendFactory

public class ScaleLegendFactory.ScaleLegendEntry
extends java.lang.Object

Contains shape, label, and size information.

The shape height and width multipliers can be used for postponed shape creation. For example, the required size of the shapes of the legend might not be known until all entries are created. When the shapes are later on created to the shapes, the information in multipliers can be used in the creation of the shapes.


Field Summary
 java.lang.String label
           
 java.awt.Paint labelColor
           
 java.awt.Shape shape
           
 java.awt.Paint shapeColor
           
 float shapeHeightMultiplier
           
 java.awt.Paint shapePaint
           
 java.awt.Stroke shapeStroke
           
 float shapeWidthMultiplier
           
 
Constructor Summary
ScaleLegendFactory.ScaleLegendEntry(java.lang.String label, java.awt.Paint labelColor, java.awt.Shape shape, java.awt.Paint shapeColor, java.awt.Paint shapePaint, java.awt.Stroke shapeStroke, float shapeHeightMultiplier, float shapeWidthMultiplier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

public java.lang.String label

labelColor

public java.awt.Paint labelColor

shape

public java.awt.Shape shape

shapeColor

public java.awt.Paint shapeColor

shapePaint

public java.awt.Paint shapePaint

shapeStroke

public java.awt.Stroke shapeStroke

shapeHeightMultiplier

public float shapeHeightMultiplier

shapeWidthMultiplier

public float shapeWidthMultiplier
Constructor Detail

ScaleLegendFactory.ScaleLegendEntry

public ScaleLegendFactory.ScaleLegendEntry(java.lang.String label,
                                           java.awt.Paint labelColor,
                                           java.awt.Shape shape,
                                           java.awt.Paint shapeColor,
                                           java.awt.Paint shapePaint,
                                           java.awt.Stroke shapeStroke,
                                           float shapeHeightMultiplier,
                                           float shapeWidthMultiplier)


Copyright © 2001-2004 Davisor Oy. All Rights Reserved.