Class FxDiagramRouter<T extends Entity>

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.concurrent.Future<java.lang.Void>, java.util.concurrent.RunnableFuture<java.lang.Void>, javafx.concurrent.Worker<java.lang.Void>, javafx.event.EventTarget

    public class FxDiagramRouter<T extends Entity>
    extends javafx.concurrent.Task<java.lang.Void>
    • Nested Class Summary

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

        javafx.concurrent.Worker.State
    • Constructor Summary

      Constructors 
      Constructor Description
      FxDiagramRouter​(com.wisecoders.dbs.diagram.fx.FxAbstractDiagramPane<T> abstractDiagramPane, Diagram<T> diagram)
      Do the routing asynchronous.
      FxDiagramRouter​(Diagram<T> diagram)
      Do the routing synchronous.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Void call()  
      protected void succeeded()  
      • Methods inherited from class javafx.concurrent.Task

        addEventFilter, addEventHandler, buildEventDispatchChain, cancel, cancel, cancelled, exceptionProperty, failed, 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, get, get, isCancelled, isDone, run, runAndReset, set, setException, toString
      • Methods inherited from class java.lang.Object

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

      • FxDiagramRouter

        public FxDiagramRouter​(com.wisecoders.dbs.diagram.fx.FxAbstractDiagramPane<T> abstractDiagramPane,
                               Diagram<T> diagram)
        Do the routing asynchronous. Repaint the diagramPane when is done.
        Parameters:
        abstractDiagramPane - to repaint
        diagram - to route
      • FxDiagramRouter

        public FxDiagramRouter​(Diagram<T> diagram)
        Do the routing synchronous.
        Parameters:
        diagram - to route
    • Method Detail

      • call

        protected java.lang.Void call()
                               throws java.lang.Exception
        Specified by:
        call in class javafx.concurrent.Task<java.lang.Void>
        Throws:
        java.lang.Exception
      • succeeded

        protected void succeeded()
        Overrides:
        succeeded in class javafx.concurrent.Task<java.lang.Void>