|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.utils.ui.SizeTracker
public final class SizeTracker
A tracker for the size of a JComponent
Constructor Summary | |
---|---|
SizeTracker(JComponent c)
Construct a new SizeTracker. |
Method Summary | |
---|---|
boolean |
hasSizeChanged()
Indicate if the size has changed from the last update. |
void |
updateSize()
Update the cached size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SizeTracker(JComponent c)
c
- The component to track the sizes.Method Detail |
---|
public void updateSize()
public boolean hasSizeChanged()
true
if the size has changed else false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |