|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdirk_krause.jtools.SizeTracker
public class SizeTracker
Keep track of a component size. If the preferred or minimum size of a component increases we need to pack() the window again.
Field Summary | |
---|---|
protected int |
h
The largest height we have ever found. |
protected int |
w
The largest width we have ever found. |
Constructor Summary | |
---|---|
SizeTracker()
|
Method Summary | |
---|---|
boolean |
mustPackAgain(javax.swing.JComponent c)
Check whether or not the window/dialog must be packed again. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int w
protected int h
Constructor Detail |
---|
public SizeTracker()
Method Detail |
---|
public boolean mustPackAgain(javax.swing.JComponent c)
c
- The component to keep track.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |