Class JButtonFactory

java.lang.Object
org.jpos.ui.factory.JButtonFactory
All Implemented Interfaces:
UIFactory

public class JButtonFactory extends Object implements UIFactory
UIFactory that builds a Swing JButton bound to a configured action.
See Also:
  • Constructor Details

  • Method Details

    • create

      public JComponent create(UI ui, org.jdom2.Element e)
      Description copied from interface: UIFactory
      Builds a Swing component from the given XML configuration element.
      Specified by:
      create in interface UIFactory
      Parameters:
      ui - parent UI instance
      e - XML configuration describing the component
      Returns:
      the constructed Swing component