Interface Resizable

  • All Known Implementing Classes:
    Box, Button, TextBox

    public interface Resizable
    The `Resizable` interface defines methods for setting width and height. Classes implementing this interface can be resized dynamically.
    • Method Detail

      • setWidth

        void setWidth​(int width)
        Sets the width of the resizable object.
        Parameters:
        width - The new width to be set.
      • setHeight

        void setHeight​(int height)
        Sets the height of the resizable object.
        Parameters:
        height - The new height to be set.