Class DialogPane.DefaultResizeHandler
java.lang.Object
com.dlsc.gemsfx.DialogPane.DefaultResizeHandler
- All Implemented Interfaces:
BiConsumer<Double,Double>
- Enclosing class:
DialogPane
public static class DialogPane.DefaultResizeHandler
extends Object
implements BiConsumer<Double,Double>
The default resize handler is used to persist the dialog's width and height after the
user performed a resize operation on the dialog. Both values are stored via the
java.util.prefs.Preferences API.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultResizeHandler(DialogPane.Dialog<?> dialog) Creates a new resize handler for the given dialog. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
DefaultResizeHandler
Creates a new resize handler for the given dialog.- Parameters:
dialog- the dialog whose size should be stored
-
-
Method Details
-
accept
-