org.scrashmeow.ojb.console.ui.control.widget
Class CollectionWidget

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.ui.control.widget.BaseWidget
        |
        +--org.scrashmeow.ojb.console.ui.control.widget.CollectionDescriptorBasedWidget
              |
              +--org.scrashmeow.ojb.console.ui.control.widget.CollectionWidget
All Implemented Interfaces:
ApplicationServiceAware, java.io.Serializable, ViewControl, Widget

public class CollectionWidget
extends CollectionDescriptorBasedWidget

Author:
Alexander_Bibighaus To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.
See Also:
Serialized Form

Field Summary
 
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
CollectionWidget()
          Constructor for CollectionWidget.
 
Method Summary
 java.lang.Integer getCount()
          Returns the count.
 org.apache.struts.action.ActionForward handle(org.apache.struts.action.ActionMapping mapping, ObjectEditorForm form, HttpServletRequest request, HttpServletResponse response)
          Method handle @add-javadoc!!!
 void populate(java.util.Map values, java.lang.Object inst)
          Method populate @add-javadoc!!!
 void setCount(java.lang.Integer count)
          Sets the count.
 
Methods inherited from class org.scrashmeow.ojb.console.ui.control.widget.CollectionDescriptorBasedWidget
createValidatorField, getCollectionDescriptor, setCollectionDescriptor, transfer
 
Methods inherited from class org.scrashmeow.ojb.console.ui.control.widget.BaseWidget
configureMode, getApplicationService, getAttribute, getDefinitionName, getDescriptor, getDisabled, getFormAttributeName, getFormFieldConversion, getFormMappedAttributeName, getFormName, getLabel, getMode, getRequest, getRequired, getUid, getVisible, 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
 

Constructor Detail

CollectionWidget

public CollectionWidget()
Constructor for CollectionWidget.

Method Detail

getCount

public java.lang.Integer getCount()
Returns the count.

Returns:
Integer

setCount

public void setCount(java.lang.Integer count)
Sets the count.

Parameters:
count - The count to set

populate

public void populate(java.util.Map values,
                     java.lang.Object inst)
              throws ServiceException
Description copied from class: CollectionDescriptorBasedWidget
Method populate @add-javadoc!!!

Specified by:
populate in interface Widget
Overrides:
populate in class CollectionDescriptorBasedWidget
Parameters:
values - @add-javadoc!!!
inst - @add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!
See Also:
Widget.populate(Map, Object)

handle

public org.apache.struts.action.ActionForward handle(org.apache.struts.action.ActionMapping mapping,
                                                     ObjectEditorForm form,
                                                     HttpServletRequest request,
                                                     HttpServletResponse response)
                                              throws ServiceException
Method handle @add-javadoc!!!

Specified by:
handle in interface Widget
Overrides:
handle in class BaseWidget
Parameters:
mapping - @add-javadoc!!!
form - @add-javadoc!!!
request - @add-javadoc!!!
response - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.