PageRenderTime 213ms CodeModel.GetById 81ms app.highlight 1ms RepoModel.GetById 130ms app.codeStats 0ms

/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 */
 5package mpv5.logging;
 6
 7import javax.swing.JComponent;
 8
 9/**
10 *
11 * @author anti
12 */
13public interface LogConsole {
14
15    /**
16     * Append a new line to the logging object
17     */
18    public void log();
19
20    /**
21     * Log the String value of the given Object
22     * @param object Null objects will lead to the String "NULL"
23     */
24    public void log(final Object object);
25
26    /**
27     * Flush the console contents
28     */
29    public void flush();
30
31    public JComponent open();
32}