Class SetValueHandler
java.lang.Object
net.adoptopenjdk.icedteaweb.client.parts.dialogs.security.SetValueHandler
- All Implemented Interfaces:
ActionListener, EventListener
Creates a handler that sets a dialog's value and then disposes it when
activated
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSetValueHandler(SecurityDialog dialog, DialogResult returnValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic ActionListenercreateSetValueListener(SecurityDialog dialog, DialogResult returnValue) Create an ActionListener suitable for use with buttons.
-
Field Details
-
returnValue
-
dialog
-
-
Constructor Details
-
SetValueHandler
-
-
Method Details
-
createSetValueListener
public static ActionListener createSetValueListener(SecurityDialog dialog, DialogResult returnValue) Create an ActionListener suitable for use with buttons. When thisActionListeneris invoked, it will set the value of theSecurityDialogand then disposed.- Parameters:
dialog- dialog responsible for actual operationreturnValue- may contain also information about default, preselected button- Returns:
- the ActionListener instance.
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-