Class EnumEditor<E extends Enum<E>>

java.lang.Object
net.ixdarklord.coolcatcore.internal.config.client.gui.editor.EnumEditor<E>
All Implemented Interfaces:
ValueEditor

public final class EnumEditor<E extends Enum<E>> extends Object implements ValueEditor
  • Constructor Details

    • EnumEditor

      public EnumEditor(EditSlot<E> slot, int width, int height)
  • Method Details

    • widget

      public FlatButton widget()
      Specified by:
      widget in interface ValueEditor
    • refresh

      public void refresh()
      Description copied from interface: ValueEditor
      Shows the slot's value again after it changed elsewhere (undo, reset, a preset, the server).
      Specified by:
      refresh in interface ValueEditor