|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts2.components.Component
org.apache.struts2.components.UIBean
org.apache.empire.struts2.jsp.components.ControlComponent
org.apache.empire.struts2.jsp.components.InputControlComponent
public class InputControlComponent
Nested Class Summary | |
---|---|
static class |
InputControlComponent.DisabledMode
|
static class |
InputControlComponent.RenderType
|
Field Summary |
---|
Fields inherited from class org.apache.empire.struts2.jsp.components.ControlComponent |
---|
bodyUsage, column, format, log, nullValue, options, recordValue |
Fields inherited from class org.apache.struts2.components.UIBean |
---|
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 |
Fields inherited from class org.apache.struts2.components.Component |
---|
actionMapper, COMPONENT_STACK, parameters, stack, throwExceptionOnELFailure |
Constructor Summary | |
---|---|
InputControlComponent(InputControl control,
com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.apache.empire.struts2.jsp.components.ControlComponent |
---|
end, getAction, getColumn, getCssClass, getCssStyle, getDefaultTemplate, getFormat, getNullValue, getOnclick, getOndblclick, getOptions, getTranslation, getUserLocale, getValue, setBodyUsage, setColumn, setFormat, setNullValue, setOptions, setRecordValue, start, usesBody |
Methods inherited from class org.apache.struts2.components.UIBean |
---|
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 |
Methods inherited from class org.apache.struts2.components.Component |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.empire.struts2.jsp.controls.InputControl.ValueInfo |
---|
getColumn, getCssClass, getCssStyle, getFormat, getNullValue, getOnclick, getOndblclick, getOptions, getTranslation, getUserLocale, getValue |
Constructor Detail |
---|
public InputControlComponent(InputControl control, com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |