Package net.uku3lig.ukulib.config.option
Class WideWidgetCreator
java.lang.Object
net.uku3lig.ukulib.config.option.WideWidgetCreator
- All Implemented Interfaces:
WidgetCreator
Used to indicate that the created widget should be *wide*.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.gui.components.AbstractWidgetcreateWidget(int x, int y, int width, int height) Creates the widget.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.uku3lig.ukulib.config.option.WidgetCreator
createWidget, wide
-
Constructor Details
-
WideWidgetCreator
Creates a wide widget.- Parameters:
creator- The widget creator to be wrapped.
-
-
Method Details
-
createWidget
public net.minecraft.client.gui.components.AbstractWidget createWidget(int x, int y, int width, int height) Description copied from interface:WidgetCreatorCreates the widget.- Specified by:
createWidgetin interfaceWidgetCreator- Parameters:
x- The x positiony- The y positionwidth- The widget widthheight- The widget height- Returns:
- The created widget
-