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

📄 frametag.java

📁 intra_mart是日本NDD公司开发的著名企业应用解决方案中间件。集成了J2ee服务器
💻 JAVA
📖 第 1 页 / 共 2 页
字号:

            // marginwidth
            writer.printAttribute("marginwidth", getMarginwidth());

            // marginheight
            writer.printAttribute("marginheight", getMarginheight());

            // noresize
            writer.printAttribute("noresize", getNoresize());

            // scrolling
            writer.printAttribute("scrolling", getScrolling());

            // ID
            writer.printAttribute("id", getId());

            // 僐傾懏惈
            this.coreAttrs.setTagWriter(writer);
            this.coreAttrs.printAttributes();

            // 奐巒僞僌偺廔椆
            pageContext.getOut().print(">");

            // 撪梕偺昞帵
            if (bodyContent != null) {
                pageContext.getOut().print(bodyContent.getString());
            }

            // 僞僌偺廔椆
            pageContext.getOut().print("</FRAME>");
        } catch (Exception e) {
            throw new FrameworkTagException(e.getMessage(), e);
        }

        return EVAL_PAGE;
    }

    /**
     * 僷儔儊乕僞傪捛壛偟傑偡丅
     *
     * @param name 僷儔儊乕僞柤
     * @param value 僷儔儊乕僞偺抣
     */
    public void addParameter(String name, String value) {
        FrameworkTagParam param = new FrameworkTagParam();
        param.setName(name);
        param.setValue(value);
        this.params.add(param);
    }

    /**
     * 傾僾儕働乕僔儑儞傪庢摼偟傑偡丅
     *
     * @return 傾僾儕働乕僔儑儞
     */
    public String getApplication() {
        return this.application;
    }

    /**
     * 傾僾儕働乕僔儑儞傪愝掕偟傑偡丅
     *
     * @param application 傾僾儕働乕僔儑儞
     */
    public void setApplication(String application) {
        this.application = application;
    }

    /**
     * 僒乕價僗傪庢摼偟傑偡丅
     *
     * @return 僒乕價僗
     */
    public String getService() {
        return this.service;
    }

    /**
     * service傪愝掕偟傑偡丅
     *
     * @param service 僒乕價僗
     */
    public void setService(String service) {
        this.service = service;
    }

    /**
     * longdesc傪庢摼偟傑偡丅
     *
     * @return longdesc
     */
    public String getLongdesc() {
        return this.longdesc;
    }

    /**
     * longdesc傪愝掕偟傑偡丅
     *
     * @param longdesc longdesc
     */
    public void setLongdesc(String longdesc) {
        this.longdesc = longdesc;
    }

    /**
     * name傪庢摼偟傑偡丅
     *
     * @return name
     */
    public String getName() {
        return this.name;
    }

    /**
     * name傪愝掕偟傑偡丅
     *
     * @param name name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * frameborder傪庢摼偟傑偡丅
     *
     * @return frameborder
     */
    public String getFrameborder() {
        return this.frameborder;
    }

    /**
     * frameborder傪愝掕偟傑偡丅
     *
     * @param frameborder frameborder
     */
    public void setFrameborder(String frameborder) {
        this.frameborder = frameborder;
    }

    /**
     * marginwidth傪庢摼偟傑偡丅
     *
     * @return marginwidth
     */
    public String getMarginwidth() {
        return this.marginwidth;
    }

    /**
     * marginwidth傪愝掕偟傑偡丅
     *
     * @param marginwidth marginwidth
     */
    public void setMarginwidth(String marginwidth) {
        this.marginwidth = marginwidth;
    }

    /**
     * marginheight傪庢摼偟傑偡丅
     *
     * @return marginheight
     */
    public String getMarginheight() {
        return this.marginheight;
    }

    /**
     * marginheight傪愝掕偟傑偡丅
     *
     * @param marginheight marginheight
     */
    public void setMarginheight(String marginheight) {
        this.marginheight = marginheight;
    }

    /**
     * noresize傪庢摼偟傑偡丅
     *
     * @return noresize
     */
    public String getNoresize() {
        return this.noresize;
    }

    /**
     * noresize傪愝掕偟傑偡丅
     *
     * @param noresize noresize
     */
    public void setNoresize(String noresize) {
        this.noresize = noresize;
    }

    /**
     * scrolling傪庢摼偟傑偡丅
     *
     * @return scrolling
     */
    public String getScrolling() {
        return this.scrolling;
    }

    /**
     * scrolling傪愝掕偟傑偡丅
     *
     * @param scrolling scrolling
     */
    public void setScrolling(String scrolling) {
        this.scrolling = scrolling;
    }

    /**
     * frameClass傪庢摼偟傑偡丅
     *
     * @return frameClass
     * @deprecated 偙偺儊僜僢僪偱偼側偔{@link #getFrameclass()}儊僜僢僪傪巊梡偟偰偔偩偝偄丅
     */
    public String getFrameClass() {
        return getFrameclass();
    }

    /**
     * frameClass傪愝掕偟傑偡丅
     *
     * @param frameClass frameClass
     * @deprecated 偙偺儊僜僢僪偱偼側偔{@link #setFrameclass(String)}儊僜僢僪傪巊梡偟偰偔偩偝偄丅
     */
    public void setFrameClass(String frameClass) {
        setFrameclass(frameClass);
    }

    /**
     * frameClass傪庢摼偟傑偡丅
     *
     * @return frameClass
     */
    public String getFrameclass() {
        return this.coreAttrs.getTagClass();
    }

    /**
     * frameClass傪愝掕偟傑偡丅
     *
     * @param frameClass frameClass
     */
    public void setFrameclass(String frameClass) {
        this.coreAttrs.setTagClass(frameClass);
    }

    /**
     * style傪庢摼偟傑偡丅
     *
     * @return style
     */
    public String getStyle() {
        return this.coreAttrs.getStyle();
    }

    /**
     * style傪愝掕偟傑偡丅
     *
     * @param style style
     */
    public void setStyle(String style) {
        this.coreAttrs.setStyle(style);
    }

    /**
     * title傪庢摼偟傑偡丅
     *
     * @return title
     */
    public String getTitle() {
        return this.coreAttrs.getTitle();
    }

    /**
     * title傪愝掕偟傑偡丅
     *
     * @param title title
     */
    public void setTitle(String title) {
        this.coreAttrs.setTitle(title);
    }
}

⌨️ 快捷键说明

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