|
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.Legend
public class GraphStyler.Legend
Chart Legend
Constructor Summary | |
---|---|
GraphStyler.Legend()
|
Method Summary | |
---|---|
void |
fromXML(org.jdom.Element legend)
Loads the legend parameters from XML element tree |
GraphStyler.Color |
getBgColor()
Get the legend background color |
GraphStyler.Color |
getBorderColor()
Get the legend background color |
GraphStyler.Font |
getFont()
Get the legend text font |
GraphStyler.Point |
getPosition()
Get the legend position |
java.lang.String |
getTitle()
Get the legend title |
void |
setBgColor(GraphStyler.Color color)
Set the legend background color |
void |
setBorderColor(GraphStyler.Color color)
Set the legend border color |
void |
setFont(GraphStyler.Font font)
Set the legend text font |
void |
setPosition(GraphStyler.Point position)
Set the legend position |
void |
setTitle(java.lang.String title)
Set the legend title |
org.jdom.Element |
toXML()
Return the legend parameters as XML element tree |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphStyler.Legend()
Method Detail |
---|
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
public void setPosition(GraphStyler.Point position)
position
- the point representing the position on the chart canvaspublic GraphStyler.Point getPosition()
public void setBgColor(GraphStyler.Color color)
public GraphStyler.Color getBgColor()
public void setBorderColor(GraphStyler.Color color)
public GraphStyler.Color getBorderColor()
public void setFont(GraphStyler.Font font)
public GraphStyler.Font getFont()
public org.jdom.Element toXML()
public void fromXML(org.jdom.Element legend)
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |