|
ReportMill 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.reportmill.foundation.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMSwitchShape
com.reportmill.shape.RMTableRow
| Field Summary | |
static java.lang.String |
VersionAlternate
|
static java.lang.String |
VersionFirstOnly
|
static java.lang.String |
VersionReprint
|
static java.lang.String |
VersionSplitHeader
|
static java.lang.String |
VersionStandard
|
static java.lang.String |
VersionTopNOthers
|
| Fields inherited from class com.reportmill.shape.RMShape |
HandleMaxXMaxY, HandleMaxXMidY, HandleMaxXMinY, HandleMidXMaxY, HandleMidXMinY, HandleMinXMaxY, HandleMinXMidY, HandleMinXMinY, HandleWidth |
| Constructor Summary | |
RMTableRow()
Creates a plain, unstructured table row. |
|
RMTableRow(boolean structured)
Creates a table row allowing the user to specify whether it should be structured. |
|
| Method Summary | |
void |
addChild(RMShape aChild,
int anIndex)
Adds the given child to this shape's children list at the given index. |
void |
arrange()
Recalcs column widths to fill table row width. |
void |
arrangeWithShape(RMShape aShape)
Recalcs column widths to fill table row width. |
void |
boundsChanged(RMShape shape)
Notifies this shape that a given shape's bounds have changed (presumably a descendant). |
boolean |
canBeUngrouped()
Editor method. |
boolean |
childrenSuperSelectImmediately()
Editor method. |
void |
copy(com.reportmill.foundation.RMObject anObj)
Copies applicable attributes from the given object. |
boolean |
equals(java.lang.Object anObj)
Standard implementation of Object equals. |
java.lang.Object |
fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
Tablerow unarchival. |
RMText |
getColumn(int anIndex)
|
float |
getMinSplitHeight()
Returns the minimum distance in points from the top of the row that this row can split. |
float |
getMinSplitRemainderHeight()
Returns the minimum distance in points from the bottom of the row that this row can split. |
boolean |
getMoveToBottom()
Returns whether this row should be moved to the bottom of the table during report generation. |
int |
getNumberOfChildrenToStayWith()
Returns the number of children this table row needs to be accompanied by, if some children run off page bottom. |
int |
getNumberOfColumns()
Returns the number of columns in this table row (really just child count). |
boolean |
getPrintEvenIfGroupIsEmpty()
Returns whether this row should print even if it has no children (assumed to be a header/summary row). |
boolean |
getReprintWhenWrapped()
Returns whether this row is reprinted on a new page when it's children cross a page boundary. |
RMTableRow |
getRowAbove()
|
java.lang.String |
getTitle()
Returns the title for this table row in it's parent table. |
int |
handleAtPoint(RMPoint point,
boolean isSuperSelected)
|
java.lang.Object |
initWithArchiver(com.reportmill.foundation.RMArchiver anArchiver)
Legacy unarchival. |
boolean |
isStructured()
Returns whether this table row is structured. |
RMShape |
rpgClone(com.reportmill.foundation.ReportMill rm,
com.reportmill.foundation.RMGroup group,
java.lang.String suggestedVersion)
This rpgClone method hands things off to RMTableRowRPG. |
java.lang.Object |
rpgCloneBase()
This rpgCloneBase over-ride is used to substitute RMTableRowRPG as the class for the rpgClone. |
void |
setMinSplitHeight(float aValue)
Sets the minimum distance in points from the top of the row that this row can split. |
void |
setMinSplitRemainderHeight(float aValue)
Sets the minimum distance in points from the top of the row that this row can split. |
void |
setMoveToBottom(boolean aFlag)
Sets whether this row should be moved to the bottom of the table during report generation. |
void |
setNumberOfChildrenToStayWith(int aValue)
Sets the number of children this table row needs to be accompanied by, if some children run off page bottom. |
void |
setNumberOfColumns(int count)
Sets the number of columns in this table row. |
void |
setPrintEvenIfGroupIsEmpty(boolean aFlag)
Returns whether this row should print even if it has no children (assumed to be a header/summary row). |
void |
setReprintWhenWrapped(boolean aFlag)
Sets whether this row is reprinted on a new page when it's children cross a page boundary. |
void |
setStructured(boolean aFlag)
Sets whether this table row should be structured. |
void |
setStructured(boolean aFlag,
boolean fixColumns)
Sets whether this table row should be structured, with an option to re-layout children. |
void |
setSyncStructureWithAlternates(boolean aFlag)
|
void |
setSyncStructureWithRowAbove(boolean aFlag)
|
boolean |
syncStructureWithAlternates()
|
boolean |
syncStructureWithRowAbove()
|
void |
syncStructureWithShape(RMShape aShape)
The syncStructureWithShape() method sync's the column widths of receiver to those of given shape. |
com.ribs.RXElement |
toXML(com.ribs.RXArchiver anArchiver)
TableRow archival. |
| Methods inherited from class com.reportmill.shape.RMSwitchShape |
acceptsChildren, addVersionWithShape, alternates, alternateShapeInstance, clone, cloneDeep, defaultVersion, getChildAnimator, getVersion, hasAlternateVersions, hasMouseVersions, hasVersion, removeVersion, rpgClone, rpgClone, setAlternates, setChildAnimator, setVersion, setVersionForKey, setVersionKey, setWidthDeep, superSelectable, version, versionKey, versions |
| Methods inherited from class com.reportmill.foundation.RMObject |
archiverClassName, didUndo, getAnimAttribute, getClassNameShort |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String VersionStandard
public static final java.lang.String VersionFirstOnly
public static final java.lang.String VersionReprint
public static final java.lang.String VersionAlternate
public static final java.lang.String VersionTopNOthers
public static final java.lang.String VersionSplitHeader
| Constructor Detail |
public RMTableRow()
public RMTableRow(boolean structured)
| Method Detail |
public java.lang.String getTitle()
public boolean isStructured()
public void setStructured(boolean aFlag)
public void setStructured(boolean aFlag,
boolean fixColumns)
public boolean syncStructureWithRowAbove()
public void setSyncStructureWithRowAbove(boolean aFlag)
public boolean syncStructureWithAlternates()
public void setSyncStructureWithAlternates(boolean aFlag)
public RMText getColumn(int anIndex)
public int getNumberOfColumns()
public void setNumberOfColumns(int count)
public int getNumberOfChildrenToStayWith()
public void setNumberOfChildrenToStayWith(int aValue)
public boolean getReprintWhenWrapped()
public void setReprintWhenWrapped(boolean aFlag)
public boolean getPrintEvenIfGroupIsEmpty()
public void setPrintEvenIfGroupIsEmpty(boolean aFlag)
public boolean getMoveToBottom()
public void setMoveToBottom(boolean aFlag)
public float getMinSplitHeight()
public void setMinSplitHeight(float aValue)
public float getMinSplitRemainderHeight()
public void setMinSplitRemainderHeight(float aValue)
public void arrange()
public void arrangeWithShape(RMShape aShape)
public void syncStructureWithShape(RMShape aShape)
public RMTableRow getRowAbove()
public boolean canBeUngrouped()
RMShape
canBeUngrouped in class RMShapepublic boolean childrenSuperSelectImmediately()
RMShape
childrenSuperSelectImmediately in class RMShape
public int handleAtPoint(RMPoint point,
boolean isSuperSelected)
handleAtPoint in class RMShapepublic void boundsChanged(RMShape shape)
RMShape
boundsChanged in class RMShape
public void addChild(RMShape aChild,
int anIndex)
RMShape
addChild in class RMShapepublic java.lang.Object rpgCloneBase()
rpgCloneBase in class RMShape
public RMShape rpgClone(com.reportmill.foundation.ReportMill rm,
com.reportmill.foundation.RMGroup group,
java.lang.String suggestedVersion)
public boolean equals(java.lang.Object anObj)
RMShape
equals in class RMSwitchShapepublic void copy(com.reportmill.foundation.RMObject anObj)
RMShape
copy in class RMSwitchShapepublic java.lang.Object initWithArchiver(com.reportmill.foundation.RMArchiver anArchiver)
RMSwitchShape
initWithArchiver in interface com.reportmill.foundation.RMArchiver.ArchivinginitWithArchiver in class RMSwitchShapepublic com.ribs.RXElement toXML(com.ribs.RXArchiver anArchiver)
toXML in class RMSwitchShape
public java.lang.Object fromXML(com.ribs.RXArchiver anArchiver,
com.ribs.RXElement anElement)
fromXML in class RMSwitchShape
|
ReportMill 7.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||