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

📄 divtag.java

📁 struts 2 核心包 的源码 有错误是难免的
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   DivTag.java

package org.apache.struts2.views.jsp.ui;

import com.opensymphony.xwork2.util.ValueStack;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.components.Component;
import org.apache.struts2.components.Div;

// Referenced classes of package org.apache.struts2.views.jsp.ui:
//			AbstractRemoteCallUITag

public class DivTag extends AbstractRemoteCallUITag
{

	private static final long serialVersionUID = 0x49ae2d7f6647a6beL;
	protected String updateFreq;
	protected String autoStart;
	protected String delay;
	protected String startTimerListenTopics;
	protected String stopTimerListenTopics;
	protected String refreshOnShow;
	protected String separateScripts;

	public DivTag()
	{
	}

	public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res)
	{
		return new Div(stack, req, res);
	}

	protected void populateParams()
	{
		super.populateParams();
		Div div = (Div)component;
		div.setUpdateFreq(updateFreq);
		div.setAutoStart(autoStart);
		div.setDelay(delay);
		div.setStartTimerListenTopics(startTimerListenTopics);
		div.setStopTimerListenTopics(stopTimerListenTopics);
		div.setRefreshOnShow(refreshOnShow);
		div.setSeparateScripts(separateScripts);
	}

	public void setAutoStart(String autoStart)
	{
		this.autoStart = autoStart;
	}

	public void setDelay(String delay)
	{
		this.delay = delay;
	}

	public void setUpdateFreq(String updateInterval)
	{
		updateFreq = updateInterval;
	}

	public void setStartTimerListenTopics(String startTimerListenTopic)
	{
		startTimerListenTopics = startTimerListenTopic;
	}

	public void setStopTimerListenTopics(String stopTimerListenTopic)
	{
		stopTimerListenTopics = stopTimerListenTopic;
	}

	public void setRefreshOnShow(String refreshOnShow)
	{
		this.refreshOnShow = refreshOnShow;
	}

	public void setSeparateScripts(String separateScripts)
	{
		this.separateScripts = separateScripts;
	}
}

⌨️ 快捷键说明

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