Class SecurityDialog

Class SecurityDialog

SecurityDialog

class SecurityDialog
extends Dialog
A modal dialog box that allows the user to set the security strategy for the AgentServer.

Variable Index

 o bFinished

Constructor Index

 o SecurityDialog(Frame)
Constructor.

Method Index

 o ShowAndLayout()
Size the dialog to something appropriate, then make it non-resizeable so that users don't go resizing it themselves.
 o action(Event, Object)
Process the OK and cancel buttons.

Variables

 o bFinished
  public boolean bFinished

Constructors

 o SecurityDialog
  public SecurityDialog(Frame p)
Constructor.

Methods

 o ShowAndLayout
  public void ShowAndLayout()
Size the dialog to something appropriate, then make it non-resizeable so that users don't go resizing it themselves.
 o action
  public boolean action(Event e,
                        Object o)
Process the OK and cancel buttons. This also gets called every time the user changes the state of one of our Checkboxes so we explicitly ignore that case. When OK is hit, roll through the SecurityItem Vector setting the state of each of the items based on the checkbox state.