|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oberon.ooql.sdk.GraphStyler.TextLine
public class GraphStyler.TextLine
Chart Line with a Label
Constructor Summary | |
---|---|
GraphStyler.TextLine(org.jdom.Element textLine)
Generates the textline from XML element tree |
|
GraphStyler.TextLine(GraphStyler.Label text,
GraphStyler.VPoint start,
GraphStyler.VPoint end)
|
Method Summary | |
---|---|
void |
fromXML(org.jdom.Element textLine)
Loads the textline parameters from XML element tree |
GraphStyler.VPoint |
getEndPosition()
Get the line end point |
GraphStyler.Label |
getLabel()
Get the text label |
int |
getLineStyle()
Get the line style |
GraphStyler.VPoint |
getStartPosition()
Get the line start point |
void |
setLineStyle(int style)
Set the line style |
org.jdom.Element |
toXML(java.lang.String name)
Return the textline as XML element tree |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphStyler.TextLine(GraphStyler.Label text, GraphStyler.VPoint start, GraphStyler.VPoint end)
text
- the text labelstart
- start pointend
- end pointpublic GraphStyler.TextLine(org.jdom.Element textLine)
Method Detail |
---|
public GraphStyler.Label getLabel()
public GraphStyler.VPoint getStartPosition()
public GraphStyler.VPoint getEndPosition()
public void setLineStyle(int style)
style
- the line style; see the LINESTYLE constantspublic int getLineStyle()
public org.jdom.Element toXML(java.lang.String name)
name
- the root XML tagpublic void fromXML(org.jdom.Element textLine)
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |