Package gg.xp.xivsupport.gui.tables
Class RightClickOptionRepo
java.lang.Object
gg.xp.xivsupport.gui.tables.RightClickOptionRepo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
configureTable
(JTable table, CustomTableModel<?> model) Configure a table using these optionsstatic RightClickOptionRepo
of
(CustomRightClickOption... options) Create a standalone RightClickOptionRepostatic RightClickOptionRepo
of
(List<CustomRightClickOption> options) Create a standalone RightClickOptionRepowithMore
(CustomRightClickOption... newOptions) Create a RightClickOptionRepo which is linked with the current instance and inherits all options from the parent.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
RightClickOptionRepo
public RightClickOptionRepo()
-
-
Method Details
-
addOption
-
getOptions
-
of
Create a standalone RightClickOptionRepo- Parameters:
options
- The right-click options- Returns:
- A standalone repo with the given options
-
of
Create a standalone RightClickOptionRepo- Parameters:
options
- The right-click options- Returns:
- A standalone repo with the given options
-
withMore
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
Configure a table using these options- Parameters:
table
- The tablemodel
- The table model
-