|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This function is used to set/get the different properties associated with the text strings drawn in a chart.
ILabel,
IText,
IFormat| Method Summary | |
boolean |
equals(java.lang.Object textString)
Returns true if the given object equals this one. |
java.awt.Dimension |
getOffset()
Gets the relative offsets (horizontal and vertical) of the text string |
Position |
getPosition()
Returns the position of the text string in the canvas |
java.lang.String |
getValue()
This function returns the value of the string. |
void |
setOffset(java.awt.Dimension offset)
Sets the offset values of the text string. |
void |
setPosition(Position pos)
Sets the position of the string in the canvas. |
void |
setValue(java.lang.String value)
This function sets the value of the string. |
| Methods inherited from interface quadbase.util.IText |
getAngle, getColor, getFont, setAngle, setColor, setFont |
| Method Detail |
public java.lang.String getValue()
public void setValue(java.lang.String value)
value - The string value to set.public Position getPosition()
public void setPosition(Position pos)
pos - The position object.
Note that the x and y values in the position object should be between 0 and 1.
Positionpublic java.awt.Dimension getOffset()
public void setOffset(java.awt.Dimension offset)
offset - The Dimension object containing the horizontal and vertical
offsets.public boolean equals(java.lang.Object textString)
equals in class java.lang.ObjecttextString - an object of type ITextString
|
EspressChart v 5.5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||