|
|||||||||||
| 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
|
+--org.scrashmeow.ojb.console.ui.control.widget.FieldDescriptorBasedWidget
|
+--org.scrashmeow.ojb.console.ui.control.widget.FileWidget
| Field Summary | |
protected java.lang.Integer |
maxlength
Field maxlength |
protected java.lang.Integer |
size
Field size |
| Fields inherited from class org.scrashmeow.ojb.console.ui.control.widget.BaseWidget |
applicationService, attrs, definitionName, descriptor, disabled, formAttributeName, formFieldConversion, formMappedAttributeName, label, mode, request, required, uid, visible |
| Constructor Summary | |
FileWidget()
|
|
| Method Summary | |
java.lang.Integer |
getMaxlength()
Returns the maxlength. |
java.lang.Integer |
getSize()
Returns the size. |
void |
setMaxlength(java.lang.Integer maxlength)
Sets the maxlength. |
void |
setSize(java.lang.Integer size)
Sets the size. |
void |
transfer(java.lang.Object inst,
java.util.Map values)
Method transfer @add-javadoc!!! |
protected void |
transferAdditionalFields(java.lang.Object inst,
java.util.Map values,
org.apache.struts.upload.FormFile file)
Set additional fields if found in the attribute list. |
| Methods inherited from class org.scrashmeow.ojb.console.ui.control.widget.FieldDescriptorBasedWidget |
configureMode, createValidatorField, getFieldDescriptor, getValueFromForm, populate, setFieldDescriptor, setValueOnObject |
| Methods inherited from class org.scrashmeow.ojb.console.ui.control.widget.BaseWidget |
getApplicationService, getAttribute, getDefinitionName, getDescriptor, getDisabled, getFormAttributeName, getFormFieldConversion, getFormMappedAttributeName, getFormName, getLabel, getMode, getRequest, getRequired, getUid, getVisible, handle, setApplicationService, setAttribute, setDefinitionName, setDescriptor, setDisabled, setFormAttributeName, setFormFieldConversion, setFormMappedAttributeName, setLabel, setMode, setRequest, setRequired, setUid, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Integer size
protected java.lang.Integer maxlength
| Constructor Detail |
public FileWidget()
| Method Detail |
public java.lang.Integer getMaxlength()
public java.lang.Integer getSize()
public void setMaxlength(java.lang.Integer maxlength)
maxlength - The maxlength to setpublic void setSize(java.lang.Integer size)
size - The size to set
public void transfer(java.lang.Object inst,
java.util.Map values)
throws ServiceException
transfer in interface Widgettransfer in class FieldDescriptorBasedWidgetinst - @add-javadoc!!!values - @add-javadoc!!!
ServiceException - @add-javadoc!!!org.scrashmeow.ojb.widgets.Widget#populate(Object, Map)
protected void transferAdditionalFields(java.lang.Object inst,
java.util.Map values,
org.apache.struts.upload.FormFile file)
throws ServiceException
inst - values - file -
ServiceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||