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 Details

    • DefaultResizeHandler

      public DefaultResizeHandler(DialogPane.Dialog<?> dialog)
      Creates a new resize handler for the given dialog.
      Parameters:
      dialog - the dialog whose size should be stored
  • Method Details