|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.java4less.rchart.ChartLabel
public class 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 |
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()
IFloatingObject
public void setX(int x)
IFloatingObject
public int getY()
IFloatingObject
public void setY(int y)
IFloatingObject
public Polygon getObjectBounds()
IFloatingObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |