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
,java.lang.Cloneable
public class RBPage extends RMPage implements RMShapePainter.Paint
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 Constructor Description RBPage()
Creates a plain empty page.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RJShape
getChildRB(int anIndex)
Returns the individual child at the given index as an RJShape.javax.swing.JComponent
getComponent()
Returns the component represented by this page.RMFont
getFont()
Returns the font for the shape.RJPanel
getPanel()
Returns the RJPanel represented by the page shape.RBDocument
getRJDocument()
Returns the document that this page is associated with.java.lang.String
getToolClassName()
Editor method - indicates that linked text should use normal text inspector.void
paintShape(RMShapePainter aPainter, java.awt.Graphics2D g)
Paints shape.void
recacheChildren()
Recache the entire shape tree (depth first).void
setFont(RMFont aFont)
Sets the font for the shape.void
setHeight(double aValue)
Overrides normal implementation to propagate change to component.void
setPanel(RJPanel aPanel)
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
-
-
-
-
Method Detail
-
getRJDocument
public RBDocument getRJDocument()
Returns the document that this page is associated with.
-
getPanel
public RJPanel getPanel()
Returns the RJPanel represented by the page shape.
-
setPanel
public void setPanel(RJPanel aPanel)
Sets the RJPanel represented by the page shape.
-
getComponent
public javax.swing.JComponent 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
public RMFont getFont()
Description copied from class:RMShape
Returns the font for the shape.
-
setFont
public void setFont(RMFont aFont)
Description copied from class:RMShape
Sets the font for the shape.
-
getChildRB
public RJShape getChildRB(int anIndex)
Returns the individual child at the given index as an RJShape.
-
paintShape
public void paintShape(RMShapePainter aPainter, java.awt.Graphics2D g)
Paints shape.- Specified by:
paintShape
in interfaceRMShapePainter.Paint
-
getToolClassName
public java.lang.String 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).
-
-