Class RMFlowShape

    • Constructor Detail

      • RMFlowShape

        public RMFlowShape()
    • Method Detail

      • getSpacingX

        public double getSpacingX()
        Returns the horizontal spacing between children.
      • setSpacingX

        public void setSpacingX​(double aSpacing)
        Sets the horizontal spacing between children.
      • getSpacingY

        public double getSpacingY()
        Returns the vertical spacing between children.
      • setSpacingY

        public void setSpacingY​(double aSpacing)
        Sets the vertical spacing between children.
      • getWraps

        public boolean getWraps()
        Returns whether to wrap children to bounds of parent.
      • setWraps

        public void setWraps​(boolean aValue)
        Sets whether to wrap children to bounds of parent.
      • computePrefWidth

        protected double computePrefWidth​(double aHeight)
        Override to send to SnapLayout.
        Overrides:
        computePrefWidth in class RMParentShape
      • computePrefHeight

        protected double computePrefHeight​(double aWidth)
        Override to send to SnapLayout.
        Overrides:
        computePrefHeight in class RMParentShape
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent anEvent)
        Catch child size changes (when not doing layout) to set minimum size.
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
        Overrides:
        propertyChange in class RMShape