public class AppMenuFactory extends AppBaseFactory implements AppConstants
| Modifier and Type | Field and Description |
|---|---|
protected AppActionFactory |
appActionsFactory |
constraints, userManagerNEW_LINE, OS_NEW_LINEACTION_COM_ASSIGN_APP, ACTION_COM_CLOSE_APP, ACTION_COM_OPEN_WINDOW, ACTION_COM_RUN_APP, APP_DEF_SETTINGS_FILE, JAR_FOLDER_IMAGES, JAR_FOLDER_LANGS, JAR_FOLDER_RESS, JAR_RES_CLASS, JAR_RES_FILES, JAR_RES_IMAGES, JAR_RES_LANGS, MENU_TYPE_CLASSIC, MENU_TYPE_TREE, OBJ_TYPE_MENU, OBJ_TYPE_PANEL, OBJ_TYPE_TLB, SETT_TYPE_DB, SETT_TYPE_XML, SETT_XML_ATT_CLASS, SETT_XML_ATT_DEFAULT, SETT_XML_ATT_NAME, SETT_XML_ATT_SOURCE, SETT_XML_ATT_SRCTYPE, SETT_XML_NODE_GROUP, SETT_XML_NODE_LAF, SETT_XML_NODE_LAFS, SETT_XML_NODE_LANG, SETT_XML_NODE_LANGS, SETT_XML_NODE_LOG, SETT_XML_NODE_PATH, SETT_XML_NODE_RES, SETT_XML_NODE_RESS, SETT_XML_NODE_ROLE, SETT_XML_NODE_ROLES, SETT_XML_NODE_ROOT| Constructor and Description |
|---|
AppMenuFactory() |
AppMenuFactory(AppActionFactory actionFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected org.smyld.gui.SMYLDMenuClass |
createMenuItem(String menuClass,
String actionID,
String menuID,
String icon,
String defValue,
org.smyld.gui.event.ActionHandler srcActionHandler,
String isEnabled,
String tooltip,
String accelerator) |
static String |
createMethodName(String menuID,
String menuType) |
static String |
createMethodNameAsBar(String menuID) |
static String |
createMethodNameAsPopup(String menuID) |
static String |
createMethodNameAsTree(String menuID) |
Object |
getMenu(String menuMethName,
org.smyld.gui.event.ActionHandler actionHandler) |
addConstraint, canUse, canView, hasConstraintdebug, getLenName, insertInstanceValue, printInstanceValues, toStringprotected AppActionFactory appActionsFactory
public AppMenuFactory()
public AppMenuFactory(AppActionFactory actionFactory)
public Object getMenu(String menuMethName, org.smyld.gui.event.ActionHandler actionHandler)
protected org.smyld.gui.SMYLDMenuClass createMenuItem(String menuClass, String actionID, String menuID, String icon, String defValue, org.smyld.gui.event.ActionHandler srcActionHandler, String isEnabled, String tooltip, String accelerator)
Copyright © 2019 SMYLD. All rights reserved.