Class RightClickOptionRepo

java.lang.Object
gg.xp.xivsupport.gui.tables.RightClickOptionRepo

public class RightClickOptionRepo extends Object
  • Field Details

  • Constructor Details

    • RightClickOptionRepo

      public RightClickOptionRepo()
  • Method Details

    • addOption

      public void addOption(CustomRightClickOption cro)
    • getOptions

      public List<CustomRightClickOption> getOptions()
    • of

      public static RightClickOptionRepo of(CustomRightClickOption... options)
      Create a standalone RightClickOptionRepo
      Parameters:
      options - The right-click options
      Returns:
      A standalone repo with the given options
    • of

      public static RightClickOptionRepo of(List<CustomRightClickOption> options)
      Create a standalone RightClickOptionRepo
      Parameters:
      options - The right-click options
      Returns:
      A standalone repo with the given options
    • withMore

      public RightClickOptionRepo withMore(CustomRightClickOption... newOptions)
      Create a RightClickOptionRepo which is linked with the current instance and inherits all options from the parent.
      Parameters:
      newOptions - The right-click options to add
      Returns:
      A standalone repo with the given options
    • configureTable

      public void configureTable(JTable table, CustomTableModel<?> model)
      Configure a table using these options
      Parameters:
      table - The table
      model - The table model