nxceestiViewAndControl
Class NXCEestiView.LoadFileTask

java.lang.Object
  extended by org.jdesktop.swingworker.SwingWorker<T,V>
      extended by org.jdesktop.application.Task<java.lang.String,java.lang.Void>
          extended by classes.LoadNXCFileTask
              extended by nxceestiViewAndControl.NXCEestiView.LoadFileTask
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.String>
Enclosing class:
NXCEestiView

private class NXCEestiView.LoadFileTask
extends LoadNXCFileTask

Faili laadimine


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.application.Task
org.jdesktop.application.Task.BlockingScope, org.jdesktop.application.Task.InputBlocker
 
Nested classes/interfaces inherited from class org.jdesktop.swingworker.SwingWorker
org.jdesktop.swingworker.SwingWorker.StateValue
 
Constructor Summary
NXCEestiView.LoadFileTask(java.io.File file)
           
 
Method Summary
protected  void failed(java.lang.Throwable e)
          Faili laadimine ebaõnnestus
protected  void succeeded(java.lang.String fileContents)
          Faili laadimine õnnestus
 
Methods inherited from class classes.LoadNXCFileTask
doInBackground, getFile
 
Methods inherited from class org.jdesktop.application.Task
addTaskListener, cancelled, done, finished, getApplication, getContext, getDescription, getExecutionDuration, getInputBlocker, getMessage, getMessageDuration, getResourceMap, getTaskListeners, getTaskService, getTitle, getUserCanCancel, interrupted, isPending, isProgressPropertyValid, isStarted, message, process, removeTaskListener, resourceName, setDescription, setInputBlocker, setMessage, setProgress, setProgress, setProgress, setTitle, setUserCanCancel
 
Methods inherited from class org.jdesktop.swingworker.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NXCEestiView.LoadFileTask

NXCEestiView.LoadFileTask(java.io.File file)
Method Detail

succeeded

protected void succeeded(java.lang.String fileContents)
Faili laadimine õnnestus

Overrides:
succeeded in class org.jdesktop.application.Task<java.lang.String,java.lang.Void>
Parameters:
fileContents -

failed

protected void failed(java.lang.Throwable e)
Faili laadimine ebaõnnestus

Overrides:
failed in class org.jdesktop.application.Task<java.lang.String,java.lang.Void>
Parameters:
e -