Class JScrollPaneShape

    • Constructor Detail

      • JScrollPaneShape

        public JScrollPaneShape()
    • Method Detail

      • getHorizontalScrollBarPolicy

        public int getHorizontalScrollBarPolicy()
        Returns the horizontal scrollbar policy.
      • setHorizontalScrollBarPolicy

        public void setHorizontalScrollBarPolicy​(int aValue)
        Sets the horizontal scrollbar policy.
      • getVerticalScrollBarPolicy

        public int getVerticalScrollBarPolicy()
        Returns the vertical scrollbar policy.
      • setVerticalScrollBarPolicy

        public void setVerticalScrollBarPolicy​(int aValue)
        Sets the vertical scrollbar policy.
      • getViewportViewShape

        public JComponentShape getViewportViewShape()
        Returns the shape that is scrolling.
      • getComponentClass

        public java.lang.Class<? extends javax.swing.JComponent> getComponentClass()
        Returns the component class for this component shape.
        Overrides:
        getComponentClass in class JComponentShape
      • setWidth

        public void setWidth​(double aWidth)
        Override default implementation to deal with viewport view shape.
        Overrides:
        setWidth in class RMParentShape
      • setHeight

        public void setHeight​(double aHeight)
        Override default implementation to deal with viewport view shape.
        Overrides:
        setHeight in class RMParentShape
      • getBoundsMarkedDeep

        public RMRect getBoundsMarkedDeep()
        Override to account for fact that scroll pane clips viewport shape.
        Overrides:
        getBoundsMarkedDeep 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