Class BasicAutomarkSettingGroupGui<X extends Enum<X>>

Type Parameters:
X - The enum type of the MultiSlotAutomarkSetting
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class BasicAutomarkSettingGroupGui<X extends Enum<X>> extends TitleBorderPanel
Class for quickly building a panel that contains many constituent auto mark assignment settings from one single MultiSlotAutomarkSettings setting.
See Also:
  • Constructor Details

    • BasicAutomarkSettingGroupGui

      public BasicAutomarkSettingGroupGui(String title, MultiSlotAutomarkSetting<X> bigSetting, int perRowOrColumn, boolean transpose)
      Parameters:
      title - A title to put on this panel
      bigSetting - The automark group setting
      perRowOrColumn - How many rows (if transpose is false) or columns (if transpose is true)
      transpose - If false, the first setting will be in the top-left cell, then it will move to the right until the desired amount per row has been attained. Then, it will move to the left-most cell on the next row, and repeat. If true, the first setting will still be the top-left cell, but it will move down until the desired amount per column has been attained. Then, it will move to the top-most cell on the next column, and repeat.