cpw.mods.fml.client

## Interface IModGuiFactory.RuntimeOptionGuiHandler

- Enclosing interface:
    IModGuiFactory

      public static interface IModGuiFactory.RuntimeOptionGuiHandler

  Responsible for painting the mod specific section of runtime options GUI for a particular category

- - ### Method Summary

    Methods
    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.

- - ### Method Detail

    - #### addWidgets

          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. GUI identifier numbers should start at 100 and increase. The callback will be through `actionCallback(int)`
      Parameters:
        `x` - X
        `y` - Y
        `w` - width
        `h` - height

    - #### paint

          void paint(int x,
                   int y,
                   int w,
                   int h)

      Called to paint the rectangle specified.
      Parameters:
        `x` - X
        `y` - Y
        `w` - width
        `h` - height

    - #### actionCallback

          void actionCallback(int actionId)

      Called if a widget with id >= 100 is fired.
      Parameters:
        `actionId` - the actionId of the firing widget

    - #### close

          void close()

      Called when this handler is about to go away (probably replaced by another one, or closing the option screen)