public class InputControlComponent extends ControlComponent implements InputControl.ControlInfo
Modifier and Type | Class and Description |
---|---|
static class |
InputControlComponent.DisabledMode |
static class |
InputControlComponent.RenderType |
bodyUsage, column, format, log, nullValue, options, recordValue
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, disabled, dynamicAttributes, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, required, requiredposition, response, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, value
Constructor and Description |
---|
InputControlComponent(InputControl control,
com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
Modifier and Type | Method and Description |
---|---|
String |
getAccesskey() |
boolean |
getDisabled() |
int |
getHSize() |
String |
getId() |
String |
getName() |
String |
getOnblur() |
String |
getOnchange() |
String |
getOnfocus() |
String |
getTabindex() |
int |
getVSize() |
boolean |
hasError() |
protected void |
render(HtmlWriter writer,
String body,
InputControl control) |
void |
setDisabledMode(String type) |
void |
setHSize(String size) |
void |
setLabelClass(String labelClass) |
void |
setLabelStyle(String labelStyle) |
void |
setReadOnly(boolean readOnly) |
void |
setRenderType(String type) |
void |
setVSize(String size) |
end, getAction, getColumn, getCssClass, getCssStyle, getDefaultTemplate, getFormat, getNullValue, getOnclick, getOndblclick, getOptions, getTranslation, getUserLocale, getValue, setBodyUsage, setColumn, setFormat, setNullValue, setOptions, setRecordValue, start, usesBody
addFormParameter, buildTemplateName, enableAncestorFormCustomOnsubmit, ensureAttributeSafelyNotEscaped, escape, evaluateExtraParams, evaluateNameValue, evaluateParams, getTemplate, getTemplateDir, getTheme, getTooltipConfig, getValueClassType, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDisabled, setDynamicAttributes, setId, setJavascriptTooltip, setKey, setLabel, setLabelposition, setLabelSeparator, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setRequiredposition, setTabindex, setTemplate, setTemplateDir, setTemplateEngineManager, setTheme, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setValue
addAllParameters, addParameter, altSyntax, altSyntax, completeExpressionIfAltSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, setThrowExceptionsOnELFailure, stripExpressionIfAltSyntax, stripExpressionIfAltSyntax, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumn, getCssClass, getCssStyle, getFormat, getNullValue, getOnclick, getOndblclick, getOptions, getTranslation, getUserLocale, getValue
public InputControlComponent(InputControl control, com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
protected void render(HtmlWriter writer, String body, InputControl control)
render
in class ControlComponent
public void setReadOnly(boolean readOnly)
public void setRenderType(String type)
public void setDisabledMode(String type)
public void setHSize(String size)
public void setVSize(String size)
public String getId()
getId
in interface InputControl.ValueInfo
getId
in class ControlComponent
public final String getName()
getName
in interface InputControl.ControlInfo
public final boolean getDisabled()
getDisabled
in interface InputControl.ControlInfo
public final String getTabindex()
getTabindex
in interface InputControl.ControlInfo
public final String getAccesskey()
public final String getOnchange()
getOnchange
in interface InputControl.ControlInfo
public final String getOnfocus()
getOnfocus
in interface InputControl.ControlInfo
public final String getOnblur()
getOnblur
in interface InputControl.ControlInfo
public final boolean hasError()
hasError
in interface InputControl.ControlInfo
public int getHSize()
getHSize
in interface InputControl.ControlInfo
public int getVSize()
getVSize
in interface InputControl.ControlInfo
public void setLabelClass(String labelClass)
public void setLabelStyle(String labelStyle)
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.