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

📄 elimgtag.java

📁 structs源码
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/*
 * $Id: ELImgTag.java 479635 2006-11-27 14:27:18Z pbenedict $
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package org.apache.strutsel.taglib.html;

import org.apache.struts.taglib.html.ImgTag;
import org.apache.strutsel.taglib.utils.EvalHelper;

import javax.servlet.jsp.JspException;

/**
 * <p>Generate an IMG tag to the specified image URI. </p>
 *
 * <p>TODO:</p>
 *
 * <ul>
 *
 * <li>make the <strong>alt</strong> and <strong>src</strong> settable from
 * properties (for i18n)</li>
 *
 * <li>handle <strong>onLoad</strong>, <strong>onAbort</strong>, and
 * <strong>onError</strong> events (my JavaScript book is very old, there may
 * be more unsupported events in the past couple of IE versions) </li>
 *
 * </ul>
 *
 * <p> This class is a subclass of the class <code>org.apache.struts.taglib.html.ImgTag</code>
 * which provides most of the described functionality.  This subclass allows
 * all attribute values to be specified as expressions utilizing the
 * JavaServer Pages Standard Library expression language. </p>
 *
 * @version $Rev: 479635 $
 */
public class ELImgTag extends ImgTag {
    /**
     * Instance variable mapped to "action" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String actionExpr;

    /**
     * Instance variable mapped to "module" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String moduleExpr;

    /**
     * Instance variable mapped to "align" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String alignExpr;

    /**
     * Instance variable mapped to "alt" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String altExpr;

    /**
     * Instance variable mapped to "altKey" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String altKeyExpr;

    /**
     * Instance variable mapped to "border" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String borderExpr;

    /**
     * Instance variable mapped to "bundle" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String bundleExpr;

    /**
     * Instance variable mapped to "dir" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String dirExpr;

    /**
     * Instance variable mapped to "height" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String heightExpr;

    /**
     * Instance variable mapped to "hspace" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String hspaceExpr;

    /**
     * Instance variable mapped to "imageName" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String imageNameExpr;

    /**
     * Instance variable mapped to "ismap" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String ismapExpr;

    /**
     * Instance variable mapped to "lang" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String langExpr;

    /**
     * Instance variable mapped to "locale" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String localeExpr;

    /**
     * Instance variable mapped to "name" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String nameExpr;

    /**
     * Instance variable mapped to "onclick" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String onclickExpr;

    /**
     * Instance variable mapped to "ondblclick" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String ondblclickExpr;

    /**
     * Instance variable mapped to "onkeydown" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String onkeydownExpr;

    /**
     * Instance variable mapped to "onkeypress" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String onkeypressExpr;

    /**
     * Instance variable mapped to "onkeyup" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String onkeyupExpr;

    /**
     * Instance variable mapped to "onmousedown" tag attribute. (Mapping set
     * in associated BeanInfo class.)
     */
    private String onmousedownExpr;

    /**
     * Instance variable mapped to "onmousemove" tag attribute. (Mapping set
     * in associated BeanInfo class.)
     */
    private String onmousemoveExpr;

    /**
     * Instance variable mapped to "onmouseout" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String onmouseoutExpr;

    /**
     * Instance variable mapped to "onmouseover" tag attribute. (Mapping set
     * in associated BeanInfo class.)
     */
    private String onmouseoverExpr;

    /**
     * Instance variable mapped to "onmouseup" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String onmouseupExpr;

    /**
     * Instance variable mapped to "paramId" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String paramIdExpr;

    /**
     * Instance variable mapped to "page" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String pageExpr;

    /**
     * Instance variable mapped to "pageKey" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String pageKeyExpr;

    /**
     * Instance variable mapped to "paramName" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String paramNameExpr;

    /**
     * Instance variable mapped to "paramProperty" tag attribute. (Mapping set
     * in associated BeanInfo class.)
     */
    private String paramPropertyExpr;

    /**
     * Instance variable mapped to "paramScope" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String paramScopeExpr;

    /**
     * Instance variable mapped to "property" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String propertyExpr;

    /**
     * Instance variable mapped to "scope" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String scopeExpr;

    /**
     * Instance variable mapped to "src" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String srcExpr;

    /**
     * Instance variable mapped to "srcKey" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String srcKeyExpr;

    /**
     * Instance variable mapped to "style" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String styleExpr;

    /**
     * Instance variable mapped to "styleClass" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String styleClassExpr;

    /**
     * Instance variable mapped to "styleId" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String styleIdExpr;

    /**
     * Instance variable mapped to "title" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String titleExpr;

    /**
     * Instance variable mapped to "titleKey" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String titleKeyExpr;

    /**
     * Instance variable mapped to "useLocalEncoding" tag attribute. (Mapping
     * set in associated BeanInfo class.)
     */
    private String useLocalEncodingExpr;

    /**
     * Instance variable mapped to "usemap" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String usemapExpr;

    /**
     * Instance variable mapped to "vspace" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String vspaceExpr;

    /**
     * Instance variable mapped to "width" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    private String widthExpr;

    /**
     * Getter method for "action" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getActionExpr() {
        return (actionExpr);
    }

    /**
     * Getter method for "module" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getModuleExpr() {
        return (moduleExpr);
    }

    /**
     * Getter method for "align" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getAlignExpr() {
        return (alignExpr);
    }

    /**
     * Getter method for "alt" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getAltExpr() {
        return (altExpr);
    }

    /**
     * Getter method for "altKey" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getAltKeyExpr() {
        return (altKeyExpr);
    }

    /**
     * Getter method for "border" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getBorderExpr() {
        return (borderExpr);
    }

    /**
     * Getter method for "bundle" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getBundleExpr() {
        return (bundleExpr);
    }

    /**
     * Getter method for "dir" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getDirExpr() {
        return (dirExpr);
    }

    /**
     * Getter method for "height" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getHeightExpr() {
        return (heightExpr);
    }

    /**
     * Getter method for "hspace" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getHspaceExpr() {
        return (hspaceExpr);
    }

    /**
     * Getter method for "imageName" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getImageNameExpr() {
        return (imageNameExpr);
    }

    /**
     * Getter method for "ismap" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getIsmapExpr() {
        return (ismapExpr);
    }

    /**
     * Getter method for "lang" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getLangExpr() {
        return (langExpr);
    }

    /**
     * Getter method for "locale" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getLocaleExpr() {
        return (localeExpr);
    }

    /**
     * Getter method for "name" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getNameExpr() {
        return (nameExpr);
    }

    /**
     * Getter method for "onclick" tag attribute. (Mapping set in associated
     * BeanInfo class.)
     */
    public String getOnclickExpr() {
        return (onclickExpr);
    }

    /**
     * Getter method for "ondblclick" tag attribute. (Mapping set in
     * associated BeanInfo class.)
     */
    public String getOndblclickExpr() {
        return (ondblclickExpr);
    }

⌨️ 快捷键说明

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