Class ReadOnlyUICustomWidgetFactory

java.lang.Object
com.apgar.common.lib.ui.widget.readonlywidget.ReadOnlyUICustomWidgetFactory
All Implemented Interfaces:
UIWidgetFactory<ReadOnlyUICustomWidget>

public class ReadOnlyUICustomWidgetFactory extends Object implements UIWidgetFactory<ReadOnlyUICustomWidget>
Factory class for creating instances of ReadOnlyUICustomWidget.

This factory implements UIWidgetFactory and is responsible for instantiating and setting up ReadOnlyUICustomWidget, which enforces read-only rights on a field within a form.

This class is defined as follows under the field to be displayed as Read-Only in the XSD.

 <xs:element name="sampleField" minOccurs="0" maxOccurs="1">
     <xs:annotation>
         <xs:documentation xml:lang="en-US">
             <osd:label>Sample Field</osd:label>
         </xs:documentation>
         <xs:appinfo>
             <osd:defaultView>
                 <widget osd:class="com.apgar.common.lib.ui.widget.passwordwidget.ReadOnlyUICustomWidgetFactory"/>
             </osd:defaultView>
         </xs:appinfo>
     </xs:annotation>
 </xs:element>
 
Author:
APGAR Consulting