Class LogPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class LogPanel extends JPanel
Console to show the messages log and some actions to save and clear messages. Provided by the broldev.core.swing project.
Since:
1.0 (Jan 12, 2009), broldev.core.swing 0.0.1-SNAPSHOT dependency
Version:
1.0 (Jan 12, 2009)
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • LogPanel

      public LogPanel()
      Builds an instance of the log panel
  • Method Details

    • getSaveLogButton

      JButton getSaveLogButton()
      Returns the button to save the logs. This button has no associated action, the action is set by the BrolStatusBar constructor.
      Returns:
      the save button
    • getClearLogButton

      JButton getClearLogButton()
      Returns the button to clear the logs. This button has no associated action, the action is set by the BrolStatusBar constructor.
      Returns:
      the clear button
    • setMessages

      public void setMessages(Stack<String> messages)
      Sets the messages to display on the console
      Parameters:
      messages - to display