Class CustomWidget
java.lang.Object
com.apgar.common.lib.ui.widget.highlightwidget.CustomWidget
Custom Widget Class.
Class to be extended by any additional widget to be used along with the HighlightChangesWidget class
where HighlightChangesWidgetFactory.setCustomWidgetClass(String) also needs to be set to the name of the second Widget class.
- Author:
- APGAR Consulting
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddrawWidget(com.orchestranetworks.ui.form.widget.WidgetWriter widgetWriter, com.orchestranetworks.ui.form.widget.WidgetDisplayContext widgetDisplayContext, String javaScriptMethod) Abstract method to draw the widget.
-
Constructor Details
-
CustomWidget
public CustomWidget()
-
-
Method Details
-
drawWidget
public abstract void drawWidget(com.orchestranetworks.ui.form.widget.WidgetWriter widgetWriter, com.orchestranetworks.ui.form.widget.WidgetDisplayContext widgetDisplayContext, String javaScriptMethod) Abstract method to draw the widget. Implemented in the class that extends CustomWidget.- Parameters:
widgetWriter- WidgetWriterwidgetDisplayContext- WidgetDisplayContextjavaScriptMethod- Name of JavaScript method to draw the widget
-