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

📄 div.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:   Div.java

package org.apache.struts2.components;

import com.opensymphony.xwork2.util.ValueStack;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

// Referenced classes of package org.apache.struts2.components:
//			AbstractRemoteCallUIBean

public class Div extends AbstractRemoteCallUIBean
{

	public static final String TEMPLATE = "div";
	public static final String TEMPLATE_CLOSE = "div-close";
	public static final String COMPONENT_NAME = org/apache/struts2/components/Div.getName();
	protected String updateFreq;
	protected String autoStart;
	protected String delay;
	protected String startTimerListenTopics;
	protected String stopTimerListenTopics;
	protected String refreshOnShow;
	protected String separateScripts;

	public Div(ValueStack stack, HttpServletRequest request, HttpServletResponse response)
	{
		super(stack, request, response);
	}

	public String getDefaultOpenTemplate()
	{
		return "div";
	}

	protected String getDefaultTemplate()
	{
		return "div-close";
	}

	public void evaluateExtraParams()
	{
		super.evaluateExtraParams();
		if (updateFreq != null)
			addParameter("updateFreq", findValue(updateFreq, java/lang/Integer));
		if (autoStart != null)
			addParameter("autoStart", findValue(autoStart, java/lang/Boolean));
		if (refreshOnShow != null)
			addParameter("refreshOnShow", findValue(refreshOnShow, java/lang/Boolean));
		if (delay != null)
			addParameter("delay", findValue(delay, java/lang/Integer));
		if (startTimerListenTopics != null)
			addParameter("startTimerListenTopics", findString(startTimerListenTopics));
		if (stopTimerListenTopics != null)
			addParameter("stopTimerListenTopics", findString(stopTimerListenTopics));
		if (separateScripts != null)
			addParameter("separateScripts", findValue(separateScripts, java/lang/Boolean));
	}

	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 setAfterLoading(String afterLoading)
	{
		this.afterLoading = afterLoading;
	}

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

}

⌨️ 快捷键说明

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