Class BrowseWin

All Implemented Interfaces:
PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ContainerListener, ImageObserver, MenuContainer, Printable, Serializable, EventListener, Accessible

public class BrowseWin extends PIACustomizablePanel implements Printable
The main window of Event Browser. It will use the given ResultsDisplay to display result information of a search.
Version:
%version: 56 % %date_modified: Mon Nov 19 17:29:44 2001 %
Author:
Larry Lynch-Freshner, Monica Gaines
See Also:
  • Constructor Details

  • Method Details

    • setCredentials

      public void setCredentials(String acl, String group)
      Sets the credentials for the current user.
      Parameters:
      acl - the ACL string
      group - the group string
    • readPermissions

      public void readPermissions()
      Read in the permissions for the given user.
    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      Gets the class name for this class's controller.
      Specified by:
      getControllerClassName in interface PComponent
      Overrides:
      getControllerClassName in class PIACustomizablePanel
      Returns:
      a String with the component's controller's classname
      Throws:
      RemoteException - thrown for errors
    • addExitListener

      public void addExitListener(ActionListener listener)
      Add a listener to list for one "exit" is choosen from the File menu.
      Parameters:
      listener - the action listener
    • setEventDisplay

      public void setEventDisplay(ResultsDisplay c)
    • setHierarchyBasedAdjust

      public void setHierarchyBasedAdjust(boolean hierarchyBasedAdjust)
    • addNotify

      public void addNotify()
      Overrides:
      addNotify in class JComponent
    • waitUntilClosed

      public void waitUntilClosed()
    • getImpactedAccounts

      public Vector getImpactedAccounts()
    • addActionListener

      public void addActionListener(ActionListener l)
      Adds an action listener to the buttons of the AdjustEvent dialog. The listener will be notified if the event is adjusted.
      Parameters:
      l - the action listener to be added
    • fireActionEvent

      protected void fireActionEvent(String action)
      Fires an action event when one of the buttons is pressed on the panel.
      Parameters:
      action - the string that indicates the button pressed
    • newSearch

      public void newSearch(String[] data)
    • print

      public int print(Graphics g, PageFormat pf, int pi) throws PrinterException
      Sends the event details from the selected items to the printer.
      Specified by:
      print in interface Printable
      Parameters:
      g - the graphics context
      pf - contains the page information
      pi - the page index
      Throws:
      PrinterException