Module org.autogui
Package org.autogui.swing.util
Class PopupCategorized.CategorizedMenuItemLabelDelegate
java.lang.Object
org.autogui.swing.util.PopupCategorized.CategorizedMenuItemLabelDelegate
- All Implemented Interfaces:
PopupCategorized.CategorizedMenuItem
,PopupCategorized.CategorizedMenuItemLabel
- Enclosing class:
PopupCategorized
public static class PopupCategorized.CategorizedMenuItemLabelDelegate
extends Object
implements PopupCategorized.CategorizedMenuItemLabel
a
PopupCategorized.CategorizedMenuItemLabel
with custom category and subCategory-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCategorizedMenuItemLabelDelegate
(PopupCategorized.CategorizedMenuItemLabel label, String category, String subCategory) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStroke
-
Field Details
-
label
-
category
-
subCategory
-
-
Constructor Details
-
CategorizedMenuItemLabelDelegate
-
CategorizedMenuItemLabelDelegate
public CategorizedMenuItemLabelDelegate(PopupCategorized.CategorizedMenuItemLabel label, String category, String subCategory)
-
-
Method Details
-
getName
- Specified by:
getName
in interfacePopupCategorized.CategorizedMenuItem
-
getIcon
- Specified by:
getIcon
in interfacePopupCategorized.CategorizedMenuItem
-
getCategory
- Specified by:
getCategory
in interfacePopupCategorized.CategorizedMenuItem
- Specified by:
getCategory
in interfacePopupCategorized.CategorizedMenuItemLabel
- Returns:
- a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
-
getSubCategory
- Specified by:
getSubCategory
in interfacePopupCategorized.CategorizedMenuItem
- Returns:
- a sub-category name, typically PopupExtension.MENU_SUB_CATEGORY_... PopupCategorized.SUB_CATEGORY_...
-
remap
- Specified by:
remap
in interfacePopupCategorized.CategorizedMenuItem
- Specified by:
remap
in interfacePopupCategorized.CategorizedMenuItemLabel
-