| java.lang.Object com.javelin.swinglets.SLayoutManager com.javelin.swinglets.SBorderLayout
SBorderLayout | public class SBorderLayout extends SLayoutManager (Code) | | SBorderLayout is used to layout SComponents in a SContainer.
The SBorderLayout component is based on the java.awt.BorderLayout
LayoutManager.
author: Robin Sharp |
Field Summary | |
final public static String | CENTER Layout the component in the middle of container. | final public static String | EAST Layout the component on the left side of container. | final public static String | NORTH Layout the component across the top of the container. | final public static String | SOUTH Layout the component across the bottom of container. | final public static String | WEST Layout the component on the right side of container. |
Constructor Summary | |
public | SBorderLayout() Construct a fully qualified SBorderLayout. | public | SBorderLayout(int gap) Construct a fully qualified SBorderLayout, 2 columns, and n rows. |
CENTER | final public static String CENTER(Code) | | Layout the component in the middle of container.
|
EAST | final public static String EAST(Code) | | Layout the component on the left side of container.
|
NORTH | final public static String NORTH(Code) | | Layout the component across the top of the container.
|
SOUTH | final public static String SOUTH(Code) | | Layout the component across the bottom of container.
|
WEST | final public static String WEST(Code) | | Layout the component on the right side of container.
|
SBorderLayout | public SBorderLayout()(Code) | | Construct a fully qualified SBorderLayout.
|
SBorderLayout | public SBorderLayout(int gap)(Code) | | Construct a fully qualified SBorderLayout, 2 columns, and n rows.
Set the rows and columns to 0 to let the layout manager figure
out the correct number of rows or columns.
|
addComponent | public void addComponent(SComponent component, Object constraint)(Code) | | Add a component, at a location.
If the component is null then it is removed.
|
getGap | public int getGap()(Code) | | Get the gap.
|
getUIClass | public Class getUIClass()(Code) | | Returns the name of the L&F class that renders this layout.
|
removeComponent | public void removeComponent(SComponent component)(Code) | | Remove a component.
|
setGap | public void setGap(int gap)(Code) | | Set the gap.
|
|
|