Java org.jfree.chart.block LabelBlock fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.block LabelBlock fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.block LabelBlock.

The text is from its open source code.

Subclass

org.jfree.chart.block.LabelBlock has subclasses.
Click this link to see all its subclasses.

Constructor

LabelBlock(String text, Font font)
Creates a new label block.
LabelBlock(String text, Font font, Paint paint)
Creates a new label block.
LabelBlock(String label)
Creates a new label block.

Method

Size2Darrange(Graphics2D g2)
Arranges the contents of the block, with no constraints, and returns the block size.
voiddraw(Graphics2D g2, Rectangle2D area)
Draws the block.
voidsetMargin(double top, double left, double bottom, double right)
Sets the margin.
voidsetPadding(double top, double left, double bottom, double right)
Sets the padding.
voidsetPadding(RectangleInsets padding)
Sets the padding (use RectangleInsets#ZERO_INSETS for no padding).
voidsetToolTipText(String text)
Sets the tool tip text.