Interface LogPanel

  • All Known Implementing Classes:
    ConsolePanel.OutputPanel, SimpleLogPanel

    public interface LogPanel
    Common interface for log panels.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • append

        void append​(LoggingLevel level,
                    String msg)
        Appends the given string.
        Parameters:
        level - the logging level
        msg - the message to append
      • clear

        void clear()
        Clears the text.
      • copy

        void copy()
        Copies the text to the clipboard.
      • saveAs

        void saveAs()
        Saves the current content to a file.
      • setLineWrap

        void setLineWrap​(boolean value)
        Sets the line wrap flag.
        Parameters:
        value - if true line wrap is enabled
      • getLineWrap

        boolean getLineWrap()
        Returns the current line wrap setting.
        Returns:
        true if line wrap is enabled
      • setText

        void setText​(String value)
        Sets the current text.
        Parameters:
        value - the text
      • getText

        String getText()
        Returns the current text.
        Returns:
        the tex