Class SetValueHandler

java.lang.Object
net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.SetValueHandler
All Implemented Interfaces:
ActionListener, EventListener

public class SetValueHandler extends Object implements ActionListener
Creates a handler that sets a dialog's value and then disposes it when activated
  • Field Details

  • Constructor Details

  • Method Details

    • createSetValueListener

      public static ActionListener createSetValueListener(SecurityDialog dialog, DialogResult returnValue)
      Create an ActionListener suitable for use with buttons. When this ActionListener is invoked, it will set the value of the SecurityDialog and then disposed.
      Parameters:
      dialog - dialog responsible for actual operation
      returnValue - may contain also information about default, preselected button
      Returns:
      the ActionListener instance.
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener