|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scrashmeow.ojb.console.ui.control.widget.BaseWidget
Field Summary | |
protected ApplicationService |
applicationService
Field applicationService |
protected java.util.Map |
attrs
Field attrs |
protected java.lang.String |
definitionName
Field definitionName |
protected org.apache.ojb.broker.metadata.XmlCapable |
descriptor
Field descriptor |
protected boolean |
disabled
Field disabled |
protected java.lang.String |
formAttributeName
Field formAttributeName |
protected FormFieldConversion |
formFieldConversion
Field formFieldConversion |
protected java.lang.String |
formMappedAttributeName
Field formMappedAttributeName |
protected java.lang.String |
label
Field label |
protected java.lang.String |
mode
Field mode |
protected HttpServletRequest |
request
|
protected boolean |
required
Field required |
protected java.lang.String |
uid
Field uid |
protected boolean |
visible
Field visible |
Constructor Summary | |
BaseWidget()
Constructor BaseWidget |
Method Summary | |
void |
configureMode(java.lang.String mode)
Method configureMode @add-javadoc!!! |
ApplicationService |
getApplicationService()
Returns the applicationService. |
java.lang.Object |
getAttribute(java.lang.String key)
Method getAttribute @add-javadoc!!! |
java.lang.String |
getDefinitionName()
Returns the definitionName. |
org.apache.ojb.broker.metadata.XmlCapable |
getDescriptor()
Returns the descriptor. |
boolean |
getDisabled()
Returns the disabled. |
java.lang.String |
getFormAttributeName()
Returns the formAttributeName. |
FormFieldConversion |
getFormFieldConversion()
Returns the formFieldConversion. |
java.lang.String |
getFormMappedAttributeName()
Returns the formMappedAttributeName. |
java.lang.String |
getFormName()
Returns the formName. |
java.lang.String |
getLabel()
Returns the label. |
java.lang.String |
getMode()
Returns the mode. |
HttpServletRequest |
getRequest()
|
boolean |
getRequired()
Returns the required. |
java.lang.String |
getUid()
Returns the uid. |
boolean |
getVisible()
Returns the visible. |
org.apache.struts.action.ActionForward |
handle(org.apache.struts.action.ActionMapping mapping,
ObjectEditorForm form,
HttpServletRequest request,
HttpServletResponse response)
Method handle @add-javadoc!!! |
void |
setApplicationService(ApplicationService applicationService)
Sets the applicationService. |
void |
setAttribute(java.lang.String key,
java.lang.Object val)
Method setAttribute @add-javadoc!!! |
void |
setDefinitionName(java.lang.String definitionName)
Sets the definitionName. |
void |
setDescriptor(org.apache.ojb.broker.metadata.XmlCapable descriptor)
Sets the descriptor. |
void |
setDisabled(boolean disabled)
Sets the disabled. |
void |
setFormAttributeName(java.lang.String formAttributeName)
Sets the formAttributeName. |
void |
setFormFieldConversion(FormFieldConversion formFieldConversion)
Sets the formFieldConversion. |
void |
setFormMappedAttributeName(java.lang.String formMappedAttributeName)
Sets the formMappedAttributeName. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setMode(java.lang.String mode)
Sets the mode. |
void |
setRequest(HttpServletRequest request)
|
void |
setRequired(boolean required)
Sets the required. |
void |
setUid(java.lang.String uid)
Sets the uid. |
void |
setVisible(boolean visible)
Sets the visible. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.scrashmeow.ojb.console.ui.control.widget.Widget |
createValidatorField, populate, transfer |
Field Detail |
protected java.lang.String definitionName
protected ApplicationService applicationService
protected boolean visible
protected java.lang.String formMappedAttributeName
protected java.lang.String formAttributeName
protected java.lang.String label
protected boolean disabled
protected boolean required
protected java.util.Map attrs
protected FormFieldConversion formFieldConversion
protected org.apache.ojb.broker.metadata.XmlCapable descriptor
protected java.lang.String mode
protected java.lang.String uid
protected HttpServletRequest request
Constructor Detail |
public BaseWidget()
Method Detail |
public void setAttribute(java.lang.String key, java.lang.Object val)
setAttribute
in interface Widget
key
- @add-javadoc!!!val
- @add-javadoc!!!public java.lang.Object getAttribute(java.lang.String key)
getAttribute
in interface Widget
key
- @add-javadoc!!!
public void configureMode(java.lang.String mode)
configureMode
in interface Widget
mode
- @add-javadoc!!!public ApplicationService getApplicationService()
getApplicationService
in interface ApplicationServiceAware
public java.lang.String getDefinitionName()
getDefinitionName
in interface Widget
public boolean getDisabled()
getDisabled
in interface Widget
public java.lang.String getFormName()
getFormName
in interface Widget
public java.lang.String getLabel()
getLabel
in interface Widget
public boolean getRequired()
getRequired
in interface Widget
public boolean getVisible()
getVisible
in interface Widget
public void setApplicationService(ApplicationService applicationService)
setApplicationService
in interface Widget
applicationService
- The applicationService to setpublic void setDefinitionName(java.lang.String definitionName)
setDefinitionName
in interface Widget
definitionName
- The definitionName to setpublic void setDisabled(boolean disabled)
setDisabled
in interface Widget
disabled
- The disabled to setpublic void setLabel(java.lang.String label)
setLabel
in interface Widget
label
- The label to setpublic void setRequired(boolean required)
setRequired
in interface Widget
required
- The required to setpublic void setVisible(boolean visible)
visible
- The visible to setpublic FormFieldConversion getFormFieldConversion()
getFormFieldConversion
in interface Widget
public void setFormFieldConversion(FormFieldConversion formFieldConversion)
setFormFieldConversion
in interface Widget
formFieldConversion
- The formFieldConversion to setpublic org.apache.ojb.broker.metadata.XmlCapable getDescriptor()
getDescriptor
in interface Widget
public void setDescriptor(org.apache.ojb.broker.metadata.XmlCapable descriptor)
setDescriptor
in interface Widget
descriptor
- The descriptor to setpublic java.lang.String getMode()
getMode
in interface Widget
public void setMode(java.lang.String mode)
setMode
in interface Widget
mode
- The mode to setpublic java.lang.String getFormAttributeName()
public java.lang.String getFormMappedAttributeName()
public void setFormAttributeName(java.lang.String formAttributeName)
setFormAttributeName
in interface Widget
formAttributeName
- The formAttributeName to setpublic void setFormMappedAttributeName(java.lang.String formMappedAttributeName)
setFormMappedAttributeName
in interface Widget
formMappedAttributeName
- The formMappedAttributeName to setpublic org.apache.struts.action.ActionForward handle(org.apache.struts.action.ActionMapping mapping, ObjectEditorForm form, HttpServletRequest request, HttpServletResponse response) throws ServiceException
handle
in interface Widget
mapping
- @add-javadoc!!!form
- @add-javadoc!!!request
- @add-javadoc!!!response
- @add-javadoc!!!
ServiceException
- @add-javadoc!!!public java.lang.String getUid()
getUid
in interface Widget
public void setUid(java.lang.String uid)
setUid
in interface Widget
uid
- The uid to setpublic HttpServletRequest getRequest()
public void setRequest(HttpServletRequest request)
setRequest
in interface Widget
request
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |