|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.java4less.rchart.ChartLabel
This is a private class used for rendering labels of scales, value in the chart ...
| Field Summary | |
static java.lang.String |
layerId
avoid overlapping of object in the same layer |
| Constructor Summary | |
ChartLabel(java.lang.String pformat,
java.lang.String pvalue,
boolean pvertical,
boolean pCenter)
Constructor |
|
| Method Summary | |
java.lang.String |
getClickInfo()
get the user information for click processing (this can be for example a http link) |
java.lang.String |
getName()
get label name |
java.awt.Polygon |
getObjectBounds()
|
java.lang.String |
getTip()
get tip to be displayed when the cursor is on the label |
int |
getX()
|
int |
getY()
|
void |
initialize(ChartGraphics g,
Chart c)
get size required for painting |
void |
paint(ChartGraphics g,
int x,
int y,
int width,
int height)
paint at a given position |
void |
setX(int x)
|
void |
setY(int y)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String layerId
| Constructor Detail |
public ChartLabel(java.lang.String pformat,
java.lang.String pvalue,
boolean pvertical,
boolean pCenter)
| Method Detail |
public void initialize(ChartGraphics g,
Chart c)
public void paint(ChartGraphics g,
int x,
int y,
int width,
int height)
public java.lang.String getName()
public java.lang.String getClickInfo()
public java.lang.String getTip()
public int getX()
getX in interface com.java4less.rchart.IFloatingObjectIFloatingObjectpublic void setX(int x)
setX in interface com.java4less.rchart.IFloatingObjectIFloatingObjectpublic int getY()
getY in interface com.java4less.rchart.IFloatingObjectIFloatingObjectpublic void setY(int y)
setY in interface com.java4less.rchart.IFloatingObjectIFloatingObjectpublic java.awt.Polygon getObjectBounds()
getObjectBounds in interface com.java4less.rchart.IFloatingObjectIFloatingObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||