gboat2.base.view.components
类 TabbedPanel

java.lang.Object
  继承者 org.apache.struts2.components.Component
      继承者 org.apache.struts2.components.UIBean
          继承者 org.apache.struts2.components.ClosingUIBean
              继承者 gboat2.base.view.components.TabbedPanel

public class TabbedPanel
extends org.apache.struts2.components.ClosingUIBean

一种多panel(面板)的单内容区,每个panel(面板)与列表中的标题相关。
详见:jQuery UI Tabs Widget

该标签内部可以通过嵌入 <g2:sortable> 标签使得标签页可以进行排序,通过嵌入 <g2:topic> 设置触发通用事件时发布的消息

示例代码1:

 <h2>Content via Ajax (with formIds) & Sortable & Tabs at bottom & Open on mouseover</h2>
 <g2:form id="form_3">
     <g2:textfield name="test" value="hello" label="测试"/>
 </g2:form>
 <g2:tabbedpanel event="mouseover" tabPosition="bottom" cache="true" heightStyle="fill">
     <g2:tab id="tab31" href="#t31">选项卡1</g2:tab>
     <g2:tab id="tab32" href="none/example.action?forward=ajax/ajax1" formIds="form_3">选项卡2</g2:tab>
     <g2:tab id="tab33" href="none/example.action?forward=ajax/ajax2">选项卡3</g2:tab>
     <div id="t31">但是考虑到本身这个字符串就比较大,联想到Java内部是用UTF-16存储字符串的,而getBytes()会转换为系统默认编码(GBK或是UTF-8等等)。</div>
 </g2:tabbedpanel>
 

从以下版本开始:
3.0.0-SNAPSHOT
作者:
何明旺
另请参见:
Tab

字段摘要
protected  String active
           
protected  String cache
           
protected  String collapsible
           
protected  String disabled
           
protected  String event
           
protected  String heightStyle
           
protected  String hide
           
static String JQUERYACTION
           
protected  String onActivateTopics
           
protected  String onBeforeActivateTopics
           
protected  String onLoadTopics
           
protected  String show
           
protected  String tabPosition
           
static String TEMPLATE
           
static String TEMPLATE_CLOSE
           
protected  String useSelectedTabCookie
           
 
从类 org.apache.struts2.components.UIBean 继承的字段
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, dynamicAttributes, errorPosition, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, requiredLabel, requiredPosition, response, standardAttributesMap, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, uiThemeExpansionToken, value
 
从类 org.apache.struts2.components.Component 继承的字段
actionMapper, COMPONENT_STACK, parameters, stack, throwExceptionOnELFailure
 
构造方法摘要
TabbedPanel(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
方法摘要
 void evaluateExtraParams()
           
 String getDefaultOpenTemplate()
           
protected  String getDefaultTemplate()
           
 void setActive(String active)
           
 void setCache(String cache)
           
 void setCollapsible(String collapsible)
           
 void setDisabled(String disabled)
           
 void setEvent(String event)
           
 void setHeightStyle(String heightStyle)
           
 void setHide(String hide)
           
 void setOnActivateTopics(String onActivateTopics)
           
 void setOnBeforeActivateTopics(String onBeforeActivateTopics)
           
 void setOnLoadTopics(String onLoadTopics)
           
 void setShow(String show)
           
 void setTabPosition(String tabPosition)
           
 void setUseSelectedTabCookie(String useSelectedTabCookie)
           
 
从类 org.apache.struts2.components.ClosingUIBean 继承的方法
setOpenTemplate, start
 
从类 org.apache.struts2.components.UIBean 继承的方法
addFormParameter, buildTemplateName, copyParams, enableAncestorFormCustomOnsubmit, end, ensureAttributeSafelyNotEscaped, escape, evaluateNameValue, evaluateParams, getId, getStandardAttributes, getTemplate, getTemplateDir, getTheme, getTooltipConfig, getValueClassType, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDynamicAttributes, setErrorPosition, setId, setJavascriptTooltip, setKey, setLabel, setLabelposition, setLabelSeparator, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequiredLabel, setRequiredPosition, setTabindex, setTemplate, setTemplateDir, setTemplateEngineManager, setTheme, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setUIThemeExpansionToken, setValue
 
从类 org.apache.struts2.components.Component 继承的方法
addAllParameters, addParameter, altSyntax, completeExpressionIfAltSyntax, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, setThrowExceptionsOnELFailure, setUrlHelper, stripExpressionIfAltSyntax, toString, usesBody
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

TEMPLATE

public static final String TEMPLATE
另请参见:
常量字段值

TEMPLATE_CLOSE

public static final String TEMPLATE_CLOSE
另请参见:
常量字段值

JQUERYACTION

public static final String JQUERYACTION
另请参见:
常量字段值

active

protected String active

collapsible

protected String collapsible

disabled

protected String disabled

event

protected String event

heightStyle

protected String heightStyle

hide

protected String hide

show

protected String show

tabPosition

protected String tabPosition

cache

protected String cache

useSelectedTabCookie

protected String useSelectedTabCookie

onActivateTopics

protected String onActivateTopics

onBeforeActivateTopics

protected String onBeforeActivateTopics

onLoadTopics

protected String onLoadTopics
构造方法详细信息

TabbedPanel

public TabbedPanel(com.opensymphony.xwork2.util.ValueStack stack,
                   javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
方法详细信息

getDefaultOpenTemplate

public String getDefaultOpenTemplate()
指定者:
org.apache.struts2.components.ClosingUIBean 中的 getDefaultOpenTemplate

getDefaultTemplate

protected String getDefaultTemplate()
指定者:
org.apache.struts2.components.UIBean 中的 getDefaultTemplate

evaluateExtraParams

public void evaluateExtraParams()
覆盖:
org.apache.struts2.components.UIBean 中的 evaluateExtraParams

setActive

public void setActive(String active)

setCollapsible

public void setCollapsible(String collapsible)

setDisabled

public void setDisabled(String disabled)
覆盖:
org.apache.struts2.components.UIBean 中的 setDisabled

setEvent

public void setEvent(String event)

setHeightStyle

public void setHeightStyle(String heightStyle)

setHide

public void setHide(String hide)

setShow

public void setShow(String show)

setTabPosition

public void setTabPosition(String tabPosition)

setCache

public void setCache(String cache)

setUseSelectedTabCookie

public void setUseSelectedTabCookie(String useSelectedTabCookie)

setOnActivateTopics

public void setOnActivateTopics(String onActivateTopics)

setOnBeforeActivateTopics

public void setOnBeforeActivateTopics(String onBeforeActivateTopics)

setOnLoadTopics

public void setOnLoadTopics(String onLoadTopics)


Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.