-
public final class FxLocationRestoreHelperFx location restore helper,Used to restore the location of the floating window after the screen is rotated
-
-
Constructor Summary
Constructors Constructor Description FxLocationRestoreHelper()
-
Method Summary
Modifier and Type Method Description final BooleanisRestoreLocation()Whether to restore the position final BooleanisInitLocation()final FxLocationRestoreHelpersaveLocation(Float x, Float y, Float parentW, BasisHelper config)save location info final BooleanupdateConfig(Configuration config)update screen size config final Pair<Float, Float>getLocation(Float minW, Float maxW, Float minH, Float maxH)get location config -
-
Method Detail
-
isRestoreLocation
final Boolean isRestoreLocation()
Whether to restore the position
-
isInitLocation
final Boolean isInitLocation()
-
saveLocation
final FxLocationRestoreHelper saveLocation(Float x, Float y, Float parentW, BasisHelper config)
save location info
-
updateConfig
final Boolean updateConfig(Configuration config)
update screen size config
-
-
-
-