- java.lang.Object
-
- com.iamsoft.util.ui.javafx.prefs.DialogPrefUtil
-
public final class DialogPrefUtil extends Object
Load/save Dialog attributes from/to Preferences.- See Also:
StagePrefUtil
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Runnable
manage(javafx.scene.control.Dialog<?> pDialog, Class<?> pClass, String... pKeys)
static Runnable
manage(javafx.scene.control.Dialog<?> pDialog, Preferences pPrefs)
Load preferences and also save on update.
-
-
-
Method Detail
-
manage
public static Runnable manage(javafx.scene.control.Dialog<?> pDialog, Class<?> pClass, String... pKeys)
-
manage
public static Runnable manage(javafx.scene.control.Dialog<?> pDialog, Preferences pPrefs)
Load preferences and also save on update.- Returns:
- Runnable to revert state.
-
-