b844476fd67e9717ada3bfde07bd94378e9fc6cf
[jalview.git] / src / swingjs / api / js / HTML5Applet.java
1 package swingjs.api.js;
2
3 public interface HTML5Applet {
4
5         /**
6          * The canvas that is being used by the HTML5 applet 
7          * 
8          * @return
9          */
10         Object _getHtml5Canvas();
11
12         int _getHeight();
13
14         int _getWidth();
15
16         /**
17          * The div associated with the HTML5 applet 
18          * 
19          * @return
20          */
21         Object _getContentLayer();
22
23         /**
24          * Simple resizing for an inline applet
25          * 
26          * @param widthHeight
27          */
28         void _resizeApplet(int[] widthHeight);
29
30         void _show(boolean b);
31
32         String _getID();
33
34
35 }