Package com.ribsapp.shapes
Class RBPage
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMPage
com.ribsapp.shapes.RBPage
- All Implemented Interfaces:
RMArchiver.Archiving
,RMShapePainter.Paint
,Cloneable
This page subclass represents an RJPanel in the ribs designer.
-
Field Summary
Fields inherited from class com.reportmill.shape.RMShape
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChildRB
(int anIndex) Returns the individual child at the given index as an RJShape.Returns the component represented by this page.getFont()
Returns the font for the shape.getPanel()
Returns the RJPanel represented by the page shape.Returns the document that this page is associated with.Editor method - indicates that linked text should use normal text inspector.void
paintShape
(RMShapePainter aPainter, Graphics2D g) Paints shape.void
Recache the entire shape tree (depth first).void
Sets the font for the shape.void
setHeight
(double aValue) Overrides normal implementation to propagate change to component.void
Sets the RJPanel represented by the page shape.void
setWidth
(double aValue) Overrides normal implementation to propagate change to component.Methods inherited from class com.reportmill.shape.RMPage
acceptsChildren, addChild, addLayerNamed, bringShapesToFront, clone, copy, equals, fromXML, getChildAnimator, getChildrenWhoDraw, getChildrenWhoHitTest, getLayer, getLayer, getLayerCount, getPageShape, getSelectedLayer, getSelectedLayerIndex, initWithArchiver, moveLayer, moveToNewLayer, page, pageBreakMax, pageBreakPageMax, pageMax, removeChild, removeLayer, resetLayers, rpgClone, selectLayer, selectLayer, sendShapesToBack, superSelectable, toXML, undoClone
Methods inherited from class com.reportmill.shape.RMShape
acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, canBeUngrouped, childrenSuperSelectImmediately, 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, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, 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, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, 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, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, put, putPropertyKey, reclaimChildren, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFill, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeightDeep, 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, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, toString, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
Methods inherited from class com.reportmill.base.RMObject
didUndo, getAnimAttribute, getClassNameShort
-
Constructor Details
-
RBPage
public RBPage()Creates a plain empty page.
-
-
Method Details
-
getRJDocument
Returns the document that this page is associated with. -
getPanel
Returns the RJPanel represented by the page shape. -
setPanel
Sets the RJPanel represented by the page shape. -
getComponent
Returns the component represented by this page. -
setWidth
public void setWidth(double aValue) Overrides normal implementation to propagate change to component. -
setHeight
public void setHeight(double aValue) Overrides normal implementation to propagate change to component. -
getFont
Description copied from class:RMShape
Returns the font for the shape. -
setFont
Description copied from class:RMShape
Sets the font for the shape. -
getChildRB
Returns the individual child at the given index as an RJShape. -
paintShape
Paints shape.- Specified by:
paintShape
in interfaceRMShapePainter.Paint
-
getToolClassName
Editor method - indicates that linked text should use normal text inspector.- Overrides:
getToolClassName
in classRMShape
-
recacheChildren
public void recacheChildren()Recache the entire shape tree (depth first).
-