Package com.ribsapp.shapes
Class JScrollPaneShape
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.ribsapp.shapes.RJShape
com.ribsapp.shapes.JScrollPaneShape
- All Implemented Interfaces:
- RMArchiver.Archiving,- RMShapePainter.Paint,- RJMinMaxSizeSettable,- Cloneable
An RJShape subclass to represent a JScrollPane.
- 
Field SummaryFields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new scroll pane shape.JScrollPaneShape(JComponent aComponent) Creates a new scroll pane shape.
- 
Method SummaryModifier and TypeMethodDescriptionvoidboundsChanged(RMShape child) Notifies this shape that a given shape's bounds have changed (presumably a descendant).booleanOverrides default implementation to indicate children should super select immediately.fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.Returns the rectangle for the viewport view.Returns the scroll pane shape's scroll pane.voidOverrides default implementation to do brute force painting.voidrecache()Overrides RJShape implementation to also indicate component should relayout.voidsetHeightDeep(float value, boolean constrain) Override default implementation to deal with viewport view shape.voidsetWidthDeep(float value, boolean constrain) Override default implementation to deal with viewport view shape.booleanOverrides default implementation to indicate shape is super selectable.toXML(RXArchiver anArchiver) Same as the code in JTabbedPaneShape, which temporarily removes the child so the default toXML() code doesn't remove it from this shape instance.Methods inherited from class com.ribsapp.shapes.RJShapeacceptsDrag, clone, cloneDeep, dragAtPoint, dragExit, dropAtPoint, dropKeyAtPoint, equals, findParentPanel, getAutosizing, getBorder, getBoundsInsideInset, getChildRB, getComponent, getDefaultMaximumSize, getDefaultMinimumSize, getFont, getImage, getMaximumSize, getMinimumSize, getName, getToolClassName, getToolTipText, paintImageOverkill, paintShape, recacheDeep, setAutosizing, setBorder, setClipsChildren, setComponent, setFill, setFont, setHeight, setMaximumSize, setMinimumSize, setName, setToolTipText, setWidth, setX, setY, super_fromXMLMethods inherited from class com.reportmill.shape.RMShapeacceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, bringShapesToFront, canBeUngrouped, 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, dragKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, 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, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getHeightToFit, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, 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, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getWidthToFit, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, initWithArchiver, 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, rpgClone, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidthDeep, setWidthToFit, setXY, setXY, setXYP, sizesToFitChildren, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, yMethods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShortMethods inherited from class java.lang.Objectfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ribsapp.shapes.RJMinMaxSizeSettablegetSize
- 
Constructor Details- 
JScrollPaneShapepublic JScrollPaneShape()Creates a new scroll pane shape.
- 
JScrollPaneShapeCreates a new scroll pane shape.
 
- 
- 
Method Details- 
getScrollPaneReturns the scroll pane shape's scroll pane.
- 
getClipRectReturns the rectangle for the viewport view.- Overrides:
- getClipRectin class- RJShape
 
- 
paintImageOverrides default implementation to do brute force painting.- Overrides:
- paintImagein class- RJShape
 
- 
recachepublic void recache()Overrides RJShape implementation to also indicate component should relayout.
- 
setWidthDeeppublic void setWidthDeep(float value, boolean constrain) Override default implementation to deal with viewport view shape.- Overrides:
- setWidthDeepin class- RMShape
 
- 
setHeightDeeppublic void setHeightDeep(float value, boolean constrain) Override default implementation to deal with viewport view shape.- Overrides:
- setHeightDeepin class- RMShape
 
- 
boundsChangedDescription copied from class:RMShapeNotifies this shape that a given shape's bounds have changed (presumably a descendant).- Overrides:
- boundsChangedin class- RMShape
 
- 
superSelectablepublic boolean superSelectable()Overrides default implementation to indicate shape is super selectable.- Overrides:
- superSelectablein class- RMShape
 
- 
childrenSuperSelectImmediatelypublic boolean childrenSuperSelectImmediately()Overrides default implementation to indicate children should super select immediately.- Overrides:
- childrenSuperSelectImmediatelyin class- RMShape
 
- 
toXMLSame as the code in JTabbedPaneShape, which temporarily removes the child so the default toXML() code doesn't remove it from this shape instance.
- 
fromXMLXML unarchival.
 
-