Class MergeProgressPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class MergeProgressPanel extends JPanel
The MergeProgressPanel displays the name of each merge phase along with an icon indicating whether the phase is Pending, In Progress or Completed.
See Also:
  • Field Details Link icon

    • DEFINED_ICON Link icon

      public static Icon DEFINED_ICON
    • IN_PROGRESS_ICON Link icon

      public static Icon IN_PROGRESS_ICON
    • COMPLETED_ICON Link icon

      public static Icon COMPLETED_ICON
  • Constructor Details Link icon

    • MergeProgressPanel Link icon

      public MergeProgressPanel()
      Constructor for a merge progress panel.
  • Method Details Link icon

    • addInfo Link icon

      public JPanel addInfo(String[] phase)
      Adds a new phase name and its associated icon to the panel. The last string in the array will be the name displayed for this phase.
      Parameters:
      phase - array of strings indicating this phase. The first string indicates the primary phase. EAch subsequent string indicates another sub-phase of the phase indicated by the previous string. The last string indicates this phase.
      Returns:
      the panel that was added which displays this phase's name and status
    • setInProgress Link icon

      public void setInProgress(String[] phase)
      Indicates a particular phase or sub-phase whose status icon is to be changed to indicate that it is in progress.
      Parameters:
      phase - array which indicates this phase or sub-phase.
    • setCompleted Link icon

      public void setCompleted(String[] phase)
      Indicates a particular phase or sub-phase whose status icon is to be changed to indicate that it is completed.
      Parameters:
      phase - array which indicates this phase or sub-phase.
    • main Link icon

      public static void main(String[] args)