Module org.autogui
Package org.autogui.swing.table
Class ObjectTableModel.PopupCategorizedForRowsOrCells
java.lang.Object
org.autogui.swing.util.PopupCategorized
org.autogui.swing.table.ObjectTableModel.PopupCategorizedForRowsOrCells
- All Implemented Interfaces:
Cloneable
,PopupExtension.PopupMenuBuilder
- Enclosing class:
ObjectTableModel
a menu builder for table items
-
Nested Class Summary
Nested classes/interfaces inherited from class org.autogui.swing.util.PopupCategorized
PopupCategorized.CategorizedMenuItem, PopupCategorized.CategorizedMenuItemAction, PopupCategorized.CategorizedMenuItemActionCheck, PopupCategorized.CategorizedMenuItemActionCheckDelegate, PopupCategorized.CategorizedMenuItemActionDelegate, PopupCategorized.CategorizedMenuItemComponent, PopupCategorized.CategorizedMenuItemComponentDefault, PopupCategorized.CategorizedMenuItemComponentDelegate, PopupCategorized.CategorizedMenuItemLabel, PopupCategorized.CategorizedMenuItemLabelDelegate, PopupCategorized.PopupCategorizedBuildingItems, PopupCategorized.PopupCategorizedFixed, PopupCategorized.SearchPopupAction
-
Field Summary
Fields inherited from class org.autogui.swing.util.PopupCategorized
CATEGORY_ACTION, CATEGORY_LABEL, itemConsumer, itemSupplier, menuBuilder, SUB_CATEGORY_LABEL_ACTION, SUB_CATEGORY_LABEL_HEADER, SUB_CATEGORY_LABEL_MISC, SUB_CATEGORY_LABEL_TYPE, SUB_CATEGORY_LABEL_VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionPopupCategorizedForRowsOrCells
(Supplier<? extends Collection<PopupCategorized.CategorizedMenuItem>> itemSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
buildCategoryLabel
(Map<String, List<JComponent>> categorizedMenuItems, String k, Map<String, List<JComponent>> map) protected void
buildMergeSubCategories
(Map<String, Map<String, List<JComponent>>> subCategorizedMenuItems, Map<String, List<JComponent>> categorizedMenuItems) Methods inherited from class org.autogui.swing.util.PopupCategorized
build, buildCategories, buildCleanEmptyCategories, buildNothing, buildSubCategories, clone, createMenuItem, createMenuItemFromObject, createMenuItems, createNewCategoryToSubCategoryToItems, createNewSubCategoryToItems, createPopupCategorizedBuildingItems, getItemSupplier, getJMenuItem, getMenuBuilder, getMenuItem, getMenuItemAction, getMenuItems, getMenuItemsSupplier, getPredefinedCategoriesOrder, getPredefinedSubCategoriesOrder, select, setItemSupplier, setMenuBuilder
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.autogui.swing.util.PopupExtension.PopupMenuBuilder
buildWithClear
-
Constructor Details
-
PopupCategorizedForRowsOrCells
public PopupCategorizedForRowsOrCells(Supplier<? extends Collection<PopupCategorized.CategorizedMenuItem>> itemSupplier)
-
-
Method Details
-
buildMergeSubCategories
protected void buildMergeSubCategories(Map<String, Map<String, List<JComponent>>> subCategorizedMenuItems, Map<String, List<JComponent>> categorizedMenuItems) - Overrides:
buildMergeSubCategories
in classPopupCategorized
-
buildCategoryLabel
protected void buildCategoryLabel(Map<String, List<JComponent>> categorizedMenuItems, String k, Map<String, List<JComponent>> map)
-