|
||||||||||
| 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
public abstract class ControlComponent
| Field Summary | |
|---|---|
protected String |
bodyUsage
|
protected Column |
column
|
protected String |
format
|
protected static org.slf4j.Logger |
log
|
protected Object |
nullValue
|
protected Options |
options
|
protected Object |
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 | |
|---|---|
protected |
ControlComponent(InputControl control,
com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
| Method Summary | |
|---|---|
boolean |
end(Writer writer,
String body)
|
protected Object |
getAction()
|
Column |
getColumn()
|
String |
getCssClass()
|
String |
getCssStyle()
|
protected String |
getDefaultTemplate()
|
String |
getFormat()
|
String |
getId()
|
Object |
getNullValue()
|
String |
getOnclick()
|
String |
getOndblclick()
|
Options |
getOptions()
|
String |
getTranslation(String text)
|
Locale |
getUserLocale()
|
Object |
getValue()
|
protected abstract void |
render(HtmlWriter hw,
String body,
InputControl control)
|
void |
setBodyUsage(String bodyUsage)
|
void |
setColumn(Column column)
|
void |
setFormat(String format)
|
void |
setNullValue(Object nullValue)
|
void |
setOptions(Options options)
|
void |
setRecordValue(Object recordValue)
|
boolean |
start(Writer writer)
|
boolean |
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 |
| Field Detail |
|---|
protected static org.slf4j.Logger log
protected Column column
protected Options options
protected Object recordValue
protected Object nullValue
protected String bodyUsage
protected String format
| Constructor Detail |
|---|
protected ControlComponent(InputControl control,
com.opensymphony.xwork2.util.ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
| Method Detail |
|---|
protected String getDefaultTemplate()
getDefaultTemplate in class org.apache.struts2.components.UIBeanpublic boolean start(Writer writer)
start in class org.apache.struts2.components.Component
public final boolean end(Writer writer,
String body)
end in class org.apache.struts2.components.UIBeanprotected Object getAction()
public Locale getUserLocale()
getUserLocale in interface InputControl.ValueInfopublic final String getTranslation(String text)
getTranslation in interface InputControl.ValueInfo
protected abstract void render(HtmlWriter hw,
String body,
InputControl control)
public boolean usesBody()
usesBody in class org.apache.struts2.components.Componentpublic void setColumn(Column column)
public void setOptions(Options options)
public void setRecordValue(Object recordValue)
public void setBodyUsage(String bodyUsage)
public void setFormat(String format)
public String getId()
getId in interface InputControl.ValueInfogetId in class org.apache.struts2.components.UIBeanpublic final Column getColumn()
getColumn in interface InputControl.ValueInfopublic final Options getOptions()
getOptions in interface InputControl.ValueInfopublic final Object getValue()
getValue in interface InputControl.ValueInfopublic final Object getNullValue()
getNullValue in interface InputControl.ValueInfopublic final String getCssClass()
getCssClass in interface InputControl.ValueInfopublic final String getCssStyle()
getCssStyle in interface InputControl.ValueInfopublic final String getOnclick()
getOnclick in interface InputControl.ValueInfopublic final String getOndblclick()
getOndblclick in interface InputControl.ValueInfopublic final String getFormat()
getFormat in interface InputControl.ValueInfopublic void setNullValue(Object nullValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||