org.apache.struts2.components
类 InputTransferSelect

java.lang.Object
  继承者 org.apache.struts2.components.Component
      继承者 org.apache.struts2.components.UIBean
          继承者 org.apache.struts2.components.ListUIBean
              继承者 org.apache.struts2.components.InputTransferSelect

public class InputTransferSelect
extends ListUIBean

Create a input transfer select component which is basically an text input and <select ...> tag with buttons in the middle of them allowing text to be added to the transfer select. Will auto-select all its elements upon its containing form submision.

NOTE: The id and doubleId need not be supplied as they will generated provided that the inputtransferselect tag is being used in a form tag. The generated id and doubleId will be <form_id>_<inputtransferselect_doubleName> and <form_id>_<inputtransferselect_doubleName> respectively.

 

 <-- minimum configuration -->
 <s:inputtransferselect
      label="Favourite Cartoons Characters"
      name="cartoons"
      list="{'Popeye', 'He-Man', 'Spiderman'}"
  />

 
 


字段摘要
 
从类 org.apache.struts2.components.Component 继承的字段
COMPONENT_STACK
 
构造方法摘要
InputTransferSelect(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
方法摘要
 void evaluateExtraParams()
           
 String getAddLabel()
           
 String getAllowRemoveAll()
           
 String getAllowUpDown()
           
 String getButtonCssClass()
           
 String getButtonCssStyle()
           
 String getDownLabel()
           
 String getHeaderKey()
           
 String getHeaderValue()
           
 String getLeftTitle()
           
 String getMultiple()
           
 String getRemoveAllLabel()
           
 String getRemoveLabel()
           
 String getRightTitle()
           
 String getSize()
           
 String getUpLabel()
           
 void setAddLabel(String addLabel)
           
 void setAllowRemoveAll(String allowRemoveAll)
           
 void setAllowUpDown(String allowUpDown)
           
 void setButtonCssClass(String buttonCssClass)
           
 void setButtonCssStyle(String buttonCssStyle)
           
 void setDownLabel(String downLabel)
           
 void setHeaderKey(String headerKey)
           
 void setHeaderValue(String headerValue)
           
 void setLeftTitle(String leftTitle)
           
 void setMultiple(String multiple)
           
 void setRemoveAllLabel(String removeAllLabel)
           
 void setRemoveLabel(String removeLabel)
           
 void setRightTitle(String rightTitle)
           
 void setSize(String size)
           
 void setUpLabel(String upLabel)
           
 
从类 org.apache.struts2.components.ListUIBean 继承的方法
contains, setList, setListCssClass, setListCssStyle, setListKey, setListTitle, setListValue, setThrowExceptionOnNullValueAttribute
 
从类 org.apache.struts2.components.UIBean 继承的方法
addFormParameter, copyParams, end, evaluateParams, getId, getTemplate, getTemplateDir, getTheme, setAccesskey, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDisabled, 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, getComponentStack, getParameters, getStack, setActionMapper, setThrowExceptionsOnELFailure, setUrlHelper, start, usesBody
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

InputTransferSelect

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

evaluateExtraParams

public void evaluateExtraParams()
覆盖:
ListUIBean 中的 evaluateExtraParams

getSize

public String getSize()

setSize

public void setSize(String size)

getMultiple

public String getMultiple()

setMultiple

public void setMultiple(String multiple)

getAllowRemoveAll

public String getAllowRemoveAll()

setAllowRemoveAll

public void setAllowRemoveAll(String allowRemoveAll)

getAllowUpDown

public String getAllowUpDown()

setAllowUpDown

public void setAllowUpDown(String allowUpDown)

getLeftTitle

public String getLeftTitle()

setLeftTitle

public void setLeftTitle(String leftTitle)

getRightTitle

public String getRightTitle()

setRightTitle

public void setRightTitle(String rightTitle)

getButtonCssClass

public String getButtonCssClass()

setButtonCssClass

public void setButtonCssClass(String buttonCssClass)

getButtonCssStyle

public String getButtonCssStyle()

setButtonCssStyle

public void setButtonCssStyle(String buttonCssStyle)

getAddLabel

public String getAddLabel()

setAddLabel

public void setAddLabel(String addLabel)

getRemoveLabel

public String getRemoveLabel()

setRemoveLabel

public void setRemoveLabel(String removeLabel)

getRemoveAllLabel

public String getRemoveAllLabel()

setRemoveAllLabel

public void setRemoveAllLabel(String removeAllLabel)

getUpLabel

public String getUpLabel()

setUpLabel

public void setUpLabel(String upLabel)

getDownLabel

public String getDownLabel()

setDownLabel

public void setDownLabel(String downLabel)

getHeaderKey

public String getHeaderKey()

setHeaderKey

public void setHeaderKey(String headerKey)

getHeaderValue

public String getHeaderValue()

setHeaderValue

public void setHeaderValue(String headerValue)