/src/mpv5/logging/LogConsole.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/ · Java · 32 lines · 8 code · 6 blank · 18 comment · 0 complexity · fbb9705d3980aeeb4c3d58f87b339acf MD5 · raw file

  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package mpv5.logging;
  6. import javax.swing.JComponent;
  7. /**
  8. *
  9. * @author anti
  10. */
  11. public interface LogConsole {
  12. /**
  13. * Append a new line to the logging object
  14. */
  15. public void log();
  16. /**
  17. * Log the String value of the given Object
  18. * @param object Null objects will lead to the String "NULL"
  19. */
  20. public void log(final Object object);
  21. /**
  22. * Flush the console contents
  23. */
  24. public void flush();
  25. public JComponent open();
  26. }