JIDE 3.5.15

com.jidesoft.chart.annotation
Class AutoPositionedLabel

java.lang.Object
  extended by com.jidesoft.chart.annotation.AbstractAnnotation
      extended by com.jidesoft.chart.annotation.AbstractLabel
          extended by com.jidesoft.chart.annotation.AutoPositionedLabel
All Implemented Interfaces:
Annotation

public class AutoPositionedLabel
extends AbstractLabel

A label that is centred on the chart. Usually used for the title of a Chart

Author:
Simon White (swhite@catalysoft.com)

Constructor Summary
AutoPositionedLabel()
          Zero-argument constructor
AutoPositionedLabel(String label)
           
AutoPositionedLabel(String label, Color color)
           
AutoPositionedLabel(String label, Color color, Font font)
           
 
Method Summary
 
Methods inherited from class com.jidesoft.chart.annotation.AbstractLabel
equals, getColor, getFont, getLabel, getLabelComponent, getLabelStyle, getRotation, hashCode, paint, paint, setColor, setFont, setLabel, setLabelStyle, setRotation, size, toString
 
Methods inherited from class com.jidesoft.chart.annotation.AbstractAnnotation
getZOrder, setZOrder
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoPositionedLabel

public AutoPositionedLabel()
Zero-argument constructor


AutoPositionedLabel

public AutoPositionedLabel(String label,
                           Color color,
                           Font font)
Parameters:
label - the text to use for the label
color - the color of the label
font - the font

AutoPositionedLabel

public AutoPositionedLabel(String label,
                           Color color)
Parameters:
label - the text to use for the label
color - the color of the label

AutoPositionedLabel

public AutoPositionedLabel(String label)
Parameters:
label - the text to use for the label

JIDE 3.5.15