Class BSHUI

java.lang.Object
org.jpos.ui.UI
org.jpos.bsh.BSHUI
All Implemented Interfaces:
UIFactory, UIObjectFactory

public class BSHUI extends UI
UI subclass that runs the <bsh> content of a UI configuration through a BeanShell interpreter to produce a Swing component.
  • Constructor Details

    • BSHUI

      public BSHUI()
      Default constructor; no instance state to initialise.
  • Method Details

    • doScript

      protected JComponent doScript(JComponent component, org.jdom2.Element e)
      Description copied from class: UI
      Applies any script element to the component; default implementation is a no-op.
      Overrides:
      doScript in class UI
      Parameters:
      component - the target component
      e - the script XML element
      Returns:
      the component after script application