java.lang.Object
com.apgar.common.lib.ui.widget.highlightwidget.CustomWidget

public abstract class CustomWidget extends Object
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 - WidgetWriter
      widgetDisplayContext - WidgetDisplayContext
      javaScriptMethod - Name of JavaScript method to draw the widget