Class HoverIntent


  • public final class HoverIntent
    extends java.lang.Object
    A replaceable preparation hint. It never authorizes a click.
    • Constructor Detail

      • HoverIntent

        public HoverIntent​(java.lang.String key,
                           java.util.function.Supplier<MenuRequest> target,
                           long readyInMs,
                           int cameraYaw,
                           int cameraPitch)
        The target supplier runs on the client thread and may return null until visible.
    • Method Detail

      • getKey

        public java.lang.String getKey()
      • getCreatedAt

        public long getCreatedAt()
      • getReadyAt

        public long getReadyAt()
      • isExpired

        public boolean isExpired()
      • getCameraYaw

        public int getCameraYaw()
      • getCameraPitch

        public int getCameraPitch()