|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AbstractAxisLabel extends java.io.Serializable
This interface is intended to be implemented by Axis2D labels.
| Modifier and Type | Method and Description |
|---|---|
double |
endPos()
Returns the end position of the label. |
Rectangle2D |
getBounds()
Returns label bounds |
int |
getIndex()
Gets the index value of this label |
Area |
getLabelArea()
Gets label bounding area |
java.lang.String |
getText()
Returns label text |
boolean |
isKeyLabel()
Indicates that label is key label |
int |
level()
Returns a level of the label. |
void |
move(double deltax,
double deltay)
Moves the label the specified x and y offset. |
void |
moveToX(double posX)
Moves the label to the specified X position. |
void |
moveToY(double posY)
Moves the label to the specified Y position. |
void |
paint(AbstractGraphics g)
Renders lebel on the Graphics context. |
double |
position()
Returns a label position. |
double |
startPos()
Returns the start position of the label. |
| Method Detail |
|---|
int level()
double position()
double startPos()
double endPos()
void move(double deltax,
double deltay)
deltax - x offsetdeltay - y offsetvoid moveToY(double posY)
posY - the Y position to move label tovoid moveToX(double posX)
posX - the X position to move label toArea getLabelArea()
java.lang.String getText()
Rectangle2D getBounds()
boolean isKeyLabel()
int getIndex()
void paint(AbstractGraphics g)
g - graphics context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||