Module org.autogui
Package org.autogui.swing.util
Class PopupCategorized.CategorizedMenuItemComponentDelegate
java.lang.Object
org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponentDelegate
- All Implemented Interfaces:
PopupCategorized.CategorizedMenuItem,PopupCategorized.CategorizedMenuItemComponent
- Enclosing class:
PopupCategorized
public static class PopupCategorized.CategorizedMenuItemComponentDelegate
extends Object
implements PopupCategorized.CategorizedMenuItemComponent
a
PopupCategorized.CategorizedMenuItemComponent with custom category and subCategory-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCategorizedMenuItemComponentDelegate(PopupCategorized.CategorizedMenuItemComponent component, String category, String subCategory) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStrokeMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponent
getMenuItemWithAction
-
Field Details
-
component
-
category
-
subCategory
-
-
Constructor Details
-
CategorizedMenuItemComponentDelegate
public CategorizedMenuItemComponentDelegate(PopupCategorized.CategorizedMenuItemComponent component) -
CategorizedMenuItemComponentDelegate
public CategorizedMenuItemComponentDelegate(PopupCategorized.CategorizedMenuItemComponent component, String category, String subCategory)
-
-
Method Details
-
getMenuItem
- Specified by:
getMenuItemin interfacePopupCategorized.CategorizedMenuItemComponent
-
getName
- Specified by:
getNamein interfacePopupCategorized.CategorizedMenuItem- Specified by:
getNamein interfacePopupCategorized.CategorizedMenuItemComponent
-
getIcon
- Specified by:
getIconin interfacePopupCategorized.CategorizedMenuItem- Specified by:
getIconin interfacePopupCategorized.CategorizedMenuItemComponent
-
getCategory
- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItem- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItemComponent- Returns:
- a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
-
getSubCategory
- Specified by:
getSubCategoryin interfacePopupCategorized.CategorizedMenuItem- Returns:
- a sub-category name, typically PopupExtension.MENU_SUB_CATEGORY_... PopupCategorized.SUB_CATEGORY_...
-
remap
- Specified by:
remapin interfacePopupCategorized.CategorizedMenuItem- Specified by:
remapin interfacePopupCategorized.CategorizedMenuItemComponent
-