net.comrom.chart
Class ChartLabel

java.lang.Object
  extended bynet.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)
           
 
Method Summary
 java.lang.String getClickInfo()
           
 java.lang.String getName()
           
 java.awt.Polygon getObjectBounds()
           
 java.lang.String getTip()
           
 int getX()
           
 int getY()
           
 void initialize(ChartGraphics g, Chart c)
           
 void paint(ChartGraphics g, int x, int y, int width, int height)
           
 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

layerId

public static final java.lang.String layerId
See Also:
Constant Field Values
Constructor Detail

ChartLabel

public ChartLabel(java.lang.String pformat,
                  java.lang.String pvalue,
                  boolean pvertical,
                  boolean pCenter)
Method Detail

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