|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.BorderLayout net.sf.magicproject.ui.layout.BorderLayout2
public class BorderLayout2
Field Summary |
---|
Fields inherited from class java.awt.BorderLayout |
---|
AFTER_LAST_LINE, AFTER_LINE_ENDS, BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS, CENTER, EAST, LINE_END, LINE_START, NORTH, PAGE_END, PAGE_START, SOUTH, WEST |
Constructor Summary | |
---|---|
BorderLayout2()
Constructs a new border layout with no gaps between components. |
|
BorderLayout2(int hgap,
int vgap)
Constructs a border layout with the specified gaps between components. |
Method Summary | |
---|---|
void |
addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
|
void |
removeLayoutComponent(java.awt.Component comp)
|
Methods inherited from class java.awt.BorderLayout |
---|
addLayoutComponent, getConstraints, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getLayoutComponent, getLayoutComponent, getVgap, invalidateLayout, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, setHgap, setVgap, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BorderLayout2()
public BorderLayout2(int hgap, int vgap)
hgap
and the vertical gap is
specified by vgap
.
hgap
- the horizontal gap.vgap
- the vertical gap.Method Detail |
---|
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
removeLayoutComponent
in class java.awt.BorderLayout
public void addLayoutComponent(java.awt.Component comp, java.lang.Object constraints)
addLayoutComponent
in interface java.awt.LayoutManager2
addLayoutComponent
in class java.awt.BorderLayout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |