java.io.SerializableAxisTitlePainterDefaultpublic interface IAxisTitlePainter
extends java.io.Serializable
| Modifier and Type | Method | Description |
|---|---|---|
int |
getHeight(IAxis<?> axis,
java.awt.Graphics g2d) |
Returns the height of this axis title in px with respect to the current
title of the given axis title.
|
int |
getWidth(IAxis<?> axis,
java.awt.Graphics g2d) |
Returns the width of this axis title in px with respect to the current
title of the given axis.
|
void |
paintTitle(IAxis<?> axis,
java.awt.Graphics g) |
Invoked to let implementations paint the given title of the given axis.
|
int getHeight(IAxis<?> axis, java.awt.Graphics g2d)
axis - the instance this title painter is working for.g2d - needed for size informations (e.g. font widths).int getWidth(IAxis<?> axis, java.awt.Graphics g2d)
axis - the instance this title painter is working for.g2d - needed for size informations (e.g. font widths).void paintTitle(IAxis<?> axis, java.awt.Graphics g)
Implementations should make use of the information about the axis coordinates (start pixel,end pixel) and the graphics context (for font dimensions) to do it right.
axis - the axis to paint the title of.g - needed for size informations.Copyright © 2001 - 2010 LGPL, All Rights Footloose.