|
ReportMill 8.0 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.RMLabels
This class represents a block of labels.
| Field Summary |
| Fields inherited from class com.reportmill.shape.RMShape |
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth, WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
| Constructor Summary | |
RMLabels()
Creates a new labels template. |
|
| Method Summary | |
boolean |
canBeUngrouped()
Editor method - indicates that labels block can't be ungrouped. |
boolean |
childrenSuperSelectImmediately()
Editor method - indicates that labels child should super-select immediately. |
java.lang.Object |
clone()
Standard clone implementation. |
void |
copy(java.lang.Object anObj)
Standard copy implementation. |
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
void |
fixSize()
Resets labels block width and height if any of labels other attributes have changed. |
java.lang.Object |
fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
XML unarchival. |
java.lang.String |
getListKey()
Returns the list key associated with labels. |
int |
getNumberOfColumns()
Returns the number of columns in the labels block. |
int |
getNumberOfRows()
Returns the number of rows in the labels block. |
boolean |
getPaginate()
Returns whether the labels should paginate. |
RMSort |
getSort(int anIdex)
Returns the specific sort at the given index. |
int |
getSortCount()
Returns the number of sorts associated with labels. |
java.util.List |
getSorts()
Returns the list of sorts associated with labels. |
float |
getSpacingHeight()
Returns the spacing between labels vertically. |
float |
getSpacingWidth()
Returns the spacing between labels horizontally. |
java.lang.Object |
initWithArchiver(com.reportmill.base.RMArchiver anArchiver)
Legacy unarchival. |
float |
labelHeight()
Returns the height of an individual label. |
float |
labelWidth()
Returns the width of an individual label. |
RMShape |
rpgClone(com.reportmill.base.ReportMill reportMill)
RPG clone - returns individual pages of RPG labels. |
void |
rpgClonePreprocess(com.reportmill.base.ReportMill reportMill)
RPG clone - actual work happens in preprocess so RM knows how many pages are needed. |
void |
setHeightDeep(float value,
boolean constrain)
Overrides shape method to recalc spacing height. |
void |
setListKey(java.lang.String aKeyPath)
Sets the list key associated with labels. |
void |
setNumberOfColumns(int aValue)
Sets the number of columns in the labels block. |
void |
setNumberOfRows(int aValue)
Sets the number of rows in the labels block. |
void |
setPaginate(boolean aFlag)
Sets whether the labels should paginate. |
void |
setSpacingHeight(float aValue)
Sets the spacing between labels vertically. |
void |
setSpacingWidth(float aValue)
Sets the spacing between labels horizontally. |
void |
setWidthDeep(float value,
boolean constrain)
Overrides shape method to recalc spacing width. |
boolean |
superSelectable()
Editor method - indicates that labels block is super-selectable. |
com.ribs.RXElement |
toXML(com.ribs.RXArchiver anArchiver)
XML archival. |
| 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 RMLabels()
| Method Detail |
public java.lang.String getListKey()
getListKey in class RMShapepublic void setListKey(java.lang.String aKeyPath)
setListKey in class RMShapepublic java.util.List getSorts()
public int getSortCount()
public RMSort getSort(int anIdex)
public int getNumberOfRows()
public void setNumberOfRows(int aValue)
public int getNumberOfColumns()
public void setNumberOfColumns(int aValue)
public float getSpacingWidth()
public void setSpacingWidth(float aValue)
public float getSpacingHeight()
public void setSpacingHeight(float aValue)
public boolean getPaginate()
public void setPaginate(boolean aFlag)
public float labelWidth()
public float labelHeight()
public void setWidthDeep(float value,
boolean constrain)
setWidthDeep in class RMShape
public void setHeightDeep(float value,
boolean constrain)
setHeightDeep in class RMShapepublic void fixSize()
public void rpgClonePreprocess(com.reportmill.base.ReportMill reportMill)
rpgClonePreprocess in class RMShapepublic RMShape rpgClone(com.reportmill.base.ReportMill reportMill)
rpgClone in class RMShapepublic boolean equals(java.lang.Object anObj)
equals in class RMShapepublic java.lang.Object clone()
clone in class RMShapepublic void copy(java.lang.Object anObj)
copy in class RMShapepublic java.lang.Object initWithArchiver(com.reportmill.base.RMArchiver anArchiver)
initWithArchiver in interface com.reportmill.base.RMArchiver.ArchivinginitWithArchiver in class RMShapepublic com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
toXML in class RMShape
public java.lang.Object fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
fromXML in class RMShapepublic boolean superSelectable()
superSelectable in class RMShapepublic boolean canBeUngrouped()
canBeUngrouped in class RMShapepublic boolean childrenSuperSelectImmediately()
childrenSuperSelectImmediately in class RMShape
|
ReportMill 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||