public static interface IModGuiFactory.RuntimeOptionGuiHandler
Modifier and Type | Method and Description |
---|---|
void |
actionCallback(int actionId)
Called if a widget with id >= 100 is fired.
|
void |
addWidgets(java.util.List<Gui> widgetList,
int x,
int y,
int w,
int h)
Called to add widgets to the screen, such as buttons.
|
void |
close()
Called when this handler is about to go away (probably replaced by another one, or closing the
option screen)
|
void |
paint(int x,
int y,
int w,
int h)
Called to paint the rectangle specified.
|
void addWidgets(java.util.List<Gui> widgetList, int x, int y, int w, int h)
actionCallback(int)
x
- Xy
- Yw
- widthh
- heightvoid paint(int x, int y, int w, int h)
x
- Xy
- Yw
- widthh
- heightvoid actionCallback(int actionId)
actionId
- the actionId of the firing widgetvoid close()