|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.swing.ext.layout.JVxBorderLayout
public class JVxBorderLayout
The JVxSequenceLayout can be used as FlowLayout with
additional features. The additional features are:
| Field Summary | |
|---|---|
static String |
CENTER
The center layout constraint (middle of container). |
static String |
EAST
The east layout constraint (right side of container). |
static String |
NORTH
The north layout constraint (top of container). |
static String |
SOUTH
The south layout constraint (bottom of container). |
static String |
WEST
The west layout constraint (left side of container). |
| Constructor Summary | |
|---|---|
JVxBorderLayout()
Creates a new instance of JVxBorderLayout. |
|
JVxBorderLayout(int pHorizontalGap,
int pVerticalGap)
Creates a new instance of JVxBorderLayout with the desired orientation
and gaps. |
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(Component pComponent,
Object pConstraints)
|
void |
addLayoutComponent(String pName,
Component pComponent)
|
Object |
getConstraints(Component comp)
Gets the constraints for the specified component. |
int |
getHorizontalGap()
Gets the horizontal gap between components. |
float |
getLayoutAlignmentX(Container target)
|
float |
getLayoutAlignmentY(Container target)
|
Insets |
getMargins()
Gets the layout margins. |
int |
getVerticalGap()
Gets the vertical gap between components. |
void |
invalidateLayout(Container target)
|
void |
layoutContainer(Container pContainer)
|
Dimension |
maximumLayoutSize(Container pTarget)
|
Dimension |
minimumLayoutSize(Container pTarget)
|
Dimension |
preferredLayoutSize(Container pContainer)
|
void |
removeLayoutComponent(Component pComponent)
|
void |
setHorizontalGap(int pGap)
Sets horizontal gap between components. |
void |
setMargins(Insets pMargins)
Sets the layout margins. |
void |
setVerticalGap(int pGap)
Sets the vertical gap between components. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NORTH
public static final String SOUTH
public static final String EAST
public static final String WEST
public static final String CENTER
| Constructor Detail |
|---|
public JVxBorderLayout()
JVxBorderLayout.
public JVxBorderLayout(int pHorizontalGap,
int pVerticalGap)
JVxBorderLayout with the desired orientation
and gaps.
pHorizontalGap - the horizontal gappVerticalGap - the vertical gap| Method Detail |
|---|
public void addLayoutComponent(String pName,
Component pComponent)
addLayoutComponent in interface LayoutManagerpublic void removeLayoutComponent(Component pComponent)
removeLayoutComponent in interface LayoutManager
public void addLayoutComponent(Component pComponent,
Object pConstraints)
addLayoutComponent in interface LayoutManager2public float getLayoutAlignmentX(Container target)
getLayoutAlignmentX in interface LayoutManager2public float getLayoutAlignmentY(Container target)
getLayoutAlignmentY in interface LayoutManager2public void invalidateLayout(Container target)
invalidateLayout in interface LayoutManager2public Dimension minimumLayoutSize(Container pTarget)
minimumLayoutSize in interface LayoutManagerpublic Dimension maximumLayoutSize(Container pTarget)
maximumLayoutSize in interface LayoutManager2public Dimension preferredLayoutSize(Container pContainer)
preferredLayoutSize in interface LayoutManagerpublic void layoutContainer(Container pContainer)
layoutContainer in interface LayoutManagerpublic void setHorizontalGap(int pGap)
pGap - the gap in pixelpublic int getHorizontalGap()
public void setVerticalGap(int pGap)
pGap - the gap in pixelpublic int getVerticalGap()
public void setMargins(Insets pMargins)
pMargins - the marginspublic Insets getMargins()
public Object getConstraints(Component comp)
comp - the component to be queried
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||