1 /*
2  * This file is part of libbluray
3  * Copyright (C) 2010  William Hahne
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library. If not, see
17  * <http://www.gnu.org/licenses/>.
18  */
19 
20 package org.havi.ui;
21 
22 import java.awt.Component;
23 
24 public interface HComponentOrdering {
addBefore(Component component, Component behind)25     public java.awt.Component addBefore(Component component, Component behind);
26 
addAfter(Component component, Component front)27     public java.awt.Component addAfter(Component component, Component front);
28 
popToFront(Component component)29     public boolean popToFront(Component component);
30 
pushToBack(Component component)31     public boolean pushToBack(Component component);
32 
pop(Component component)33     public boolean pop(Component component);
34 
push(Component component)35     public boolean push(Component component);
36 
popInFrontOf(Component move, Component behind)37     public boolean popInFrontOf(Component move, Component behind);
38 
pushBehind(Component move, Component front)39     public boolean pushBehind(Component move, Component front);
40 }
41