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

📄 action.java~20~

📁 封装了SQL、Socket、WAP、MIME等功能的通用组件
💻 JAVA~20~
字号:
package org.lazybug.skit;

/**
 * <p>Title: Geniux</p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2006</p>
 *
 * <p>Company: </p>
 *
 * @author David Lau
 * @version 1.0
 */
public class Action extends Component
{
    /**
     *
     * @return String
     * @todo Implement this org.lazybug.skit.Component method
     */
    public String getScriptTag()
    {
        return "";
    }

    public String getPopMenuTag()
    {
        StringBuffer sb = new StringBuffer();
        for(int i = 0; i < this.getComponentCount(); i++ )
        {
            if( i > 0 )
                sb.append("<tr><td class='skit_actions_line'/></tr>");
            sb.append(this.getComponent(i));
        }
        return sb.toString();
    }
    /**
     *
     * @return String
     */
    public String toString()
    {
        StringBuffer sb = new StringBuffer();
        sb.append("<table id='"+this.getId()+"' style='cursor:hand;display:none' cellspacing='0' cellpadding='0'>");
        for(int i = 0; i < this.getComponentCount(); i++ )
        {
            if( i > 0 )
                sb.append("<tr><td class='skit_actions_line'/></tr>");
            sb.append(this.getComponent(i));
        }
	sb.append("</table>");
        return sb.toString();
    }
}

⌨️ 快捷键说明

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