com.oxymel.ofc.charts
Class HorizontalLineInfo
java.lang.Object
|
+--com.oxymel.ofc.charts.HorizontalLineInfo
- public class HorizontalLineInfo
- extends java.lang.Object
This class allows to draw an horizontal line in a graphic.
This line has a label, the line and label colors can be cutomized
Method Summary |
void |
setLabelColor(java.awt.Color labelColor)
Assign a given color to the label |
void |
setLineColor(java.awt.Color lineColor)
Assign a given color to the line |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HorizontalLineInfo
public HorizontalLineInfo(java.lang.String label,
double value)
- Constructor
- Parameters:
label
- identifying the linevalue
- or line position in the graphic
setLabelColor
public void setLabelColor(java.awt.Color labelColor)
- Assign a given color to the label
- Parameters:
labelColor
-
setLineColor
public void setLineColor(java.awt.Color lineColor)
- Assign a given color to the line
- Parameters:
lineColor
-
Copyright © 2005 Oxymel SA All Rights Reserved.