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

    Properties inherited from class javafx.concurrent.Task

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

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

    Future.State

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

    javafx.concurrent.Worker.State
  • Constructor Summary

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

    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

    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

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

    Methods inherited from class java.lang.Object

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

  • Method Details

    • call

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

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

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

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

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

      public int getCurrentCount()
    • setCurrentCount

      public void setCurrentCount(int currentCount)