|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAxisTitlePainter
Interface for an painter of the title of an axis of the Chart2D.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||