Class JScrollPaneShape

    • Constructor Detail

      • JScrollPaneShape

        public JScrollPaneShape()
        Creates a new scroll pane shape.
      • JScrollPaneShape

        public JScrollPaneShape​(javax.swing.JComponent aComponent)
        Creates a new scroll pane shape.
    • Method Detail

      • getScrollPane

        public javax.swing.JScrollPane getScrollPane()
        Returns the scroll pane shape's scroll pane.
      • getClipRect

        public RMRect getClipRect()
        Returns the rectangle for the viewport view.
        Overrides:
        getClipRect in class RJShape
      • paintImage

        public void paintImage​(java.awt.Graphics2D g)
        Overrides default implementation to do brute force painting.
        Overrides:
        paintImage in class RJShape
      • recache

        public void recache()
        Overrides RJShape implementation to also indicate component should relayout.
        Overrides:
        recache in class RJShape
      • setWidthDeep

        public void setWidthDeep​(float value,
                                 boolean constrain)
        Override default implementation to deal with viewport view shape.
        Overrides:
        setWidthDeep in class RMShape
      • setHeightDeep

        public void setHeightDeep​(float value,
                                  boolean constrain)
        Override default implementation to deal with viewport view shape.
        Overrides:
        setHeightDeep in class RMShape
      • boundsChanged

        public void boundsChanged​(RMShape child)
        Description copied from class: RMShape
        Notifies this shape that a given shape's bounds have changed (presumably a descendant).
        Overrides:
        boundsChanged in class RMShape
      • superSelectable

        public boolean superSelectable()
        Overrides default implementation to indicate shape is super selectable.
        Overrides:
        superSelectable in class RMShape
      • childrenSuperSelectImmediately

        public boolean childrenSuperSelectImmediately()
        Overrides default implementation to indicate children should super select immediately.
        Overrides:
        childrenSuperSelectImmediately in class RMShape
      • toXML

        public RXElement 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.
        Overrides:
        toXML in class RJShape