%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
ca.spaz.gui.SpazCanvasLoader |
|
|
1 | package ca.spaz.gui; |
|
2 | ||
3 | import javax.swing.*; |
|
4 | ||
5 | ||
6 | /** |
|
7 | * An XML definition of a GUI layout. |
|
8 | * |
|
9 | * @author Aaron Davidson |
|
10 | * @date September 2002 |
|
11 | */ |
|
12 | ||
13 | public class SpazCanvasLoader extends SpazCanvas { |
|
14 | public JPanel proxy; |
|
15 | ||
16 | public SpazCanvasLoader(String file, JPanel proxy) { |
|
17 | 0 | super(file, null); |
18 | 0 | this.proxy = proxy; |
19 | 0 | this.actions = null; |
20 | 0 | } |
21 | ||
22 | public void add(JComponent c, SpazPosition lp) { |
|
23 | 0 | proxy.add(c, lp); |
24 | 0 | } |
25 | ||
26 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |