|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LinearLabelLayouter extends java.lang.Cloneable
Axis2D label layout strategy object interface. Layout object is configured with axis parameters and then has a chance to filter and arrange a list of labels.
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this layouter |
void |
dispose()
Disposes layouter |
int |
getMaxLevel()
Return the maximum label level. |
double |
getPreferredHeight()
Non-API method. Returns height required to layout labels. |
double |
getPreferredWidth()
Non-API method. Returns width required to layout labels. |
void |
layout(AbstractAxisLabel[] labels)
Layouts labels. |
void |
prepare(AbstractAxisLabel[] labels)
Non-API method. Calculates preferred size of all visible labels (maximum size of all labels). |
void |
setSparseMode(boolean sparseMode)
Sets sparse mode. |
void |
setTitleArea(Area title)
Adds title area |
void |
setVisibleRange(double start,
double stop)
Sets the visual range of the axis in pixels. |
| Method Detail |
|---|
void setVisibleRange(double start,
double stop)
start - start positionstop - end positionvoid setSparseMode(boolean sparseMode)
sparseMode - sparse mode flagvoid layout(AbstractAxisLabel[] labels)
labels - label arrayint getMaxLevel()
java.lang.Object clone()
void setTitleArea(Area title)
title - title areavoid dispose()
void prepare(AbstractAxisLabel[] labels)
labels - label arraydouble getPreferredHeight()
double getPreferredWidth()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||