Class RMGradientFillTool


  • public class RMGradientFillTool
    extends RMFillTool
    Swing UI editing for RMGradientFill.
    • Constructor Detail

      • RMGradientFillTool

        public RMGradientFillTool()
    • Method Detail

      • resetUI

        public void resetUI()
        Updates the UI controls from the currently selected shape.
        Overrides:
        resetUI in class RMFillTool
      • respondUI

        public void respondUI​(SwingEvent anEvent)
        Updates the currently selected shape from the UI controls.
        Overrides:
        respondUI in class RMFillTool
      • getDefaultFill

        public RMGradientFill getDefaultFill​(RMShape shape)
        Returns the gradient for the shape. Creates one if the shape doesn't have a gradient fill.
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the string used for the inspector window title.