Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
15 arune 1
/*
2
 * MbModuleGUI.java
3
 *
4
 * Created on den 30 augusti 2003, 19:00
5
 */
6
package Macbeth.System;
7
 
8
import java.awt.*;
9
 
10
/**
11
 * Implement this interface if your macbeth module has
12
 * a custom GUI. The GUI should be rendered onto the
13
 * Container given by the kernel. Note that there is no
14
 * guarantee that the gui will ever be shown at all.
15
 * This is completely up to the kernel to decide.
16
 * @author Jimmy
17
 */
18
public interface MbModuleGUI {
19
 
20
    /**
21
     * Will be called when the module needs to render its
22
     * custom GUI. Note that you should only use Swing-
23
     * objects when creating the GUI.
24
     * @param drawArea The Container object on which the GUI objects should be added.
25
     */
26
    public void renderGUI(Container drawArea);
27
 
28
}