Package com.reportmill.shape
Class RMLabels
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMLabels
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
This class represents a block of labels.
- 
Field SummaryFields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanEditor method - indicates that labels block can't be ungrouped.booleanEditor method - indicates that labels child should super-select immediately.clone()Standard clone implementation.voidStandard copy implementation.booleanStandard equals implementation.voidfixSize()Resets labels block width and height if any of labels other attributes have changed.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.Returns the list key associated with labels.intReturns the number of columns in the labels block.intReturns the number of rows in the labels block.booleanReturns whether the labels should paginate.getSort(int anIdex) Returns the specific sort at the given index.intReturns the number of sorts associated with labels.getSorts()Returns the list of sorts associated with labels.floatReturns the spacing between labels vertically.floatReturns the spacing between labels horizontally.initWithArchiver(RMArchiver anArchiver) Legacy unarchival.floatReturns the height of an individual label.floatReturns the width of an individual label.rpgClone(ReportMill reportMill) RPG clone - returns individual pages of RPG labels.voidrpgClonePreprocess(ReportMill reportMill) RPG clone - actual work happens in preprocess so RM knows how many pages are needed.voidsetHeightDeep(float value, boolean constrain) Overrides shape method to recalc spacing height.voidsetListKey(String aKeyPath) Sets the list key associated with labels.voidsetNumberOfColumns(int aValue) Sets the number of columns in the labels block.voidsetNumberOfRows(int aValue) Sets the number of rows in the labels block.voidsetPaginate(boolean aFlag) Sets whether the labels should paginate.voidsetSpacingHeight(float aValue) Sets the spacing between labels vertically.voidsetSpacingWidth(float aValue) Sets the spacing between labels horizontally.voidsetWidthDeep(float value, boolean constrain) Overrides shape method to recalc spacing width.booleanEditor method - indicates that labels block is super-selectable.toXML(RXArchiver anArchiver) XML archival.Methods inherited from class com.reportmill.shape.RMShapeacceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPath, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightDeep, setHeightToFit, setLineWidth, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidth, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, yMethods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
- 
Constructor Details- 
RMLabelspublic RMLabels()Creates a new labels template.
 
- 
- 
Method Details- 
getListKeyReturns the list key associated with labels.- Overrides:
- getListKeyin class- RMShape
 
- 
setListKeySets the list key associated with labels.- Overrides:
- setListKeyin class- RMShape
 
- 
getSortsReturns the list of sorts associated with labels.
- 
getSortCountpublic int getSortCount()Returns the number of sorts associated with labels.
- 
getSortReturns the specific sort at the given index.
- 
getNumberOfRowspublic int getNumberOfRows()Returns the number of rows in the labels block.
- 
setNumberOfRowspublic void setNumberOfRows(int aValue) Sets the number of rows in the labels block.
- 
getNumberOfColumnspublic int getNumberOfColumns()Returns the number of columns in the labels block.
- 
setNumberOfColumnspublic void setNumberOfColumns(int aValue) Sets the number of columns in the labels block.
- 
getSpacingWidthpublic float getSpacingWidth()Returns the spacing between labels horizontally.
- 
setSpacingWidthpublic void setSpacingWidth(float aValue) Sets the spacing between labels horizontally.
- 
getSpacingHeightpublic float getSpacingHeight()Returns the spacing between labels vertically.
- 
setSpacingHeightpublic void setSpacingHeight(float aValue) Sets the spacing between labels vertically.
- 
getPaginatepublic boolean getPaginate()Returns whether the labels should paginate.
- 
setPaginatepublic void setPaginate(boolean aFlag) Sets whether the labels should paginate.
- 
labelWidthpublic float labelWidth()Returns the width of an individual label.
- 
labelHeightpublic float labelHeight()Returns the height of an individual label.
- 
setWidthDeeppublic void setWidthDeep(float value, boolean constrain) Overrides shape method to recalc spacing width.- Overrides:
- setWidthDeepin class- RMShape
 
- 
setHeightDeeppublic void setHeightDeep(float value, boolean constrain) Overrides shape method to recalc spacing height.- Overrides:
- setHeightDeepin class- RMShape
 
- 
fixSizepublic void fixSize()Resets labels block width and height if any of labels other attributes have changed.
- 
rpgClonePreprocessRPG clone - actual work happens in preprocess so RM knows how many pages are needed.- Overrides:
- rpgClonePreprocessin class- RMShape
 
- 
rpgCloneRPG clone - returns individual pages of RPG labels.
- 
equalsStandard equals implementation.
- 
cloneStandard clone implementation.
- 
copyStandard copy implementation.
- 
initWithArchiverLegacy unarchival.- Specified by:
- initWithArchiverin interface- RMArchiver.Archiving
- Overrides:
- initWithArchiverin class- RMShape
 
- 
toXMLXML archival.
- 
fromXMLXML unarchival.
- 
superSelectablepublic boolean superSelectable()Editor method - indicates that labels block is super-selectable.- Overrides:
- superSelectablein class- RMShape
 
- 
canBeUngroupedpublic boolean canBeUngrouped()Editor method - indicates that labels block can't be ungrouped.- Overrides:
- canBeUngroupedin class- RMShape
 
- 
childrenSuperSelectImmediatelypublic boolean childrenSuperSelectImmediately()Editor method - indicates that labels child should super-select immediately.- Overrides:
- childrenSuperSelectImmediatelyin class- RMShape
 
 
-