|
ReportMill 11 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.graphing.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). |
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 |
fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival. |
void |
fromXMLShapeChildren(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival - override to suppress unarchival of children (don't really need this). |
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,
RMGraph aGraph)
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(float aWidth)
Overrides shape implementation to register for rebuild. |
boolean |
superSelectable()
Editor method - indicates whether this shape can be super selected. |
com.reportmill.archiver.RXElement |
toXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival. |
void |
toXMLShapeChildren(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML archival - override to suppress archival of children. |
void |
validate()
Overrides shape implementation to actually rebuild. |
Methods inherited from class com.reportmill.shape.RMRectangle |
---|
getRadius |
Methods inherited from class com.reportmill.base.RMObject |
---|
addListener, addPropertyChangeListener, firePropertyChange, getListener, getListenerCount, getListeners, isFirePropertyChangeEnabled, isUndoing, removeListener, removePropertyChangeListener, setFirePropertyChangeEnabled, setUndoing |
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 validate()
validate
in class RMShape
public void rebuild()
public void setWidth(float aWidth)
setWidth
in class RMShape
public boolean equals(java.lang.Object anObj)
equals
in class RMText
public RMShape cloneDeep()
cloneDeep
in class RMShape
public RMShape rpgClone(com.reportmill.base.ReportMill aReportMill, RMGraph aGraph)
public boolean superSelectable()
superSelectable
in class RMText
public com.reportmill.archiver.RXElement toXMLShape(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXMLShape
in class RMText
public java.lang.Object fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShape
in class RMText
public void toXMLShapeChildren(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
toXMLShapeChildren
in class RMShape
public void fromXMLShapeChildren(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShapeChildren
in class RMShape
|
ReportMill 11 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |