|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMRectangle
com.reportmill.shape.RMText
com.reportmill.shape.graph.RMGraphLegend
public class RMGraphLegend
An inner class for Legend.
Field Summary |
---|
Fields inherited from class com.reportmill.shape.RMText |
---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_FULL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, WRAP_BASIC, WRAP_NONE, WRAP_SCALE |
Fields inherited from class com.reportmill.shape.RMShape |
---|
WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
Constructor Summary | |
---|---|
RMGraphLegend()
Creates a new graph legend. |
Method Summary | |
---|---|
RMShape |
cloneDeep()
Overrides clone deep to avoid cloning children (just do rebuild). |
void |
copy(java.lang.Object anObj)
Copies the attributes from the given object into receiver (for undo). |
RMXString |
createXString()
Overrides RMText method to create an xstring that defaults to Arial 10. |
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML unarchival. |
void |
fromXMLDeep(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML unarchival - override to suppress unarchival of children (don't really need this). |
int |
getChildCount()
Overrides shape implemnetation to actually rebuild. |
RMColor |
getColor(int anIndex)
Returns the color at the given index. |
RMGraph |
getGraph()
Returns the graph that owns this legend. |
java.lang.String |
getLegendText()
Returns the legend text. |
java.lang.String |
getString(int anIndex)
Returns the specific string at the given index. |
int |
getStringCount()
Returns the number of legend strings. |
void |
rebuild()
Notifies Legend to rebuild. |
RMShape |
rpgClone(com.reportmill.base.ReportMill aReportMill,
RMGraphRPG aGraphRPG)
Returns a RPG'd legend for the graph RPG. |
void |
setLegendText(java.lang.String aString)
Sets the legend text. |
void |
setStrings(java.util.List aStringsList)
Sets strings list. |
void |
setWidth(double aWidth)
Overrides shape implementation to register for rebuild. |
boolean |
superSelectable()
Editor method - indicates whether this shape can be super selected. |
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver)
XML archival. |
void |
toXMLDeep(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML archival - override to suppress archival of children. |
Methods inherited from class com.reportmill.shape.RMRectangle |
---|
getRadius |
Methods inherited from class com.reportmill.base.RMObject |
---|
didUndo, getAnimAttribute, getClassNameShort |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RMGraphLegend()
Method Detail |
---|
public RMGraph getGraph()
public RMXString createXString()
public java.lang.String getLegendText()
public void setLegendText(java.lang.String aString)
public int getStringCount()
public java.lang.String getString(int anIndex)
public void setStrings(java.util.List aStringsList)
public RMColor getColor(int anIndex)
public void rebuild()
public int getChildCount()
getChildCount
in class RMShape
public void setWidth(double aWidth)
setWidth
in class RMShape
public boolean equals(java.lang.Object anObj)
equals
in class RMText
public void copy(java.lang.Object anObj)
copy
in class RMText
public RMShape cloneDeep()
cloneDeep
in class RMShape
public RMShape rpgClone(com.reportmill.base.ReportMill aReportMill, RMGraphRPG aGraphRPG)
public boolean superSelectable()
superSelectable
in class RMText
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver)
toXML
in class RMText
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
fromXML
in class RMText
public void toXMLDeep(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
toXMLDeep
in class RMShape
public void fromXMLDeep(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
fromXMLDeep
in class RMShape
|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |