Interface AbstractNamedHistoryPanel.FrameDisplaySupporter<T>

  • Type Parameters:
    T - the type of content to display
    All Known Implementing Classes:
    BufferHistoryPanel, HelpHistoryPanel
    Enclosing class:
    AbstractNamedHistoryPanel<T>

    public static interface AbstractNamedHistoryPanel.FrameDisplaySupporter<T>
    Interface for history panels that allow the content to be displayed in separate frames.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • hasFrame

        boolean hasFrame​(String name)
        Checks whether a frame is available fro this entry.
        Parameters:
        name - the name of the entry to check
        Returns:
        true if a frame is already available
      • showFrame

        void showFrame​(String name)
        Displays the entry in a new frame. If a frame is already avao;an;e for the entry, then this one will be activated.
        Parameters:
        name - the name of the entry to open or activate
      • removeFrame

        void removeFrame​(String name)
        Removes the frame from the list. This method should be called when the frame gets closed.
        Parameters:
        name - the name of the entry this frame is associated with