Class RBPage

All Implemented Interfaces:
RMArchiver.Archiving, RMShapePainter.Paint, Cloneable

public class RBPage extends RMPage implements RMShapePainter.Paint
This page subclass represents an RJPanel in the ribs designer.
  • Constructor Details

    • RBPage

      public RBPage()
      Creates a plain empty page.
  • Method Details

    • 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 JComponent getComponent()
      Returns the component represented by this page.
    • setWidth

      public void setWidth(double aValue)
      Overrides normal implementation to propagate change to component.
      Overrides:
      setWidth in class RMShape
    • setHeight

      public void setHeight(double aValue)
      Overrides normal implementation to propagate change to component.
      Overrides:
      setHeight in class RMShape
    • getFont

      public RMFont getFont()
      Description copied from class: RMShape
      Returns the font for the shape.
      Overrides:
      getFont in class RMShape
    • setFont

      public void setFont(RMFont aFont)
      Description copied from class: RMShape
      Sets the font for the shape.
      Overrides:
      setFont in class RMShape
    • getChildRB

      public RJShape getChildRB(int anIndex)
      Returns the individual child at the given index as an RJShape.
    • paintShape

      public void paintShape(RMShapePainter aPainter, Graphics2D g)
      Paints shape.
      Specified by:
      paintShape in interface RMShapePainter.Paint
    • getToolClassName

      public String getToolClassName()
      Editor method - indicates that linked text should use normal text inspector.
      Overrides:
      getToolClassName in class RMShape
    • recacheChildren

      public void recacheChildren()
      Recache the entire shape tree (depth first).