equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
39 import java.util.List; |
39 import java.util.List; |
40 |
40 |
41 import javax.swing.JComponent; |
41 import javax.swing.JComponent; |
42 |
42 |
43 abstract class LWContainerPeer<T extends Container, D extends JComponent> |
43 abstract class LWContainerPeer<T extends Container, D extends JComponent> |
44 extends LWComponentPeer<T, D> |
44 extends LWCanvasPeer<T, D> |
45 implements ContainerPeer |
45 implements ContainerPeer |
46 { |
46 { |
47 // List of child peers sorted by z-order from bottom-most |
47 // List of child peers sorted by z-order from bottom-most |
48 // to top-most |
48 // to top-most |
49 private List<LWComponentPeer> childPeers = |
49 private List<LWComponentPeer> childPeers = |