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, recordValueaccesskey, 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, usesBodyaddFormParameter, 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, setValueaddAllParameters, addParameter, altSyntax, altSyntax, completeExpressionIfAltSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, setThrowExceptionsOnELFailure, stripExpressionIfAltSyntax, stripExpressionIfAltSyntax, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumn, getCssClass, getCssStyle, getFormat, getNullValue, getOnclick, getOndblclick, getOptions, getTranslation, getUserLocale, getValuepublic 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 ControlComponentpublic 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.ValueInfogetId in class ControlComponentpublic final String getName()
getName in interface InputControl.ControlInfopublic final boolean getDisabled()
getDisabled in interface InputControl.ControlInfopublic final String getTabindex()
getTabindex in interface InputControl.ControlInfopublic final String getAccesskey()
public final String getOnchange()
getOnchange in interface InputControl.ControlInfopublic final String getOnfocus()
getOnfocus in interface InputControl.ControlInfopublic final String getOnblur()
getOnblur in interface InputControl.ControlInfopublic final boolean hasError()
hasError in interface InputControl.ControlInfopublic int getHSize()
getHSize in interface InputControl.ControlInfopublic int getVSize()
getVSize in interface InputControl.ControlInfopublic void setLabelClass(String labelClass)
public void setLabelStyle(String labelStyle)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.