|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectComponentBoundsPreference
public final class ComponentBoundsPreference
Preference storage for component bounds. This is a convenience class that encapsulates together a ComponentLocationPreference and a ComponentSizePreference.
| Field Summary | |
|---|---|
(package private) static RunBuffer |
runBuffer
A slow run buffer, anywhere from 500 to 2000 ms. |
| Constructor Summary | |
|---|---|
ComponentBoundsPreference(Component c,
Preferences preferences)
Creates a ComponentBoundsPreference. |
|
| Method Summary | |
|---|---|
ComponentLocationPreference |
location()
Returns the preference storage for the component's location. |
ComponentSizePreference |
size()
Returns the preference storage for the component's size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final RunBuffer runBuffer
| Constructor Detail |
|---|
public ComponentBoundsPreference(Component c,
Preferences preferences)
There is currently no way to remove it from the component. Create one only per component, or they will accumulate.
c - component whose bounds to store and restorepreferences - node,
per ComponentLocationPreference.preferences()
and ComponentSizePreference.preferences()| Method Detail |
|---|
public ComponentLocationPreference location()
public ComponentSizePreference size()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||