Package com.reportmill.shape
Class RMSplitShape
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMSplitShape
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
- Direct Known Subclasses:
- RMTable
This shape subclass is like a JSplitPane for shapes. It holds a numer of horizontally stacked children with
 dividers between them and lets the user resize them and correctly moves adjacent rows.
- 
Field SummaryFields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidOverrides shape method to incorporate a null title.voidaddChildWithTitle(RMShape child, String title) Adds a child to the split shape with the associated title.voidResets the location of children.booleanEditor method - indicates that split shapes can't be ungrouped.booleanEditor method - indicates that children should super select immediately when split shape is super selected.clone()Standard clone implementation.getChildWithTitle(String title) Returns a specific child with the given name.intgetResizeBarAtPoint(RMPoint aPoint) Returns the index of the resize bar that is hit by the given point.getResizeBarBounds(int index) Returns the bounds rect of the resize bar for the child at the given index.getTitleForChild(RMShape aShape) Returns the title for a given child.initWithArchiver(RMArchiver anArchiver) Legacy unarchival.voidremoveChild(int anIndex) Overrides the shape method to also remove child from title map.voidsetHeightDeep(float value, boolean constrain) Overrides shape method to short circuit height deep propagation and reset children.voidsetWidthDeep(float value, boolean constrain) Overrides shape method to directly propagate to children (is this really needed?).booleanEditor method - indicates that split shape is super selectable.Methods inherited from class com.reportmill.shape.RMShapeacceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, 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, copy, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, equals, fromXML, 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, getListKey, 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, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgClone, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, 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, setListKey, 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, toXML, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, yMethods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
- 
Constructor Details- 
RMSplitShapepublic RMSplitShape()Creates a new unitialized split shape.
 
- 
- 
Method Details- 
getChildWithTitleReturns a specific child with the given name.
- 
getTitleForChildReturns the title for a given child.
- 
addChildOverrides shape method to incorporate a null title.
- 
addChildWithTitleAdds a child to the split shape with the associated title.
- 
removeChildpublic void removeChild(int anIndex) Overrides the shape method to also remove child from title map.- Overrides:
- removeChildin class- RMShape
 
- 
arrangeChildrenpublic void arrangeChildren()Resets the location of children.
- 
setWidthDeeppublic void setWidthDeep(float value, boolean constrain) Overrides shape method to directly propagate to children (is this really needed?).- Overrides:
- setWidthDeepin class- RMShape
 
- 
setHeightDeeppublic void setHeightDeep(float value, boolean constrain) Overrides shape method to short circuit height deep propagation and reset children.- Overrides:
- setHeightDeepin class- RMShape
 
- 
getResizeBarBoundsReturns the bounds rect of the resize bar for the child at the given index.
- 
getResizeBarAtPointReturns the index of the resize bar that is hit by the given point.
- 
cloneStandard clone implementation.
- 
initWithArchiverLegacy unarchival.- Specified by:
- initWithArchiverin interface- RMArchiver.Archiving
- Overrides:
- initWithArchiverin class- RMShape
 
- 
superSelectablepublic boolean superSelectable()Editor method - indicates that split shape is super selectable.- Overrides:
- superSelectablein class- RMShape
 
- 
childrenSuperSelectImmediatelypublic boolean childrenSuperSelectImmediately()Editor method - indicates that children should super select immediately when split shape is super selected.- Overrides:
- childrenSuperSelectImmediatelyin class- RMShape
 
- 
canBeUngroupedpublic boolean canBeUngrouped()Editor method - indicates that split shapes can't be ungrouped.- Overrides:
- canBeUngroupedin class- RMShape
 
 
-