fi.hut.tml.xsmiles.mlfc.xframes
Class StackableComponent
java.lang.Object
fi.hut.tml.xsmiles.mlfc.xframes.StackableComponent
- public class StackableComponent
- extends java.lang.Object
A Stackable component object to ease creation of xframes The main function is to utilize static borders or resizable
borders. (JSplitPane, or BoxLayout)
- Author:
- juha
|
Method Summary |
void |
add(java.awt.Component c)
Add a component to the end of the stack |
void |
add(java.awt.Component c,
java.lang.String id)
|
java.awt.Component |
getComponent()
|
int |
getOrientation()
|
void |
setBorderWidth(int width)
Set the width of the border, doesn't do anything yet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATIC
public static int STATIC
DYNAMIC
public static int DYNAMIC
HORIZONTAL
public static final int HORIZONTAL
- See Also:
- Constant Field Values
VERTICAL
public static final int VERTICAL
- See Also:
- Constant Field Values
TABBED
public static final int TABBED
- See Also:
- Constant Field Values
StackableComponent
public StackableComponent(int s,
int o)
- Parameters:
s - style (STATIC, DYNAMIC)o - orientation (HORIZONTAL, VERTICAL)
StackableComponent
public StackableComponent(int s,
int o,
XFramesMLFC mlfc)
add
public void add(java.awt.Component c,
java.lang.String id)
add
public void add(java.awt.Component c)
- Add a component to the end of the stack
setBorderWidth
public void setBorderWidth(int width)
- Set the width of the border, doesn't do anything yet
getComponent
public java.awt.Component getComponent()
getOrientation
public int getOrientation()
X-Smiles 1.2