Class SizedComponent

java.lang.Object
net.mcreator.element.parts.gui.GUIComponent
net.mcreator.element.parts.gui.SizedComponent
All Implemented Interfaces:
Comparable<GUIComponent>
Direct Known Subclasses:
Button, TextField, Tooltip

public abstract class SizedComponent extends GUIComponent
This class is used to represent a GUI component that can have size defined by the user
  • Field Details

    • width

      public int width
    • height

      public int height
  • Constructor Details

    • SizedComponent

      public SizedComponent(int x, int y, int width, int height)
  • Method Details