Interface PaintOperation

    • Method Detail

      • setOwner

        void setOwner​(Tool value)
        Sets the owning tool.
        Parameters:
        value - the owner
      • getOwner

        Tool getOwner()
        Returns the owning tool.
        Returns:
        the owner
      • setEnabled

        void setEnabled​(boolean value)
        Sets whether the paint operation is enabled.
        Parameters:
        value - true if enabled
      • getEnabled

        boolean getEnabled()
        Returns whether the paint operation is enabled.
        Returns:
        true if enabled
      • enabledTipText

        String enabledTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • performPaint

        void performPaint​(Graphics2D g)
        Performs a paint operation.
        Parameters:
        g - the graphics context