net.comrom.chart
Class ChartLabel
java.lang.Object
net.comrom.chart.ChartLabel
- All Implemented Interfaces:
- net.comrom.chart.IFloatingObject
- public class ChartLabel
- extends java.lang.Object
- implements net.comrom.chart.IFloatingObject
|
Field Summary |
static java.lang.String |
layerId
|
|
Constructor Summary |
ChartLabel(java.lang.String pformat,
java.lang.String pvalue,
boolean pvertical,
boolean pCenter)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
layerId
public static final java.lang.String layerId
- See Also:
- Constant Field Values
ChartLabel
public ChartLabel(java.lang.String pformat,
java.lang.String pvalue,
boolean pvertical,
boolean pCenter)
initialize
public void initialize(ChartGraphics g,
Chart c)
paint
public void paint(ChartGraphics g,
int x,
int y,
int width,
int height)
getName
public java.lang.String getName()
getClickInfo
public java.lang.String getClickInfo()
getTip
public java.lang.String getTip()
getX
public int getX()
- Specified by:
getX in interface net.comrom.chart.IFloatingObject
setX
public void setX(int x)
- Specified by:
setX in interface net.comrom.chart.IFloatingObject
getY
public int getY()
- Specified by:
getY in interface net.comrom.chart.IFloatingObject
setY
public void setY(int y)
- Specified by:
setY in interface net.comrom.chart.IFloatingObject
getObjectBounds
public java.awt.Polygon getObjectBounds()
- Specified by:
getObjectBounds in interface net.comrom.chart.IFloatingObject