Module org.autogui
Package org.autogui.swing.util
Class PopupCategorized.CategorizedMenuItemComponentDefault
java.lang.Object
org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponentDefault
- All Implemented Interfaces:
PopupCategorized.CategorizedMenuItem,PopupCategorized.CategorizedMenuItemComponent
- Enclosing class:
PopupCategorized
public static class PopupCategorized.CategorizedMenuItemComponentDefault
extends Object
implements PopupCategorized.CategorizedMenuItemComponent
the default impl. of
PopupCategorized.CategorizedMenuItemComponent-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCategorizedMenuItemComponentDefault(JComponent component) CategorizedMenuItemComponentDefault(JComponent component, String category, String subCategory) -
Method Summary
Modifier and TypeMethodDescriptionMethods 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
getIcon, getMenuItemWithAction, getName
-
Field Details
-
component
-
category
-
subCategory
-
-
Constructor Details
-
CategorizedMenuItemComponentDefault
-
CategorizedMenuItemComponentDefault
public CategorizedMenuItemComponentDefault(JComponent component, String category, String subCategory)
-
-
Method Details
-
getMenuItem
- Specified by:
getMenuItemin 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
-