Class IOSKeyboardService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void keepVisibilityForNode​(javafx.scene.Node node)
      Node is adjusted vertically when software keyboard shows up, so it is visible and not covered by it.
      void keepVisibilityForNode​(javafx.scene.Node node, javafx.scene.Parent parent)
      Node is adjusted vertically when software keyboard shows up, so it is visible and not covered by it
      javafx.beans.property.ReadOnlyFloatProperty visibleHeightProperty()
      Gets the visible height of the Keyboard, so scene or views can adjusted to prevent some of their content from being covered by the keyboard.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IOSKeyboardService

        public IOSKeyboardService()
    • Method Detail

      • keepVisibilityForNode

        public void keepVisibilityForNode​(javafx.scene.Node node)
        Description copied from interface: KeyboardService
        Node is adjusted vertically when software keyboard shows up, so it is visible and not covered by it. For that, the root parent will be moved accordingly.
        Specified by:
        keepVisibilityForNode in interface KeyboardService
        Parameters:
        node - the Node to adjust, so it is always visible
      • keepVisibilityForNode

        public void keepVisibilityForNode​(javafx.scene.Node node,
                                          javafx.scene.Parent parent)
        Description copied from interface: KeyboardService
        Node is adjusted vertically when software keyboard shows up, so it is visible and not covered by it
        Specified by:
        keepVisibilityForNode in interface KeyboardService
        Parameters:
        node - the Node to adjust, so it is always visible
        parent - the Parent of the node that will be moved
      • visibleHeightProperty

        public javafx.beans.property.ReadOnlyFloatProperty visibleHeightProperty()
        Description copied from interface: KeyboardService
        Gets the visible height of the Keyboard, so scene or views can adjusted to prevent some of their content from being covered by the keyboard.
        Specified by:
        visibleHeightProperty in interface KeyboardService
        Returns:
        A ReadOnlyFloatProperty with the height of the soft keyboard