Class IOSOrientationService

java.lang.Object
com.gluonhq.attach.orientation.impl.IOSOrientationService
All Implemented Interfaces:
OrientationService

public class IOSOrientationService extends Object implements OrientationService
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.ReadOnlyObjectProperty<javafx.geometry.Orientation>
    A read-only property containing the current orientation of the device, which will be updated automatically whenever the device orientation changes.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final Optional<javafx.geometry.Orientation>
    Gets the value of the orientation property.
    javafx.beans.property.ReadOnlyObjectProperty<javafx.geometry.Orientation>
    A read-only property containing the current orientation of the device, which will be updated automatically whenever the device orientation changes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Details

  • Constructor Details

    • IOSOrientationService

      public IOSOrientationService()
  • Method Details

    • orientationProperty

      public javafx.beans.property.ReadOnlyObjectProperty<javafx.geometry.Orientation> orientationProperty()
      Description copied from interface: OrientationService
      A read-only property containing the current orientation of the device, which will be updated automatically whenever the device orientation changes.
      Specified by:
      orientationProperty in interface OrientationService
      Returns:
      the orientation property
      See Also:
    • getOrientation

      public final Optional<javafx.geometry.Orientation> getOrientation()
      Gets the value of the orientation property.
      Specified by:
      getOrientation in interface OrientationService
      Property description:
      Returns:
      the value of the orientation property
      See Also: