|
[.hacks.] [.java.] |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--NullLayout
(#)NullLayout.java
Constructor Summary | |
NullLayout()
The default constructor does - nothing |
Method Summary | |
void |
addLayoutComponent(java.lang.String s,
java.awt.Component c)
catch this to tell the original layout that widget was added |
java.awt.LayoutManager |
getBaseLayout()
get current base layout |
void |
layoutContainer(java.awt.Container C)
Move all widgets out of sight! |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container C)
Layout size is just the border - nothing else |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container C)
Layout size is just the border - nothing else |
void |
removeLayoutComponent(java.awt.Component c)
catch this to tell the original layout that widget was removed |
void |
setBaseLayout(java.awt.LayoutManager l)
replace the base layout |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullLayout()
Method Detail |
public void layoutContainer(java.awt.Container C)
layoutContainer
in interface java.awt.LayoutManager
C
- our containerpublic java.awt.Dimension minimumLayoutSize(java.awt.Container C)
minimumLayoutSize
in interface java.awt.LayoutManager
C
- our containerpublic java.awt.Dimension preferredLayoutSize(java.awt.Container C)
preferredLayoutSize
in interface java.awt.LayoutManager
C
- our containerpublic void removeLayoutComponent(java.awt.Component c)
removeLayoutComponent
in interface java.awt.LayoutManager
c
- component to removepublic void addLayoutComponent(java.lang.String s, java.awt.Component c)
addLayoutComponent
in interface java.awt.LayoutManager
s
- contraints to add component - Layout dependendc
- component to addpublic void setBaseLayout(java.awt.LayoutManager l)
l
- the new base layoutpublic java.awt.LayoutManager getBaseLayout()
|
[.hacks.] [.java.] |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |