Class ActivationLogPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ActivationLogPanel extends JPanel
Displays the results of activation actions.
Since:
23 Jan 2018
Author:
Mark Taylor
See Also:
  • Constructor Details

    • ActivationLogPanel

      public ActivationLogPanel(int maxItems)
      Constructor.
      Parameters:
      maxItems - largest number of results permitted; if more are submitted, the oldest ones will be removed
  • Method Details

    • addItem

      public void addItem(long irow, ActivationLogPanel.Status status, String text)
      Adds a completed item to the display log.
      Parameters:
      irow - row index
      status - completed execution status
      text - user-directed one-line message
    • addItem

      public ActivationLogPanel.Item addItem(long irow)
      Adds an item whose details are to be filled in at a later date to the display log. The caller should make a subsequent call to updateItem.
      Parameters:
      irow - row index
      Returns:
      item that can be updated later
    • updateItem

      public void updateItem(ActivationLogPanel.Item item, ActivationLogPanel.Status status, String msg)
      Fills in the details for a previously added item.
      Parameters:
      item - item acquired from a previous call to addItem
      status - completed execution status
      msg - user-directed one-line message