Interface Application

All Known Implementing Classes:
ApplicationImpl

public interface Application
Author:
Ildar
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static void
    runAndWait(Runnable runnable)
    Выполнить процесс синхронно в UI потоке
    static <R> R
    runAndWait(Supplier<R> function)
    Выполнить процесс синхронно в UI потоке
    static void
    runLater(Runnable runnable)
    Выполнить процесс асинхронно в UI потоке
  • Method Details

    • exit

      boolean exit()
    • runLater

      static void runLater(Runnable runnable)
      Выполнить процесс асинхронно в UI потоке
      Parameters:
      runnable - - процесс
    • runAndWait

      static void runAndWait(Runnable runnable)
      Выполнить процесс синхронно в UI потоке
      Parameters:
      runnable - - процесс
    • runAndWait

      static <R> R runAndWait(Supplier<R> function)
      Выполнить процесс синхронно в UI потоке
      Parameters:
      function - - процесс
      Returns:
      результат выполнения