blob: 723491213631e18fbd8c24def3769c240b32bf42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/**
*
*/
package uk.org.ury.show.viewer;
import javax.swing.JLabel;
import uk.org.ury.frontend.FrontendPanel;
import uk.org.ury.frontend.exceptions.UICreationFailureException;
/**
* A panel displaying track bin contents.
*
* @author Matt Windsor.
*/
public class TrackBin extends FrontendPanel
{
/**
*
*/
private static final long serialVersionUID = -5414923374901972511L;
/* Components created and exposed by the XML engine. */
private JLabel binName;
/**
* Construct a new TrackBin.
*
* This constructor reads the channel panel layout from the
* XML manifest "track_bin.xml" in the same directory as
* this class file.
*
* TODO: add track list into constructor
*
* @param name The name of the bin.
*
* @throws UICreationFailureException if the UI creation fails.
*/
public
TrackBin (String name)
throws UICreationFailureException
{
super ("track_bin.xml", null);
// Tweak name.
binName.setText (name);
}
}
|