Class LabelBlock

java.lang.Object
org.jfree.chart.block.AbstractBlock
org.jfree.chart.block.LabelBlock
All Implemented Interfaces:
Serializable, Cloneable, Block, Drawable, PublicCloneable

public class LabelBlock extends AbstractBlock implements Block, PublicCloneable
A block containing a label.
See Also:
  • Field Details

  • Constructor Details

    • LabelBlock

      public LabelBlock(String label)
      Creates a new label block.
      Parameters:
      label - the label (null not permitted).
    • LabelBlock

      public LabelBlock(String text, Font font)
      Creates a new label block.
      Parameters:
      text - the text for the label (null not permitted).
      font - the font (null not permitted).
    • LabelBlock

      public LabelBlock(String text, Font font, Paint paint)
      Creates a new label block.
      Parameters:
      text - the text for the label (null not permitted).
      font - the font (null not permitted).
      paint - the paint (null not permitted).
  • Method Details