Class AcousticScrollerFX.LoadTask

java.lang.Object
java.util.concurrent.FutureTask<Double>
javafx.concurrent.Task<Double>
pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticScrollerFX.LoadTask
All Implemented Interfaces:
Runnable, Future<Double>, RunnableFuture<Double>, javafx.concurrent.Worker<Double>, javafx.event.EventTarget
Enclosing class:
AcousticScrollerFX

protected class AcousticScrollerFX.LoadTask extends javafx.concurrent.Task<Double>
Task for loading datagram data.
Author:
Jamie Macaulay
  • Property Summary Link icon

    Properties inherited from class javafx.concurrent.Task Link icon

    exception, message, onCancelled, onFailed, onRunning, onScheduled, onSucceeded, progress, running, state, title, totalWork, value, workDone
  • Nested Class Summary Link icon

    Nested classes/interfaces inherited from interface java.util.concurrent.Future Link icon

    Future.State

    Nested classes/interfaces inherited from interface javafx.concurrent.Worker Link icon

    javafx.concurrent.Worker.State
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    LoadTask(AcousticScrollerGraphics acousticScrollerGraphics)
     
    LoadTask(AcousticScrollerGraphics acousticScrollerGraphics, int currentCount)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    protected Double
     
    boolean
    cancel(boolean cancel)
     
    protected void
     
    protected void
     
    int
     
    void
    setCurrentCount(int currentCount)
     
    protected void
     

    Methods inherited from class javafx.concurrent.Task Link icon

    addEventFilter, addEventHandler, buildEventDispatchChain, cancel, exceptionProperty, fireEvent, getException, getMessage, getOnCancelled, getOnFailed, getOnRunning, getOnScheduled, getOnSucceeded, getProgress, getState, getTitle, getTotalWork, getValue, getWorkDone, isRunning, messageProperty, onCancelledProperty, onFailedProperty, onRunningProperty, onScheduledProperty, onSucceededProperty, progressProperty, removeEventFilter, removeEventHandler, running, runningProperty, scheduled, setEventHandler, setOnCancelled, setOnFailed, setOnRunning, setOnScheduled, setOnSucceeded, stateProperty, titleProperty, totalWorkProperty, updateMessage, updateProgress, updateProgress, updateTitle, updateValue, valueProperty, workDoneProperty

    Methods inherited from class java.util.concurrent.FutureTask Link icon

    done, exceptionNow, get, get, isCancelled, isDone, resultNow, run, runAndReset, set, setException, state, toString

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details Link icon

  • Method Details Link icon

    • call Link icon

      protected Double call() throws Exception
      Specified by:
      call in class javafx.concurrent.Task<Double>
      Throws:
      Exception
    • cancel Link icon

      public boolean cancel(boolean cancel)
      Specified by:
      cancel in interface Future<Double>
      Overrides:
      cancel in class javafx.concurrent.Task<Double>
    • succeeded Link icon

      protected void succeeded()
      Overrides:
      succeeded in class javafx.concurrent.Task<Double>
    • cancelled Link icon

      protected void cancelled()
      Overrides:
      cancelled in class javafx.concurrent.Task<Double>
    • failed Link icon

      protected void failed()
      Overrides:
      failed in class javafx.concurrent.Task<Double>
    • getCurrentCount Link icon

      public int getCurrentCount()
    • setCurrentCount Link icon

      public void setCurrentCount(int currentCount)