⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modelmenu.java

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    /**     * @return     */    public String getDefaultTitleStyle() {        return this.defaultTitleStyle;    }    /**     * @return     */    public String getDefaultDisabledTitleStyle() {        return this.defaultDisabledTitleStyle;    }    /**     * @return     */    public String getDefaultSelectedStyle() {        return this.defaultSelectedStyle;    }    /**     * @return     */    public String getDefaultWidgetStyle() {        return this.defaultWidgetStyle;    }    /**     * @return     */    public String getDefaultTooltipStyle() {        return this.defaultTooltipStyle;    }    /**     * @return     */    public String getDefaultMenuItemName() {        return this.defaultMenuItemName;    }    /**     * @return     */    public String getFillStyle() {        return this.fillStyle;    }    /**     * @return     */    public String getSelectedMenuItemContextFieldName(Map context) {        return (String)this.selectedMenuItemContextFieldName.get(context);    }    /**     * @return     */    public String getCurrentMenuItemName() {        if (UtilValidate.isNotEmpty(this.currentMenuItemName))            return this.currentMenuItemName;        else            return this.defaultMenuItemName;    }    /**     * @return     */    public String getName() {        return this.name;    }    public String getCurrentMenuName(Map context) {        return this.name;    }    /**     * @return     */    public String getTitle() {        return this.title;    }    /**     * @return     */    public String getTooltip() {        return this.tooltip;    }    /**     * @return     */    public String getType() {        return this.type;    }    public Interpreter getBshInterpreter(Map context) throws EvalError {        Interpreter bsh = (Interpreter) context.get("bshInterpreter");        if (bsh == null) {            bsh = BshUtil.makeInterpreter(context);            context.put("bshInterpreter", bsh);        }        return bsh;    }    /**     * @param string     */    public void setDefaultEntityName(String string) {        this.defaultEntityName = string;    }    /**     * @param string     */    public void setDefaultTitleStyle(String string) {        this.defaultTitleStyle = string;    }    /**     * @param string     */    public void setDefaultSelectedStyle(String string) {        this.defaultSelectedStyle = string;    }    /**     * @param string     */    public void setDefaultWidgetStyle(String string) {        this.defaultWidgetStyle = string;    }    /**     * @param string     */    public void setDefaultTooltipStyle(String string) {        this.defaultTooltipStyle = string;    }    /**     * @param string     */    public void setDefaultMenuItemName(String string) {        this.defaultMenuItemName = string;    }    /**     * @param string     */    public void setCurrentMenuItemName(String string) {        this.currentMenuItemName = string;    }    /**     * @param string     */    public void setName(String string) {        this.name = string;    }    /**     * @param string     */    public void setTarget(String string) {        this.target = string;    }    /**     * @param string     */    public void setTitle(String string) {        this.title = string;    }    /**     * @param string     */    public void setTooltip(String string) {        this.tooltip = string;    }    /**     * @param string     */    public void setType(String string) {        this.type = string;    }    /**     * @param string     */    public void setDefaultAssociatedContentId(String string) {        this.defaultAssociatedContentId = new FlexibleStringExpander(string);    }    /**     * @param string     */    public void setMenuContainerStyle(String string) {        this.menuContainerStyleExdr = new FlexibleStringExpander(string);    }    /**     * @return     */    public String getDefaultAssociatedContentId(Map context) {        return defaultAssociatedContentId.expandString(context);    }    /**     * @return     */    public String getMenuContainerStyle(Map context) {        return menuContainerStyleExdr.expandString(context);    }    /**     * @param string     */    public void setDefaultPermissionOperation(String string) {        this.defaultPermissionOperation = string;    }    /**     * @return     */    public String getDefaultPermissionStatusId() {        return this.defaultPermissionStatusId;    }    /**     * @param string     */    public void setDefaultPermissionStatusId(String string) {        this.defaultPermissionStatusId = string;    }    /**     * @param string     */    public void setDefaultPrivilegeEnumId(String string) {        this.defaultPrivilegeEnumId = string;    }    /**     * @return     */    public String getDefaultPrivilegeEnumId() {        return this.defaultPrivilegeEnumId;    }    /**     * @param string     */    public void setOrientation(String string) {        this.orientation = string;    }    /**     * @return     */    public String getOrientation() {        return this.orientation;    }    /**     * @param string     */    public void setMenuWidth(String string) {        this.menuWidth = string;    }    /**     * @return     */    public String getMenuWidth() {        return this.menuWidth;    }    /**     * @param string     */    public void setDefaultCellWidth(String string) {        this.defaultCellWidth = string;    }    /**     * @return     */    public String getDefaultCellWidth() {        return this.defaultCellWidth;    }    /**     * @return     */    public String getDefaultPermissionOperation() {        return this.defaultPermissionOperation;    }    /**     * @param string     */    public void setDefaultPermissionEntityAction(String string) {        this.defaultPermissionEntityAction = string;    }    /**     * @return     */    public String getDefaultPermissionEntityAction() {        return this.defaultPermissionEntityAction;    }    /**     * @param boolean     */    public void setDefaultHideIfSelected(Boolean val) {        this.defaultHideIfSelected = val;    }    /**     * @return     */    public Boolean getDefaultHideIfSelected() {        return this.defaultHideIfSelected;    }    public ModelMenuItem getCurrentMenuItem() {                ModelMenuItem currentMenuItem = (ModelMenuItem)menuItemMap.get(this.currentMenuItemName);        if (currentMenuItem == null) {            currentMenuItem = (ModelMenuItem)menuItemMap.get(this.defaultMenuItemName);            if (currentMenuItem == null && menuItemList.size() > 0) {                currentMenuItem = (ModelMenuItem)menuItemList.get(0);            }        }        return currentMenuItem;    }    public List getMenuItemList() {        return menuItemList;    }    public void dump(StringBuffer buffer ) {        buffer.append("ModelMenu:"             + "\n name=" + this.name            + "\n type=" + this.type            + "\n target=" + this.target            + "\n title=" + this.title            + "\n tooltip=" + this.tooltip            + "\n defaultEntityName=" + this.defaultEntityName            + "\n defaultTitleStyle=" + this.defaultTitleStyle            + "\n defaultWidgetStyle=" + this.defaultWidgetStyle            + "\n defaultTooltipStyle=" + this.defaultTooltipStyle            + "\n defaultSelectedStyle=" + this.defaultSelectedStyle            + "\n defaultMenuItemName=" + this.defaultMenuItemName            + "\n currentMenuItemName=" + this.currentMenuItemName            + "\n\n");             Iterator iter = menuItemList.iterator();        while (iter.hasNext()) {            ModelMenuItem menuItem = (ModelMenuItem)iter.next();            menuItem.dump(buffer);        }                    return;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -